PHP SDK: How to get customer name and email from webhook sale event?

kangarko
New Community Member

I am listening for webhook notification about a new sale. This is the data I am getting: https://pastebin.com/jfAbi2e9

I want to get the customers name and email. When I try to get the sale by the ID but I am getting just the sale data and I don't see the customer's name and email.

 

My code:

OZsW7Cm

 

How can I get this + his email please?

t4x0Tew

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.