PayPal throws an error when submitting Buy Now Form with "item_name" field in Sandbox
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am submitting the following form for a buynow transaction:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I copied your code and modified the business value to one of my valid Sandbox Emails and was able to use the code with no issues.
<input name="business" value="yourvalidemail@email.com" type="hidden">
I also updated the Item name just in case as well:
<input name="item_name" value="My Pen" type="hidden">
Ensure that the business value is a valid Sandbox Email address, and when adding the item_name ensure that the item_name is not greater than 127 characters.
Thank you,
Jennifer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I came back the next morning and re-ran the transaction scripts...without any changes everything processed correctly. The real issue here is the glitchey PayPal sandbox environment. I have had more then one occasion where the Sandbox will just decide to either stop accepting IPN requests or start to throw errors for perfectly good transactions. In this situation I wasted a few hours trying to run down this non-error.
My only option is to start steering clients away from using PayPal or simply charge more for the anticipated wasted time during development when a client insists on using PayPal.

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Sandbox account collect billing and shipping address in Sandbox Environment
- "System error. Please try again later" when connecting to paypal sandbox account with my android app in Sandbox Environment
- NOT ENABLED TO VAULT PAYMENT SOURCE in Sandbox Environment
- p is not a function error using the example downloaded from Paypal in SDKs
- Not receiving any confirmation emails for sandbox account in Sandbox Environment