Not receiving payer.email_address on PAYMENT.SALE.COMPLETED WebHook
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My issue is exactly the same as this one: https://stackoverflow.com/questions/51690161/paypal-rest-api-how-can-i-get-email-address-returned-in...
When a transaction is completed/payment successful, I need to receive a webhook that tells me how much was paid and the payer's information (email address). I need the email address because I generate a serial key and bind it to the payer's email address.
When I test the "CHECKOUT.ORDER.COMPLETED" webhook, it's perfect, I get all the information I need. However, "CHECKOUT.ORDER.COMPLETED" does NOT get triggered on the sandbox. I log in as the test user, pay with credit card or paypal balance, the transaction complete, yet I receive NO "CHECKOUT.ORDER.COMPLETED" webhook.
When I bind "PAYMENT.SALE.COMPLETED" webhook, I do receive that after the transaction completes, however "PAYMENT.SALE.COMPLETED" does NOT provide the email address of the payer.
What can I do here? Is this a bug in sandbox that I'm not receiving "CHECKOUT.ORDER.COMPLETED" webhook?
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Connecting with site to take payments in Payflow
- How can I integrate PayPal to enable direct tipping features between users on a content platform? in REST APIs
- Issue with Rendering Trustly Payment Button via PayPal JavaScript SDK in SDKs
- Receiving a PAYMENT.SALE.COMPLETED webhook notification - how can I trace the parent Subscription in REST APIs
- [UNPROCESSABLE_ENTITY], but payment went through in PayPal Payments Standard