× Questions about Payment Form extension

Field that adds a percentage

  • Christopher Malley
  • Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
More
3 months 2 weeks ago #124038 by Christopher Malley
Field that adds a percentage was created by Christopher Malley
Hi,

We want to charge an additional 3% to businesses that are paying an invoice online with a credit card.

I want to set up a field that asks "Are you paying an Invoice?" If they choose yes, then 3% is added to the total due.

How should I set up this field?

Please Log in or Create an account to join the conversation.

More
3 months 2 weeks ago #124044 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Field that adds a percentage
Hi Christopher

Unfortunately, we don't support custom fee field with fee value calculated by percent

Maybe you can configure it using payment processing fee directly in payment method parameter (you can configure it by percent or by fixed amount). Look at os_paypal payment plugin for example to see that parameter

Tuan

Please Log in or Create an account to join the conversation.

  • Christopher Malley
  • Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
More
3 months 1 week ago #124095 by Christopher Malley
Replied by Christopher Malley on topic Field that adds a percentage
Configuring it at the payment level would not work as we only charge for invoices. Other payments are not charged the percentage.

Could this be a future feature?

Please Log in or Create an account to join the conversation.

More
3 months 1 week ago #124096 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Field that adds a percentage
Honestly, this is something quite difficult to add support for (since Payment Form support multiple fee fields, the fee fields itself will affect total payment fee, so no easy way for the system to get the amount which it needs to use to calculate by percent)

I will try to find a solution but this won't be available in near future

Regards,

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc