Questions about Payment Form extension

Field that adds a percentage

  • Christopher Malley
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
5 years 1 week 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
5 years 1 week 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
  • Premium Member
  • Premium Member
More
5 years 6 days 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
5 years 6 days 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.

  • Christopher Malley
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
4 years 5 months ago #129485 by Christopher Malley
Replied by Christopher Malley on topic Field that adds a percentage
Hi. Has there been any progress towards this?

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

More
4 years 5 months ago #129490 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Field that adds a percentage
Sorry Christopher

We could not come up with a solution for this feature

Tuan

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

  • Christopher Malley
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
4 years 5 months ago #129517 by Christopher Malley
Replied by Christopher Malley on topic Field that adds a percentage
OK. I figured out a solution.

1. Create a field that asks "Paying for Invoice?" with Yes or No options.
2. Adjust the default amount field to only show if "Paying for Invoice" is set to No
3. Create an invoice_amount field that will only show if "Paying for Invoice" is set to Yes. Set the Fee Formula to "[FIELD_VALUE]*.03+[FIELD_VALUE]" to charge 3%

This will adjust the amount to be charged.

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

Moderators: Tuan Pham Ngoc