- jeffzhenAsked on December 01, 2016 at 01:43 AM
I've been trying very hard to find out how I to work out a problem I am facing on the Pay pal integration.
I am selling some Beef for this coming Christmas, and I want my customers to have a choice of selecting the weight of the beef cuts and the quantity as well. I managed to do this through doing my own conditions. However I don't know how to get Paypal to reflect a total price from various fields dynamically.
I've also tried the Paypal "Sell Product" option, but it seem so limited, and "add options" is limited to just some T-shirt related presets. Can this be customized or am I stuck with it?
- JotForm SupportoliviaAnswered on December 01, 2016 at 03:59 AM
I have cloned your form and made some changes on it according to your requests.
I have removed your "GRAND TOTAL" TextBox field and also conditions associated with it. I added Form Calculation Widget instead. In this way, you don't need to use conditions to calculate total of values in multiple form fields.
You just need to add form fields that you use in your calculation and sum them easily. In my example, I pass the value of Form Calculation Widget to PayPal field; therefore, I hide Form Calculation Widget.
After that, I added PayPal Payment Field to my form. Change the name "My Product" as "GRAND TOTAL".
Add your PayPal account details in the PayPal Integration page. Please choose Payment Type Option as User Defined Amount, too. In this way, you can use the total amount in the Form Calculation Widget.
Now, Get Price From should be the Form Calculation Widget which you want to transfer the value in the PayPal. When user clicks the submit button, he pays this total amount by PayPal.
Please have a look at my demo form: https://www.jotformpro.com/form/63351625012950
You can clone this form yo your side. Please have a look at the guide about how to clone: How-to-Clone-an-Existing-Form-from-a-URL
In addition, please have a look at these guide if you need more details:
If you need any further assistance, please feel free to let us know.