RicardO
RicardO

Reputation: 1229

get payer infos after successful payment on paypal

I created a paypal checkout. after successful purchase. is there a way to get the client's info from paypal? ex. Name Address County Town Phone number etc.

I only have a checkout button. then they will automatically redirected to paypal but then I need to save the client's info to my database.

Thanks.

Upvotes: 4

Views: 2579

Answers (1)

BradBrening
BradBrening

Reputation: 5518

Have you looked into the Instant Payment Notification option? I've used this with great success in the past, after the customer has placed the order PayPal will send a notification script that you specify which contains all the transaction details - including the customer information.

Link: https://www.paypal.com/ipn

Upvotes: 3

Related Questions