Sandbox Test Notifications - Missing Item Descriptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I'm testing my client-side REST API setup using sandbox accounts. It's all working except the notification emails don't mention the item descriptions anywhere. These are crucial as they include the purchase options. Does anyone know how to enable this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you provide a screenshot of the notification and a copy of the API request you submitted so that I can review them ?
Was my post helpful? If so, please give me a kudos!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please see below, the item "description" information doesn't appear anywhere on the notification.
Thanks
paypal.Button.render({
env: 'sandbox', // Or 'production',
client: {
// create IDs here: https://developer.paypal.com/developer/applications/create
sandbox: '----',
production: 'xxxxxxxxx'
},
style: {
size: 'responsive',
color: 'gold',
shape: 'rect',
label: 'checkout'
},
commit: true, // Show a 'Pay Now' button
payment: function(data, actions) {
return actions.payment.create({
"intent": "sale",
"payer": {
"payment_method": "paypal"
},
payment: {
transactions: [
{
amount: {
total: '<?=$total?>',
currency: 'GBP',
details: {
subtotal: "<?=$total-$shipping_total?>",
shipping: '<?=$shipping_total?>'
}
},
"description": "Brace Pimp Checkout",
"payment_options": {
"allowed_payment_method": "INSTANT_FUNDING_SOURCE"
},
"item_list": {
"items": [
{
"name": "CI Knee Brace | Bubbles",
"description": "Size: Large | Measurements: 1in, 2in, 3in",
"quantity": "1",
"price": "3"
}
]
} // item list
}
], // transactions
"redirect_urls": {
"return_url": "",
"cancel_url": ""
}
}, // payment
commit: true // Optional: show a 'Pay Now' button in the checkout flow
});
}, // payment: function(data, actions)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apologies for the delay in responding, I was out of the office on holidays.
You mentioned the item descriptions weren't provided in the email notification. Which REST API variable did you use to pass the item description and can you provide a REST transaction id which I can review to see which details were recorded when the transaction was processed ?
Was my post helpful? If so, please give me a kudos!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have a transaction ID of 18P83298Y4657052D
The item data is being sent in the format of the example on the API Docs:
"items": [
{
"name": "hat",
"description": "Brown hat.",
"quantity": "5",
"price": "3",
"tax": "0.01",
"sku": "1",
"currency": "USD"
},
{
"name": "handbag",
"description": "Black handbag.",
"quantity": "1",
"price": "15",
"tax": "0.02",
"sku": "product34",
"currency": "USD"
}
],
The text in the 'description' field is "Left Leg | 1in, 2in, 3in | Standard | OPTIONS: Knee Guard, White Badge"
however this does not appear anywhere in the "Order Details" section of the "Transaction Details" page or in the confirmation email.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please check the transaction id again and ensure it is for the sandbox environment or provide an alternative sandbox transaction id.
Was my post helpful? If so, please give me a kudos!
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Something Similar to Paypal IPN for Payments Sent? in NVP/SOAP APIs
- Need help with first webhook in Sandbox Environment
- Notifications from old subscriptions to new REST app in REST APIs
- Instant Payment Notifications not being sent for recurring subscription payments? in PayPal Reporting
- Webhook ACTIVATE.SUBSCRIPTION missing Agreement ID in Sandbox in REST APIs