Payment provider transaction fee

Question:
How to add Transaction fee to the Payment Provider Service Plugin?

Product:
Wix Editor

What are you trying to achieve:
I’m adding a custom payment provider service plugin to my client’s site. The payment processing service I am using charges a transaction fee, which I need to show in the wix checkout and receipt.

What have you already tried:
I tried using the Additional Fees plugin, but I was not able to get the payment provider the user has selected on his checkout to make a condition to add the additional fees.

Strange, you should be able to get the payment provider from the either the order Object or the Checkout object during the process. It might be when you’re selecting it, but I would listen for the eCom_onCheckoutUpdated (I think that’s what it was called) event in events.js to see which payment method they’re using.

1 Like

Any success with posting this
?

very sad to see there is no answer from anyone from wix if the community can not help out. for e-commerce i would recommend shopify. they have all functions you will need.