Posted: December 10, 2024 at 12:13 pm
I have paypal commerce hooked up and it works fine but if you use a coupon code and try to pay it gives this error “Error response received: There was an error with this payment. See the logs for details.” I need this to work 🙂 |
|
Hi there, Can you please add some details on how the ticket pricing and promotion are both set up? |
|
Hi there, Can you provide the log information for these transactions? The payment logs are in Event Espresso > Payment Methods > Logs tab. |
|
In the logs under “Payment Details” >> “Gateway Response” it says “missing_order” |
|
The coupon is 15% off select events. There are 6 events selected for this promotion. |
|
What is the price structure of your tickets? For example, fixed value with any price modifiers? How much? I’m asking becuase I’m testing PayPal Commerce with Promotions and not running into issues so this could be related to whatever the line_item break down is for your specific set up. |
|
Fixed price with no modifiers. I created a new promotion for testing purposes and it still wouldn’t work. Not sure what the issue is |
|
Ok, so what price? Can you link me to one of the events you’ve tested this on?
These aren’t the correct logs, if you go to Event Espresso -> Payment Methods -> Logs (tabs across the top of the page). You’ll see a list of log entries related to payments, those are the log entries that will shed some light on this. Add a registration, use the 15% off promotion and test a payment. Then in the able above you should see log entries for your transaction, check for any errors in those. |
|
Here is one error: https://api-m.paypal.com/v2/checkout/orders/ |
|
Another log error: missing_order |
|
Ah, ok… I know what that error is likely from. You’re running into issues with ‘float’ values, which are decimals such as 169.15, and that usually means your version of PHP has its That means 169.15 is actually represented as something like 169.15476885475522 and PayPal only accept 2 decimal places so throws To confirm this go to Event Espresso -> Maintenance -> System information. Search for ‘serialize precision’ on that page, what is the value set to? I recommend setting it to be |
|
You must be logged in to reply to this support post. Sign In or Register for an Account