Support

Home Forums Event Espresso Premium Promotion Code disrupts flow of ticket information from EE to Paypal

Promotion Code disrupts flow of ticket information from EE to Paypal

Posted: November 16, 2018 at 7:39 pm

Viewing 1 reply thread


Emily Ruff

November 16, 2018 at 7:39 pm

When registration information is transferred from EE4 to Paypal Pro in the payment process, the CSV export we access from Paypal includes a column that lists detailed ticket information. If multiple tickets are included in a single purchase (ie. registration, cabin, and early entry pass), each item is listed with a slash in between. However, when a user redeems a promotion code with their purchase, this field only lists “Registration”. This creates a substantial headache for our bookkeeper. Any workarounds we may be overlooking to ensure EE data is transferred seamlessly to Paypal? Site reference- floridaherbalconference.org


Josh

  • Support Staff

November 19, 2018 at 10:03 am

Hi,

Here’s a workaround that works with the way EE4 changes the line items when there’s a promotion code:

https://gist.github.com/joshfeck/70f3b1311c85b417aa73f501f69e8b6f

You can add the above to a functions plugin. Then you activate the plugin.

What the code will do is get all the line items and build a comma separated list, attempt to make that fit within the 127 character limit set by PayPal, then send as the l_name parameter.

Viewing 1 reply thread

The support post ‘Promotion Code disrupts flow of ticket information from EE to Paypal’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso