Support

Home Forums Event Espresso Premium PayPal Commerce error. Gateway Response “missing_order”

PayPal Commerce error. Gateway Response “missing_order”

Posted: December 16, 2024 at 3:46 pm

Viewing 5 reply threads


Andrea Monti

December 16, 2024 at 3:46 pm

Hello. On Nov 6, we changed the payment method from PayPal Standard to PayPal Commerce as indicated.
Attendees were registering with no problems until Nov 29. On that day we created a Black Friday discount code. When people started trying to register using that code 8 of 10 transactions couldn’t be completed showing Gateway Response “missing_order”. Those attendees contacted us, we switched back to PayPal standard and problem solved. We know we have to stop using PayPal Standard bu we do not know how to fix the problem with PayPal Commerce. Please advise ASAP. Thank you very much.
WordPress 6.7.1 running Vantage theme.
Event Espresso 5.0.31.p


Tony

  • Support Staff

December 16, 2024 at 4:30 pm

Hi there,

Take a look in Event Espresso -> Payment methods.

At the top of the list table you’ll see a logs tab, click that.

Now you’ll see log entries for your EE Transactions.

Find a transaction this happened on in that table (the TXN ID is on the right), click on the log ID to the left for the log entries for that transaction, do you see any errors there?

I’m guessing you’ll see an ‘invalid_string_length’ error but we need to confirm.

Also go to Event Espresso -> Maintenance -> System information.

Search that page for ‘serialize precision’, what value does it show?


Andrea Monti

December 17, 2024 at 4:11 am

Thanks for your fast answer. Gateway Logs Lifespan is set to 7 days so, all those transaction logs are lost. Searching my browser history, I found I was inquiring about “NOT_AUTHORIZED
Authorization failed due to insufficient permissions.
PERMISSION_DENIED: You do not have permission to access or perform operations on this resource.”
Froms System Information:
serialize precision ( 3 )
access
7
global value
100
local value
100


Tony

  • Support Staff

December 17, 2024 at 4:18 am

serialize precision of 100 is most likely causing this. That value (and how it is applied) changed in PHP7, the default values used to be -1.

It means that float values (decimals) are represented to a more precise value, so 10.99 would be show as something like 10.9876345242443

PayPal only accepts 2 decimal places so when that happens it throws an invalid string length error.

Change serialize_precision to be -1, your host will usually have section for setting PHP options and it often includes the above setting. Then retest PayPal Commerce and see if you get errors, if so, post up the log entry for them from above and I can investigate further.


Andrea Monti

December 17, 2024 at 9:04 pm

Thank you very much. I’ll ask somebody who knows how to do that, to edit the PHP setting for us. If new issues show up, I will contact you sooner, before the gateway logs get deleted ๐Ÿ™‚


Tony

  • Support Staff

December 18, 2024 at 2:32 am

Whilst you know there might be an issue, you could raise the log lifespan a little to give some more wiggle room.

Event Espresso -> Payment methods -> Settings -> Gateway Logs Lifespan

14 days gives you a little more space, or 30 for maximum effort ๐Ÿ™‚

Once PayPal Commerce is confirmed work just lower it down again if needed.

Viewing 5 reply threads

You must be logged in to reply to this support post. Sign In or Register for an Account

Event Espresso