Posted: December 16, 2024 at 3:46 pm
Hello. On Nov 6, we changed the payment method from PayPal Standard to PayPal Commerce as indicated. |
|
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? |
|
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 |
|
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 |
|
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 ๐ |
|
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. |
|
You must be logged in to reply to this support post. Sign In or Register for an Account