Support

Home Forums Event Espresso Premium Paypal Commerce Issue

Paypal Commerce Issue

Posted: October 31, 2024 at 6:56 am

Viewing 10 reply threads


PCAPalmetto

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.
Failed Transaction
Successful Transaction
Front end error


PCAPalmetto

October 31, 2024 at 7:21 am

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.


Tony

  • Support Staff

October 31, 2024 at 8:27 am

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?


PCAPalmetto

October 31, 2024 at 9:18 am

I’m using the advanced editor.
https://snipboard.io/LGf0oU.jpg


Tony

  • Support Staff

November 1, 2024 at 6:06 am

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.


PCAPalmetto

November 1, 2024 at 7:15 am

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


Tony

  • Support Staff

November 1, 2024 at 7:35 am

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).


PCAPalmetto

November 1, 2024 at 7:46 am

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.


Tony

  • Support Staff

November 1, 2024 at 7:54 am

That was a screenshot from the logs section of the bad transaction.

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:

https://monosnap.com/file/JQcnh0VdBVmaOEnDqFmcmfPZ8bp2wk


Tony

  • Support Staff

November 1, 2024 at 7:56 am

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.

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


PCAPalmetto

November 1, 2024 at 8:26 am

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.

Viewing 10 reply threads

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

Event Espresso