Paypal returns no data after payment execute, GET parameters are missing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, we are using API Version 1, realized with PHP and curl in 2018. Since several months we have increasing problems when paying with Paypal. Some (not all!) of our customers can't complete the payment process. The redirect after the payment seems to be broken.
We submit the following data:
{ "intent":"sale", "redirect_urls":{ "return_url":"https://www.url.de/mein-kauf.php?action=paypalReturn&id_order=37855&teeshop_token=6ef565b68a184fe45..., "cancel_url":"https://www.url.de/mein-kauf.php?action=paypalCancel&id_order=37855" }, "payer":{ "payment_method":"paypal" }, "application_context":{}, "transactions":[ { "amount":{ "total":"7.9", "currency":"EUR" }, "description":"Ihre Bestellung im Teeshop vom 04.09.2019" } ] }
Normally the customer will be redirected to the return_url. The GET-parameters should look like this:
{"action":"paypalReturn","id_order":"37855","teeshop_token":"6ef565b68a184fe45840aa7a2c8c32cf","paymentId":"PAYID-LVXZD7I6FM410653G868245L","token":"EC-9UG40335LH390194N","PayerID":"B8AL73KCJSXYZ"}
But in most cases the GET-Parameters are not set and we receive no curl or paypal errors.
Any ideas how to solve the problem? THX!
- Labels:
-
Payments REST APIs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Found this:
https://www.paypal-status.com/maintenance/production
Will this solve our problems? Please, say yes 🙏
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Paypal payments are working now. We haven't changed anything. The problem seems to be solved.
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Encrypted subscription button has stopped working in NVP/SOAP APIs
- payments in javascript with custom button in SDKs
- Questions about how to securely notify servers using JavaScript SDK in PayPal Payments Standard
- Payment.Execute "TRANSACTION_REFUSED" - Sandbox tests successful but LIVE in REST APIs
- Best Way To Integrate PayPal In A C# Website? in SDKs