Issue with passing items in item_list
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have 90 % of my shopping cart functioning. My notification IPN data is posting to my database. The URL Redirect are processing correct.
The only thing I"m still unable to resolve is passing the item details of the products. Paypal express refuses to process any sandbox orders when I add the item array to the item_list object.
The below json snippet works perfect until I uncomment the items: section (in bold below) - I've tried that line with single quotes , double quotes and every other variations I could think of to no avai. Any suggestions would be appreciated. Thank you in advance.
transactions: [ {
amount: { total: '0.01', currency: 'USD' },
item_list: {
// items: [{name: 'product name', description: 'the the', quantity: '1', price: '1.00', tax: '0.00', sku: 'the', currency: 'USD' }]
},
"description": "My Product info",
"custom": '<%= HiddenFieldorderguid.Value %>',
} ],
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- How do you dynamically pass an item name through an 'add to cart' button? in Sandbox Environment
- Payee account is invalid issue in REST APIs
- Url () is not a fully qualified URL in REST APIs
- Pass an array of items to purchase_units in REST APIs
- Paypal payout api : Currency is not supported issue #payout api #INR in Payflow