cancel
Showing results for 
Search instead for 
Did you mean: 

Not receiving payer.email_address on PAYMENT.SALE.COMPLETED WebHook

Member

Not receiving payer.email_address on PAYMENT.SALE.COMPLETED WebHook

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?