cancel
Showing results for 
Search instead for 
Did you mean: 

Paypal returns no data after payment execute, GET parameters are missing

Contributor

Paypal returns no data after payment execute, GET parameters are missing

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!

2 REPLIES 2
Contributor

Re: Paypal returns no data after payment execute, GET parameters are missing

Found this:

https://www.paypal-status.com/maintenance/production

 

Will this solve our problems? Please, say yes 🙏

Contributor

Re: Paypal returns no data after payment execute, GET parameters are missing

Paypal payments are working now. We haven't changed anything. The problem seems to be solved.