Is it possible to have the Paypal Subscription options hidden?

  • SBVA
    Asked on November 14, 2018 at 9:23 AM

    My form Samajanidhi - Paypal has 4 subscription options meant for Donations..https://form.jotform.com/SBVA/samajanidhi

    https://form.jotform.com/SBVA/samajanidhi

    https://form.jotform.com/SBVA/samajanidhi

    Although functionally it works, I am not very impressed with the way the form looks. So what I want to do is

    1. Hide (not remove) the current Donation Amount field with Paypal integration

    2. Create another two new fields - (a) single field to accept Donation Amount, (b) radio button field with options of One-time, Recurring-Weekly, Recurring-Monthly, Recurring-Semiannually. 

    3. Based on user input, assign appropriate value to the hidden Donation Amount with Paypal integration. 

    Please let me know if this is possible?

  • Adrian
    Replied on November 14, 2018 at 12:18 PM

    This is possible by:

    1. Adding a Form Calculation Widget to the form which will serve as Donation Amount input.

    1542215763form calc Screenshot 10

    Then, change the Get Price From option for each subscription option to get the price from the Form Calculation element.

    1542215817gpf Screenshot 21

    DEMO: https://form.jotform.com/83174691264967


  • SBVA
    Replied on November 14, 2018 at 1:18 PM

    OK.  But there are two variables I need to use (a) Amount and (b) Donation Frequency (another radio button or a drop down) ;  the combination should make it unique option. 

    The demo you provided, populates all subscription options with the "amount" field.  But user must select only one of them. 

    For example, If I enter $50 in the amount, and select Recurring-Weekly - the corresponding value must be set

    Alternatively, If there is a specific parameter to be set when the PayPal link is determined, we can do that as well..

  • David JotForm Support Manager
    Replied on November 14, 2018 at 3:38 PM

    The value populates in all of the options, however, only one option can be actually selected, so the user must select only one frequency.

    "Alternatively, If there is a specific parameter to be set when the PayPal link is determined, we can do that as well..

    Are you referring to populating an option via URL parameters? That's possible, example:

    https://form.jotform.com/83174691264967?DonationAmt[][id]=1002 

  • SBVA
    Replied on November 14, 2018 at 8:00 PM

    Well that is not exactly what I was looking for.  What I meant was how the call made to Paypal? I am assuming it is a URL like https://www.paypal.com/cgi-bin/webscr?cmd= and passing additional parameters like &item_name="Recurring-Weekly"&currency_code=USD&amount=50&<something else for subscription frequency>.

    Just curious if we can construct the URL Link using appropriate Conditions...Is that too complicated?

    Based on your suggestion, I did however, manage to populate the amount in the correct selection (see site below), but unable to select the radio button.  For example, you enter 50 in the amount field, and pick frequency as "weekly", then the Donation Amount option for Weekly shows 50, but the option selected is still the first one.. How to make the selection also?

    https://form.jotform.com/SBVA/samajanidhi

  • Kiran Support Team Lead
    Replied on November 15, 2018 at 12:23 AM

    Unfortunately, it is not possible to select a specific option from the Payment field using conditions. This may be achieved only by getting the full source code of the form to make modifications and embed on a web page to host on your server.

    Thanks!