-
blackmarkettreatsAsked on January 29, 2020 at 7:57 PM
I have a number of payment options available and would like to create a condition whereby if the person selects credit card payment then the Square processing fields show/become required.
If they select an alternative payment method, then then the credit card details are not mandatory.
I understand the products section is part of the Square payment - is there a way to add products separate to this? Or is there a way to make the credit card payment section not mandatory?
-
jonathanReplied on January 29, 2020 at 9:36 PM
You can achieve this using Conditions. Please check on the user guide that described the same method.
Guide : How to Set up PayPal Along with Other Payment Options
The guide was created using PayPal payment, but it should work just the same using Square payment integration.
Here is the included demo form https://www.jotform.com/61894475075972
I hope this help. Let us know if you need further assistance.
-
blackmarkettreatsReplied on January 29, 2020 at 10:03 PM
Thanks for your reply.
If they choose the payment option other than Square then the products won't show either will they?
-
John Support Team LeadReplied on January 30, 2020 at 2:18 AM
Yes. I'm afraid they won't be shown if the products are created into the Square payment field, and the user chooses the other payment method instead of credit cards.
A workaround for that is to create your products outside the Square payment field. You can use a Single Choice field if the user only allowed to choose one product, or use a Multiple Choice field instead if he's allowed to purchase multiple products.
And how about the pricing? You can assign calculation values to each of the products (in the Single/Multiple Choice field). Here's a guide on How-to-Assign-Calculation-Value.
Then add a FORM CALCULATION widget to calculate the total value of the selected products. Here's a guide for that: How-to-Perform-Form-Calculation-Using-a-Widget
And lastly, pass the calculated value to the payment field using this guide on How-to-Pass-a-Calculation-to-a-Payment-Field.
Here's a demo form to better illustrate the idea: https://form.jotform.com/200291667131954
Please try that and let us know how it goes.
-
blackmarkettreatsReplied on January 30, 2020 at 6:43 PM
Thanks for your help!
Just one more question - I am using the multiple choice field but need the person to be able to enter the quantity of each item. For this I am using a condition (if item is selected, quantity/number box will appear) however from what I can see I will need to create a quantity box for each item and if someone selects multiple items then I will end up with multiple quantity boxes appearing. I feel like this will become very confusing?
Thanks
-
jonathanReplied on January 30, 2020 at 7:54 PM
I assumed you were working on your Valentines Day Order form.
I see you have now added Quantity Gift widget on the form for the items/products.
It should work much better instead of the multiple choice checkboxes.
Please let us know if you need further assistance.
-
blackmarkettreatsReplied on January 30, 2020 at 8:55 PM
Yes that's right, thank you
With the Gift widget how do you get the total to calculate? Would this be the Form Calculation?
-
John Support Team LeadReplied on January 31, 2020 at 12:25 AM
Yes. You may use the Form Calculation widget to calculate the total payables.
I can see that the first product and delivery has different prices. Please note that the GIFT QUANTITY widget only returns the total quantity of the selected products, not the prices. So I suggest adding another widget to contain the FIRST PRODUCT and the DELIVERY separately:
This simplifies the formula that you can use in the FORM CALCULATION widget. Here's an example formula:
I have implemented this to a cloned version of your form. Here's the link for you to try: