Posted: September 22, 2023 at 6:03 am
I am trying to upgrade from PayPal Express to PayPal Commerce and I am getting an error “Expected an order id to be passed” when trying to pay. After that it is the showing and Invalid string length error which is below also. Do you know what would be causing this? Got an error response (AJAX): There was an error with this payment. See the logs for details.; Error: Expected an order id to be passed name INVALID_REQUEST |
|
Hi there, Can you link me to an event I can run a test registration on, please? |
|
This reply has been marked as private. | |
This reply has been marked as private. | |
Hmm, so the problem is there are rouge characters on the Ajax request sent to pull in the order_id from PayPal and those don’t belong within the request, which then breaks the request to PayPal. The problem is I can’t see where they are coming from currently and the details I logged previously don’t help. The event has now been password protected, can you post the password so I can run some more tests, please? |
|
Tony, The password is test123 Thanks, |
|
Thank you, can I take a look in the admin so I can review the payment logs? If that’s ok can you send temp login details over using this form: https://eventespresso.com/send-login-details/ I may need to add some debug code to the site to narrow this down some more so if you have FTP credentials (and your ok sending them over) please include those within the form. |
|
The support post ‘PayPal Commerce – Expected an order id to be passed’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.