cancel
Showing results for 
Search instead for 
Did you mean: 

Paypal express checkout - Invalid Order Url

New Community Member

Paypal express checkout - Invalid Order Url

Hello. We have multiple issues on production and sandbox environments where when we send a payment request via express checkout.
PayPal/Type/DoExpressCheckoutPaymentRequestDetailsType.php in this file we set the OrderUrl property which is formatted like this:

'OrderURL' => 'https://www.website.com/index.php?&page=myorder&action=view&order_id=ORDER123123&email=emailaddress'



The issue is that requests are being denied with error message:

"ShortMessage":"Transaction refused because of an invalid argument. See additional error messages for details.",
"LongMessage":"Invalid Order URL.",
"ErrorCode":"11820" 



This started happening on Thursday, April 30 2020. My question is how should we proceed? I could not find any info regarding this property anywhere in the docs.
I've managed to make a successful request by removing the OrderUrl property from the class PayPal/Type/DoExpressCheckoutPaymentRequestDetailsType.php but this is some wild guess and I would like to get some details about this issue. 

NOTE: If the transaction we are trying to make is 'charge' the charge is done in paypal, but since error message for that order url is returned, we do not place order on our end which leads to even more issues.

We are using the legacy PHP SDK.

Let me know if full request/response is needed. 

1 REPLY 1
PayPal Employee

Re: Paypal express checkout - Invalid Order Url

Hi @dev_ecom,

 

Thank you for contacting PayPal community.

 

We apologize for any inconvenience.

 

Unfortunately, there is no such property "OrderURL" currently available. I request to please remove the property and process the payments.

 

Please follow the instructions provide in the guide link.

 

Sincerely,

Chiranjeevi