Is it possible to have PayPal integration along with a prepaid option on the same form?

  • Profile Image
    mgtoronto
    Asked on April 10, 2019 at 04:23 PM

    We're trying to create an order form for our club members to both order regalia online and also to track regalia orders made at meetings/events. I have started a test form with our basic requirements here, https://form.jotform.com/90984650898982 and set up PayPal integration that will only show if 'online order' is checked.

    What we would like is to also use the same form as inventory control so it has been set to generate a unique order number but I haven't found a way that works to indicate that the order has been prepaid. We could use a separate from for that but it would not generate a unique order number in the same sequence.

    I'd appreciate any help you could provide.


  • Profile Image
    BDAVID
    Answered on April 10, 2019 at 06:54 PM

    Unfortunately, there cannot be two integrations in the form. There is a workaround to set up PayPal along with other payment options, please check this guide: https://www.jotform.com/help/120-How-to-Set-up-PayPal-Along-with-Other-Payment-Options

    And let us know if you need more help.

  • Profile Image
    mgtoronto
    Answered on April 10, 2019 at 11:12 PM

    Thank you very much for your reply. I had checked out that guide previously and if it comes down to it will investigate that further. However, as a potential solution I investigated the option of applying a 100% discount to my products and it seems to have been accepted.

    If this works, I need to find a way to have the discount applied only when the meeting/event option is selected in the Order Type question. Are you able to help with this possible solution?

    Also, if this works, will that stop the selected products being included when the form is submitted?

  • Profile Image
    Jed_C
    Answered on April 11, 2019 at 12:55 AM

    I need to find a way to have the discount applied only when the meeting/event option is selected in the Order Type question. Are you able to help with this possible solution? — 

    You'll need to make a custom payment option that will match your condition. Here's what you need:

    1). Set the payment field as a "User defined amount" as we will be passing the total calculated amount into that field.

    2). Create an individual field to meet your needs. ex. if you will need to have a multiple choice field, you can use the "Multiple choice" field. If single selection, you can choose "Single choice" field.

    3). Assign a calculation value to each option https://www.jotform.com/help/301-How-to-Assign-Calculation-Value 

    4). Pass that value to a form calculation widget https://widgets.jotform.com/widget/calculation

    5). Pass the total value in the form calculation widget into your payment field by assigning the field to get the value from the form calculation widget https://www.jotform.com/help/275-How-to-Pass-a-Calculation-to-a-Payment-Field.

    With your form, I cloned it and made a sample here https://form.jotform.com/91000968719966. I only made one product just to show you an example. You will see in my sample form that if you have selected "Meeting/Event Order", 100% discount is applied and you will that the total amount to be paid is "0"

    Feel free to clone it https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL so you can see how I applied the suggested method above.

    Let us know if you have any questions or if you need further assistance.