Paypal display |
Paypal display |
Louffeman |
Sep 13 2014, 03:04 AM
Post
#1
|
Member Group: Members Posts: 69 Joined: 21-June 14 Member No.: 21,123 |
Hi,
My paypal display has some problems, I have serverals items, but this Paypal script can only show 1 item( which calculate the quantity, price and amount) but not another items, it trait only the last item, do anyone can tell me the cause ? <form action="https://www.paypal.com/fr/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_xclick"> <input type="hidden" name="business" value="mymail@yahoo.fr"> <input type="hidden" name="item_name" value="<?php print $produit['name'] ?>"> <input type="hidden" name="quantity" value="<?php print $produit['quantity'] ?> "> <input type="hidden" name="currency_code" value="EUR"> <input type="hidden" name="amount" value="<?php print $produit['price'] ?>"> <input type="image" src="http://www.paypal.com/fr_FR/i/btn/x-click-but01.gif" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"> </form> |
Christian J |
Sep 13 2014, 03:47 AM
Post
#2
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
Do you mean the PHP script doesn't work, or that the resulting HTML form doesn't work when you post it to Paypal?
|
Louffeman |
Sep 13 2014, 04:34 AM
Post
#3
|
Member Group: Members Posts: 69 Joined: 21-June 14 Member No.: 21,123 |
Do you mean the PHP script doesn't work, or that the resulting HTML form doesn't work when you post it to Paypal? my script works, but only the last product, not another products, for ex. I have 3 products to buy, my script shows the 3 products, price, quantity in my computer, when I pass it to Paypal, Paypal calculates only the last one, |
Christian J |
Sep 13 2014, 09:10 AM
Post
#4
|
. Group: WDG Moderators Posts: 9,656 Joined: 10-August 06 Member No.: 7 |
Can Paypal even handle more than one purchase at the time? If not, you must calculate the total price on your own site before submitting it to Paypal.
|
Louffeman |
Sep 13 2014, 09:52 AM
Post
#5
|
Member Group: Members Posts: 69 Joined: 21-June 14 Member No.: 21,123 |
|
Lo-Fi Version | Time is now: 24th April 2024 - 10:38 PM |