How do I get data back from PayPal once the transaction is complete?

rdaughdril
New Community Member

When my client pays via PayPal. How do I receive that the payment was complete and how much they paid on my web page other than looking it up on the PayPal website? 

Login to Me Too
1 REPLY 1

MTS_Chiranjeevi
Moderator
Moderator

Good day @rdaughdril,

 

Thank you for posting to the PayPal community.

 

Yes, you can able to achieve this requirement using the payment notifications service

I request to please contact your website developer or the support of third party eCommerce platform to refer below guide links to implement payment notification service. 

  • If your website is built via NVP/SOAP API integration, please use the Instant Payment Notification(IPN) service to get the payment notifications.

           Guide link - https://developer.paypal.com/api/nvp-soap/ipn/ 

 

  • If your website is built via REST API integration, please use Webhooks event notification to get the payment notifications.

             Guide link -  https://developer.paypal.com/api/rest/webhooks/ 

You can retrieve the transaction payload from the PayPal notification service and update your internal database. 

 

Sincerely,

Chiranjeevi

PayPal/Braintree MTS

 

If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

Login to Me Too

Haven't Found your Answer?

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