- OhadsAsked on November 20, 2016 at 03:09 PM
I've recently started using Jotforms for Dwolla payments since they are about to deprecate their Dwolla 'Pay Now' Button. The Jotform form building tool is actually pretty neat and easy to use, I'm impressed!!
My one question is whether or not I can automatically add a $2 transaction fee to the payment form automatically. Since I'm coming from manually implementing the Dwolla button, I was able to implement such a thing without much difficulty. However, obviously when using the button through a platform, it's a bit different. Is there a way that we would be able to implement a 'transaction fee' like feature in a form here?
Thanks so much!
- KadeJMAnswered on November 20, 2016 at 04:01 PM
Hi Tomer, thanks for your interest in joining us here at jotform and I see you're looking for a feasible method to implement a transaction fee for continuing to use dwolla with our payment integration.
I think that we might possibly be able to come up with something to assist you here since from what I recall we've done something similar for a few of our users before.
What you could do is set up your products and assign a calculation value such as via a radio or checkbox field as your products.
You can add in a form calculation widget to get the product and have it add in the $2 transaction fee with which you'll have your dwolla integration setup to pull the price into it to sell.
- KadeJMAnswered on November 20, 2016 at 04:15 PM
I've taken a few minutes to create a quick demo form for you to look at as I've described above.
In my demo below I took 3 items via a checkbox field and assigned them values 5, 10, 15.
Then I added a form calculation widget that I've hidden on the backend of the form to get those values and add in " + 2 " and as you can see below for the first option it is 5 + 2 = 7 which is then getting pulled into the products field for dwolla.
- OhadsAnswered on November 21, 2016 at 09:11 PM
Hey! Thanks for an intricate and detailed response! However, I'm still not quite able to replicate the exact functionality I need. Take a look at the screenshot below. Since the original input is user-generated, I'm trying to grab that number and increment it by 2. What's happening is that the 'calculation' widget is treating it as a string instead of an integer. So if I input '5', the result will be '52' instead of '7'. The original 'To Pay' field is of type 'number'.
If you're able to view it, the form I'm working with is: https://www.jotform.com//?formID=63245690830154
Let me know if you need any more details about this!
- JotForm SupportBJoannaAnswered on November 21, 2016 at 11:03 PM
I was able to replicate same issue. It seems that for some reason math function abs() was added to calculation.
To resolve this issue, simply delete your Form Calculation widget, then add new one and set you calculation like this.
Here is my demo form: https://www.jotformpro.com/form/63258280880966
Feel free to clone it.
Hope this will help. Let us know if you need further assistance.
- OhadsAnswered on November 22, 2016 at 08:39 AM
This is exactly what we were looking for! Thanks for the explanation and taking the time to create the functionality we're looking for!
You can feel free to close this issue now :)