- bitsworkshopAsked on December 15, 2014 at 04:45 AM
Another related request, if you would be so kind as to submit it, would be an option to split the shopping cart logic & coupon logic from the payment method. This would allow a user to "check out" and select the use of a credit card or mailing in a check. Today, I need to generate two forms since if use the Stripe gateway they need to submit a credit card to finish.
- JotForm Supportashwin_dAnswered on December 15, 2014 at 07:47 AM
I am not sure if I have understood your question correctly. Do you want to have two payment method in your form where user can make payment using their credit card and also through check as well. Is that correct?
Though you cannot add more than 1 payment question in your form but with a little workaround it is possible to achieve your requirement. The following guide should help you : http://www.jotform.com/help/120-How-to-set-up-paypal-along-with-other-payment-options
Hope this helps.
Do get back to us if you meant to ask something else.
- bitsworkshopAnswered on December 15, 2014 at 12:51 PM
Correct. I want to let them choose between Credit Card and Check (our you call in Purchase Order in the Payment Modules). I need the full logic of the shopping card - including coupons. But once they select what the want they should be able to select payment method as appropriate.
Thanks for the link to the solution with using PayPal. Unfortunately that will not work since I need the cart logic / coupon codes. This is why I suggested splitting the cart from the payment module.
- JotForm SupportKiranAnswered on December 15, 2014 at 02:44 PM
I understand that you are suggesting to have different fields to add products & coupons and a separate field for payment method to receive the total amount to be paid. Is that correct? I am not sure if this is possible due to different methods might to be followed to pass the data for each payment processor based on the features available.
However, if you want to have different payment methods on the same JotForm you may integrate different payment methods on different JotForms and embed them on the same JotForm by using iframe embed widget.
Please refer to the guide below :
Hope this information helps. Thanks!
- bitsworkshopAnswered on December 15, 2014 at 03:13 PM
Yes, you are understanding correctly. Please let me know if you need more information to submit this request.
The iframe embed is interesting, however I would then have to duplicate the product and coupon logic into two payment modules. It would get messy very quickly. And I'm not sure if I will be able to hide the module not being used.
- BenAnswered on December 15, 2014 at 05:23 PM
Unfortunately our cart and payment module are integrated together - this is actually all in one app.
You could have this done in 2 different ways:
1st manner - 'pure' iframe embed.
This is the best option if you want to have several payment options in one jotform since you could hide one or the other based on the users choice.
This would require you to have all the products in the same iframe where the payment total is to be captured, but following the steps as mentioned by my colleague Kiran, would allow you to only set it up 1 time for both (or more) jotforms.
This is the guide: How to Create a Basic Multiple Payment form
2nd manner - iframe embed + custom code
I only mention this since you seem interested in this approach. What it requires are 2 iframe embed widgets just as in the first option, but with a difference in that you would need to grab a full source code of the parent jotform. In the same time iframes would only hold a Form Calculation and the payment processing widget, without any extra data such as products.
Once this is done, you would need to either program yourself or find a developer that would create a js check and reload the iframe with the required parameters to pass through to the Iframe embed widget.
This would pass the required amount to make the payment while in the same time hold all payment options in the main table, but as mentioned this would also mean that your jotform would need to be embedded with a source code option for which we can not provide a lot of support if something related to the implementation is causing the issue.
If needed we can help you gather more details that your developer might need or help you setting it up as mentioned in the first step.
- bitsworkshopAnswered on July 13, 2015 at 01:17 AM
Any updates on this topic? Is there a way to cleanly switch between payment methods (say Stripe and Purchase Order) while retaining coupons (with set usage limits) without going the 2nd route shown above?
I see numerous other people have asked for such functionality.
- JotForm Supportashwin_dAnswered on July 13, 2015 at 03:07 AM
The only possibility to achieve your requirement is as explained by my colleague above. There is no built in feature to achieve this.
One alternative way it to use normal form fields to list your product and add form calculation widget to calculate the price with coupons discount.
Let me try an create a small demo form and send it to you later today.