IPN Messages has payment_status=completed & pending_reason=authorization at the same time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Whenever a new payment is completed I would like to send my user some information.
The process is as follows:
1. User receive a link to authorize a payment.
2. When authorized, redirected to my approve_url.
3. My backend executes the payment and capture the funds.
4. Third party server will be notified about the completed payment via IPN message.
The problem is, whenever a user authorize a payment, the third party server receive an IPN message with payment_status=completed&pending_reason=authorization. This is in complete contrast to what Paypal's documentation says.
That pending_reason will be null unless payment_status=pending.
This situation make the third party server process the same "completed" payment twice and causes problems with duplicate entries.
I can not modify the third party processing of the IPN message, They execute whenever the payment_status=completed, regardless of pending_reason has value or not.
Is this a bug? Any solution?
Thanks
Yarin
- Labels:
-
Payments REST APIs
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Get error message "Someting went wrong" when the sandbox account tap "Agree and Connect" button. in Sandbox Environment
- Change the button from Sandbox to Production in REST APIs
- Paypal 4X credit : translated message & currency error in PayPal Payments Standard
- Security header is not valid error message in woo commerce in NVP/SOAP APIs
- How do I fix this error message: failed to load the PayPal JS SDK script. in SDKs