Support

Home Forums Event Espresso Premium Add Surcharge Fee for Credit Card Transactions

Add Surcharge Fee for Credit Card Transactions

Posted: March 5, 2024 at 12:02 pm


NewEEUser

March 5, 2024 at 12:02 pm

1) We configured our event registration to apply a 3% surcharge for users purchasing a registration using a credit card.

2) We used the snippet example from this thread and when users select a credit card payment option, a 3% surcharge appears as a line item and is added to the transaction total.

https://eventespresso.com/topic/credit-card-fees/#:~:text=We%20do%20not%20currently%20have,that%20functionality%20to%20your%20website.

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

3) The problem is that the transaction total including the surcharge is not being passed to authorize.net and that the payment applied is only for the registration and not including the 3% surcharge.

4) Also, the transaction confirmation receipt shows a balance owed for the surcharge.

Please advise.


NewEEUser

March 5, 2024 at 5:09 pm

Have you been able to review this request?


Tony

  • Support Staff

March 6, 2024 at 3:57 am

Hi there,

Yes, I’ve been reviewing this, however, the snippet I referenced in the previous thread wasn’t intended to be used in the way you are trying to. I referenced it adding a surcharge line-item but it can’t just be switched out for a ‘online’ payment method.

The hook there doesn’t fire until after AIM would process the payment.

I’ve reached out to one of our developers on this and will let you know what feedback they can give.


NewEEUser

March 21, 2024 at 11:49 am

Do you have any feedback on this request from your dev team?

The support post ‘Add Surcharge Fee for Credit Card Transactions’ 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