Payment Conditional Logic

  • CMDmarketing
    Asked on November 6, 2020 at 12:44 PM

    I am trying to make a form where I ask initially how many items someone wants to order, and then on a later page I would like it to populate with the option that "matches up". I tried to follow the same procedures as was suggested to help with a different question to no avail. I need to do PayPal Standard and it appears that I cannot get multiple "payments" to show up (copies of copies) to simply hide/show the correct option using conditional logic. Thanks in advance.

  • Girish JotForm Support
    Replied on November 6, 2020 at 3:31 PM

    To clarify, you want to show the price of the option selected in the dropdown in the payment field directly. Is that correct?

    1604694104 5fa5b058610d7 0711 5 Screenshot 10

    i.e. If 2 Location option is selected, you want to show $74 automatically in the payment field for payment. Is that correct?

    If yes, you will first need to assign calculation value to the options in the dropdown field:

    1604694220 5fa5b0cc80f93 0711 6 Screenshot 21

    Then add a Form calculation widget in the last page of the form and add the dropdown field into it and Save the widget:

    1604694365 5fa5b15d89f84 0711 7 Screenshot 32

    After that change the payment type on the PayPal payment field to "User defined amount" and map the Total field into it - https://www.jotform.com/help/275-how-to-pass-a-calculation-to-a-payment-field

    1604694486 5fa5b1d6a9b74 0711 8 Screenshot 43

    This will remove the current subscription setup.

    Here is a demo form: https://form.jotform.com/203106131235943

    Please try this and let us know if it helps.

  • CMDmarketing
    Replied on February 11, 2021 at 12:49 PM

    I appreciate the help, and can follow these steps but I still need the “end product” to be subscription based... but with the dollar amount calculated based on the initial question.

    I just need to know if this is doable, or if this isn’t. And some screenshots as you usually do for the PayPal part would help.

    You guys have great customer service. Much appreciated.

  • Jovanne JotForm Support
    Replied on February 11, 2021 at 4:41 PM

    Hi there,

    Yes, that can be achieved by setting up your payment to Sell Subscription. You can then create a new subscription and set the variable price to the form calculation widget total value.

    1613079588 6025a424ab3e2 4 Screenshot 10

    1613079633 6025a4512ac0f 6 Screenshot 21

    1613079597 6025a42dde8aa 5 Screenshot 32

    Here's a sample form: https://form.jotform.com/210415959461963

    I hope this helps. Please give it a try and let us know how it goes.

  • CMDmarketing
    Replied on February 11, 2021 at 6:27 PM

    Thank you so much! The only issue I’m now having is I’m trying to set up a free trial period and when I click on it it’s locked and can’t change the setting to add that feature. So sorry to bug you again! But feel like I’m almost there...

  • Jovanne JotForm Support
    Replied on February 11, 2021 at 7:56 PM

    Hi,

    I'm afraid that the Variable Price and the Trial Period options can't be enabled simultaneously. Generally, when the Variable price option is enabled, the trial option will be disabled.

    1613091340 6025d20ce90f6 11 Screenshot 10


    Let us know if you have further questions.


  • CMDmarketing
    Replied on February 11, 2021 at 8:00 PM

    So would a solution be to make “set custom first payment cost” to “0” and then the first month would be free like a free trial, correct?


  • Girish JotForm Support
    Replied on February 11, 2021 at 9:42 PM

    Yes, that should also work.

    But ideally, the "Trial" option is provided on the payment field to set the first payment free.

  • CMDmarketing
    Replied on February 11, 2021 at 10:28 PM

    Correct, but in the thread above, another CSR already explained that it couldn’t be don’t for me because of the conditional logic/variable pricing.

    So if that answer was correct and there is no workaround, then making the first month free would be the only way to create a workaround.

    Just want to verify that there isn’t a way to do variable pricing AND a free trial. I’d rather have a free trial but we can’t have everything LOLOL

  • Girish JotForm Support
    Replied on February 12, 2021 at 1:36 AM

    Yes, unfortunately, variable pricing and the set trial period option will not work at the same time.

    You may need the other option as a workaround.