Solved

Add Shipping to PayPal Payment from HTML Form

Posted on 2014-04-30
1
302 Views
Last Modified: 2016-03-24
How can the code below be modified so that $10.00 is added for shipping?
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="item_name_1" value="beach ball">
<input type="hidden" name="amount_1" value="9.95">
<input type="hidden" name="item_name_2" value="towel">
<input type="hidden" name="amount_2" value="7.65">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="upload" value="1">
<input type="hidden" name="business" value="sales@hostgator.com">
<input type="hidden" name="currency_code" value="US">
<input type="submit" value="Pay with PayPal" />
</form>

Open in new window

0
Comment
Question by:hankknight
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 33

Accepted Solution

by:
Big Monty earned 500 total points
ID: 40032191
add this to your list of hidden variables:

<input type="hidden" name="shipping" value="10.00">
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remaiā€¦
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
Suggested Courses

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question