Posted: October 31, 2024 at 6:56 am
I’m noticing some issues now that users are really starting to use the system. Some users are getting Error response received: Payment could not be captured! On the back end in the transactions it shows CART » PayPal Commerce Free missing_order. Also on successful transactions, I show two items CART » PayPal Commerce Free with no Gateway Response, and a second line items for the actual paid item CART » PayPal Commerce $30.00 Successful payment. Not sure why there is that free item in there when the ticket isn’t free. The main problem is the failed ones with missing order. |
|
I removed the Percent Surcharge and Dollar Surcharge and asked the users to try again and it’s working for them, so seems to be related? We had successful registrations with that on the ticket though. |
|
Hi there, When you set up the ticket price, did you use the Advanced or Legacy Editor? https://eventespresso.com/wiki/new-advanced-event-editor/ Can you add a screenshot of the price setup for the ticket in your Front End error screenshot? |
|
I’m using the advanced editor. |
|
I’ve spent some time trying to reproduce this, but so far I’ve been unable to. Matching your ticket price I’m not getting any errors when paying with PayPal. Your site currently only has advanced card payment fields enabled (no PayPal button), was that always the case or did the previous payments have the option of using the PayPal Express buttons? The reason I ask payments showing ‘missing order id’ happen usually happen with Express checkout. The way checkout works is when you select the PayPal Checkut payment method it sends off a request to PayPal to create an order with the details of the payment, that returns an order_id which is then used for whichever payment type the users uses. A missing order_id error means something happened on that request for PayPal not to return an order_id for EE to use. I’ve not seen that happen when using the Advanced card options but have seen it happen with Express. Inside the payment method logs (Event Espresso -> Payment Methods -> Logs) we log additional details returned for those requests. I you take a look in that section and find the logs for on of the transactions this happened to it may shed some like on what is happening here. There may be multiple log entries and I can’t tell you exactly what to look for as I don’t know what the error is, but if there are log entries that’s how we’ll find out what is happening here. If you prefer for me to look over those payment method logs in the admin just send temp login details over using this form: https://eventespresso.com/send-login-details/ Not that I’ll also need details of which transaction this happening to so I can take a look. |
|
I actually did initially have the express buttons on, then realized the buttons were costing 3.49% and the credit card was 1.99%. I can enable the percentages again and watch for failures. https://snipboard.io/wWxEMG.jpg Thanks |
|
Just checking I’m not missing something, but what’s that screenshot intended for? There is one difference here, you’re using the price modifier add-on to add an additional donation. Is it only happening for those who select to donate? I haven’t tested using the price modifier add-on but it adds additional line_items to the transaction to do what it does, those line_items need to be sent over to PayPal for commerce to work correctly and I’m wondering if the price modifier line_items arent (It means the total for the charge will not match the line items total which PayPal then rejects). |
|
That was a screenshot from the logs section of the bad transaction. I’m not sure if it is happening with only the donation. I actually do have a request into that add-ons developer, it’s adding the paid questions after the percentage is applied. So it’s adding those line items to the invoice in the wrong order, if I do a reload on the finalize page it reorders the list and applies the percentage properly. |
|
Oh, those aren’t the logs I’m referring to, those aren’t actually logs they are the line items, session details and payment objects within a transaction. Event Espresso -> Payment methods -> Logs (tab on the top) You’ll find multiple log entries for each transaction and they are only stored for 1 week by default. Find any entries for the TXN ID in question, click on the ID of the Log entry to view the full log entry for that row. It looks like this: |
|
This is starting to sound like the cause. If the order of line items is incorrect there then PPC (PayPal Commerce) may be getting that wrong order and not applying them. Can you send me a copy of the Price Modifier you are using? I’ll install it locally and see if that reproduces the issue |
|
Add ok, here is the error from the log. I will send you the add-on The requested action could not be performed, semantically incorrect, or failed business validation. |
|
I need all of the details from that log entry to know why that error is thrown. |
|
Sorry, here are all the details. ID 1119 missing_order |
|
This reply has been marked as private. | |
Thats all of the details for that transaction? No request/response data? Any other log entires before that one? There should be a log entry for the request/response to/from PayPal with a breakdown of the line items and details of the error thrown. The above looks like the request sent with no order id, so its the one before that to create the order_id which would throw the error. |
|
This reply has been marked as private. | |
This reply has been marked as private. | |
This reply has been marked as private. | |
This reply has been marked as private. | |
Yeah, I can reproduce this when line_items aren’t evenly divisible to 2 decimal places. There isn’t a quick fix for this as PayPal require a breakdown of line items and that breakdown must then match the total of the transaction. I’ll create a ticket for our developers to investigate this further. |
|
No problem, I have removed the Paypal option so I’m ok now. At least we were able to identify the bug. Thanks |
|
This reply has been marked as private. | |
You must be logged in to reply to this support post. Sign In or Register for an Account