IPN vs actions.payment.execute() result
daslicht
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Jul-31-2018
05:31 AM
Hello,
is it safe to ship a product once the actions.payment.execute().then(function() {...} in the onAutorize callback has been called or is it a 'better' idea to wait for the Instant Payment Notification ?
related:
https://developer.paypal.com/demo/checkout/#/pattern/confirm
Best regards Marc
2 REPLIES 2
daslicht
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug-01-2018
03:10 AM
Ok instead of opening another tread,
how about the serverside intergration :
http://paypal.github.io/PayPal-PHP-SDK/sample/doc/payments/ExecutePayment.html
I it safe to ship a product when the transaction complets successfully ?
It it as trustworthy as the IPN callback ?
daslicht
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug-09-2018
06:27 AM
Finally I got an aswer to my question via the Ticket System :
The "approved" state just means the buyer logged into their account and approved the payment. You still need to execute the payment request, which once you do check the "state" shown in the "related_resources" section and it should say "completed", which indicates the transaction amount has been captured. The "id" shown below is the transaction identifier.
"related_resources": [ { "sale": { "id": "6CP443382P136134L", "state": "completed", "amount": { "total": "7.47", "currency": "USD",
Hope that helps someone else and saves time waiting for an answer....

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- Django-paypal form is not showing "pay with credit or debit card" option in Braintree Server-side Integration (PHP, Java, .NET, Ruby, Python, NodeJS SDKs)
- Advanced checkout and no 3DS information in the response in REST APIs
- Are there any restrictions to charge using only html, vanilla javascript and php with rest api? in REST APIs
- Help Needed Persistent Result Code Errors (7, 126, 125) with Payflow Pro Account in Live Mode in Payflow
- Identification data for PayPal Express payments is required to integrate them into an API code in REST APIs