Custom Shopping Cart Text Box Code No Longer Works
kwerty
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Oct-13-2023
03:55 PM
I designed a site for a client some time ago and it's still in use. The client wanted a text box that would allow visitors to add a custom shopping cart item (and price) that wasn't listed on the site. When a visitor hit the submit button, it would then add the item to their cart. Code for the box is:
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="add" value="1">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="seller email">
<input type="hidden" name="item_name" value="Add_Item">
<span class="style1">Item Description:</span>
<input name="item_name" type="text" value="" size="42" maxlength="70">
<span class="style1">Amount: $</span>
<input name="amount" type="text" value="" size="4" maxlength="7">
<input type="submit" value="Submit"><p>
</form>
This has worked perfectly for years, but recently visitors submitting an item only ever see an error message from PayPal indicating that "things don't appear to be working at the moment".
How can I fix this?
Thanks.
Labels:
- Labels:
-
Carts
-
PayPal HTML 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
- Chinese customer can no longer use his UnionPay card since switching to BigCommerce in PayPal Payments Standard
- PayPal no longer shows me custom requests from buyers in PayPal Payments Standard
- How to let customers connect their PayPal account to my own shop system in SDKs
- Filling out the Virtual Terminal form without hand typing? in PayPal Payments Standard