Support

Home Forums Event Espresso Premium Add convenience fee for credit card

Add convenience fee for credit card

Posted: December 6, 2016 at 9:42 am


jstokesok

December 6, 2016 at 9:42 am

I have created a plugin using the script found here:
https://github.com/eventespresso/ee-code-snippet-library/blob/master/checkout/bc_add_cart_modifier.php

The 3% is being added to the total when using credit card. However, it is not quite complete.

1. It is not being displayed as a line item when user choses credit card as payment.
2. It is adding the 3% surcharge. but it is not charging it during the checkout process. Which is leaving an unpaid balance on the user registration.

I am missing a step here I just can’t figure out what it is. You help is greatly appreciated!


Josh

  • Support Staff

December 9, 2016 at 10:04 am

Hi there,

That particular is intended to be used to add a fee for those that choose to pay later from an invoice. It’s not intended to be used for adding a fee if a credit is used to pay now. You could try building on this other snippet that allows adding a transaction surcharge:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/checkout/bc_ee_apply_transaction_surcharge.php

The support post ‘Add convenience fee for credit card’ 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