How to Pass a Calculation to a Payment Field

Last Update: September 6, 2016

If you have simple to complex calculations using the form calculation widget on your form, you can now pass the final total from the calculation field to the payment field.

What will you need to make this happen? 

1. A calculation field on your form which represents a total that is due to be paid by your form users. 

2. One of the following payment fields: 


If your calculation field is ready on your form, here's how to pass the Calculated Total to one of the payment fields listed above: 

A. Open the payment wizard by clicking the payment field then the wand icon.


B. On the payment wizard, switch the payment type to "User Defined Amount". Select yes in the confirmation message afterward. Then on the get price from option, select the calculation (total) field.







That's it! Your form with simple to complex calculations can now pass payment totals to secure checkout services from our payment fields. 

Here is a demo form showing how this works:

https://form.jotform.com/60752973459973 





Here's another demo form with a little more complex calculation: https://form.jotformpro.com/41413741780956 

Have you tried it yet? 

Please share your experiences in the comment box below. 


16 Comments...


   
RACRUSWAL (July 15, 2014 at 06:21 AM)

PLease can you do this with Purchase Order too.

View Answer


   
WCSPC (September 13, 2014 at 06:26 AM)

This is wonderful - I need to be able to send a calculated value to the subscription field in the paypal payment wizard or to set the above field to collect in equal payments over time.

We would like to offer an instalment plan. Any chance that this could be possible?

View Answer


   
socialur (December 02, 2014 at 10:34 AM)

Useless. Paypal will limit your account if you accept business payments as Donations...

View Answer


   
TheINSGroup (January 09, 2015 at 12:37 PM)

I am not seeing the option to choose "get amount from". there is only a field for "suggested amount" here is my form. http://www.jotform.com//?formID=50085474793968

View Answer


   
memen (March 11, 2015 at 06:47 AM)

Do you have to pay in paypal?

View Answer


   
KC (June 10, 2015 at 11:28 PM)

Is it possible to add a coupon code to the total? In other words, the calculation will automatically calculate the total, but I want to give some people a coupon code which will then take a set $ amount off the total.

View Answer


   
bevigilant (June 15, 2015 at 09:21 PM)

This is what I received when testing my form...

[PayPal Express Error]
-An error has occurred. Please contact form administrator for assistance.
[Transaction refused because of an invalid argument. See additional error messages for details.]
-You are not signed up to accept payment for digitally delivered goods.

What could be the problem?

View Answer


   
Randy Esguerra (October 30, 2015 at 10:48 AM)

Is it possible to set up the taxes to be applied to an item and charged in the total cost?

View Answer


   
USTAPNW (February 25, 2016 at 02:21 PM)

I was able to calculate one product. Everyone also is required to pay for one other static product. I can't find a way to add this to the payment field.

View Answer


   
Shortkat (March 24, 2016 at 07:56 AM)

I tried to set up a payment form using CickBank as an option. I filled the form in the wizard (account name, item n°, product name, product price, and currency), I clicked next and I've been provided with a link that I put it on the Thank You URL of the product, but when clicking the "Finish" button nothing happens at all!

Is there something I'm missing?

View Answer


   
maccalgary (September 14, 2016 at 11:30 AM)

I am working on this form:
https://form.jotform.com/62558917075264

And when I try to edit the "Get Price From:" field, I only find the "(None) Manual" field and cannot find an option to choose a specific field.

View Answer


   
maccalgary (September 14, 2016 at 11:33 AM)

Never mind. It turned out that I was using a normal text field rather than a calculate field.

Thanks!


   
breadsbybreadshop (October 11, 2016 at 03:05 PM)

When I submit my form, Paypal says "Error Detected. Your shopping cart is empty."

View Answer


   
BackdropCity (November 06, 2016 at 01:33 PM)

I am working on the form below:
https://form.jotform.com/62919055216154

I am also trying to edit the 'Get Price From' field, but it only says 'None(Manual)'. I saw the above comment with the same issue but it has not resolved my problem. I have calculated values in the 'Backdrop Size' field and in the 'Additional Features' field.

View Answer


   
JuzeBacknang (November 30, 2016 at 03:31 PM)

I'm having the same issue that there is no entry in the "Get Price From" field - only "None (Manual)".

How did you solve that?
Maybe I'm just blind.. but I don't get that field there.

View Answer


   
JuzeBacknang (November 30, 2016 at 03:48 PM)

I just made it! ;-)

You need to use a widget "Form Calculation" as the source field


Send Comment