PayPal error when one item quantity is 0
Pearcy99
New Community Member
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Feb-17-2019
06:35 PM
I am trying to implement a solution that sends multiple items and their quantities to PayPal on the button click.
I have two items, and this works fine if there is at least one of each item in the cart, but if one is 0, then it fails with the message "Things don't appear to be working at the moment. Please try again later."
Any ideas what I'm doing wrong here?
<form action="https://www.paypal.com/cgi-bin/webscr" method="POST"> <input name="cmd" type="hidden" value="_cart" /> <input name="business" type="hidden" value="ouremailaddress" /> <input name="upload" type="hidden" value="1" /> <input name="item_name_1" type="hidden" value="Gala Tickets - $75 per person" /> <input name="amount_1" type="hidden" value="75.00" /> <strong>Gala Tickets - $75 per person</strong> Quantity: <input type="number" max="99" min="0" name="quantity_1" value="0" /> <input name="item_name_2" type="hidden" value="Sponsor A Staff Member - $40" /> <input name="amount_2" type="hidden" value="40.00" /> <strong>Sponsor A Staff Member - $40</strong> Quantity: <input type="number" max="99" min="0" name="quantity_2" value="0" /> <input alt="Check out with PayPal" src="https://www.paypalobjects.com/webstatic/en_US/i/buttons/checkout-logo-medium.png" type="image" /> </form>
Labels:
- Labels:
-
PayPal Buttons
0 REPLIES 0
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- Invalid vendor account error in Merchant Products and Services Archives
- Buyers having a billing address in India cannot use PayPal to make payments in Merchant Products and Services Archives
- PayPal subscriptions have stopped working. Error on PayPal's site in Merchant Products and Services Archives
- Paypal button issue on my web in Merchant Products and Services Archives
- paypal shipping won't accept payment in Business Tools Archives