CODE:
I’ve taken the snippet and added it to a plugin called Event Espresso – Product Surcharge. I can tell the code is running because when this plugin is active I see additional lines on the payment summary page.
MODIFICATIONS:
The only changes I’ve made to bc_ee_add_product_surcharge.php is…
UNEXPECTED RESULT:
On the payment page there is a new line below the ticket selected:
Line Item: John Doe $0.00 252 $0.00
The new line does not have correct data.
I’ll send login details via premium support request.
There was actually some debug code that managed to get left in by mistake, and that’s been fixed in the snippet just now. Here’s a link to the line number that got fixed:
The support post ‘Product Surcharge Snippet’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.