Support

Home Forums Event Espresso Premium IF customer chooses check option on checkout then changes to CC price broken Reply To: IF customer chooses check option on checkout then changes to CC price broken

Reply To: IF customer chooses check option on checkout then changes to CC price broken

Author Replies
Tony # Posted on May 17, 2018 at 4:19 am

They set two pricing options in the event for the customer to choose like:

$350 Payment by check
$360 payment by CC

Ok, so that’s 2 different ticket options within the event and EE has no way to know which payment method should be used for either, it just knows which payment methods are available for the event itself (not the tickets within that event).

There’s no way to change the ticket selection based on the payment method selected but what you can do tell EE to only show a check payment method if the ticket name contains the string ‘check’, you can do that using this example:

https://gist.github.com/Pebblo/c87f5bf42f18380fa6b218dbc5734a34

Add that to a custom functions plugin on your site and if the user selects a ticket that is named ‘Payment by check’ EE will only show a check payment method, otherwise it will show all payment methods.

Do NOT follow this link or you will be banned from the site!