User chooses to use Paypal or not before going to the Paypal integration page

  • Profile Image
    larrypjr
    Asked on March 13, 2011 at 08:45 PM

    I have a page on my form that allows a user to enter his credit card information. I would like to also include a choice for the submitter to use paypal instead of a form page credit card submission. So I included a check box entitled paypal that hides the credit card info fields. The problem is that when the user selects the submit button, the form automaticaly goes to paypal in all cases no matter what. Is it possible to give the user a choice of using Paypal and going to the paypal entry area (or not) when they select the submit button??? Is this possible with jotform? Could this be coded into the form somehow?

     

    http://www.jotform.com/form/10541918478

  • Profile Image
    liyam
    Answered on March 14, 2011 at 02:08 AM

    Hello,

    What I can suggest to you is use a condition with radio button options whether the user is going to purchase via paypal or purchase via credit card entry submission.

    By default, when selecting the products from the list in paypal tools, it will directly go to paypal for payment.  If no product inside paypal is selected, it will not redirect to paypal. 

    So what you can do is create 2 types of products, one for paypal product list and one for the simple form submission list.

    Add a condition where the person will have to choose if he wishes to purchase via paypal or credit card form entry submission.  In the conditions options, hide the fields for ordinary submission when user chooses paypal, and vice versa.  Then add a condition where it will show the paypal field with products if user wishes to pay via paypal or otherwise.

    Hope this helps.

  • Profile Image
    larrypjr
    Answered on March 14, 2011 at 10:25 AM

    Thanks, that was a great suggestion and a perfect solution. I implemented it on the last order page of my form. As per your idea I gave the user the additional choice of using paypal or a credit card with radio buttons. Then I made two (identical) multiple product fields. One for the credit cards and the regular one that you get when you use the paypal fields for multiple item purchases.

    Using conditions to hide the appropriate multiple purchase fields (dependent on what the selection is with the radio buttons) I have a nice form that can accept either credit cards within jotform or a choice for the user to use the PAYPAL basic system. 

    So now, instead of having to spend the money for a paypal pro subscription that will accept credit cards on paypals site, I can also offer the user the ability to use credit cards on a secured Jotform (https:) AND using paypals free basic system.  (I'd rather spend the upgrade subscrition money with jotform, to tell you the truth)

    That's awesome. Thanks a lot for your clever and intelligent ideas. The only thing I have to do now is to style the copied fields to match the paypal multiple product field. I plan to do that using the inject CSS function via preferences.

    So now one more question. I've been able to implement a lot of CSS injections for the classes on my form.

    (ex: .form-html { })  Is it possible to use  similar CSS styings for the ids. For example: Using firebug (another great suggestion from this forum) I see the following  <label for="input_77_0"> some text here<label>. Im just trying to change the color of the text so would the CSS inject be something like:

    .input_77_00 {

    color:blue;

    }

    or is it not possible to css style id(s)?

     

    (Is there somehwere I could go on the web to learn about using and styling CSS?)

    CONCLUSION: You guys make a great product and I can't tell if i like the forum support or the product better. (I notice you guys answer almost EVERY question that's listed. (even if it's not exactly the answer users want to hear <grin>)  That's very impressive and indicative of  'GREAT COUSTOMER SERVICE.' (That rocks!). Thanks again for your expertise and advice on getting the most out of Jotform.

     

     

     

     

    .

  • Profile Image
    liyam
    Answered on March 15, 2011 at 03:09 AM

    Great to hear my idea worked for you.  And thanks for your appreciation. :)

    To explain CSS, there are 3 ways that you can do to style your page:  You can use the 'id', 'class', and the HTML tag itself.

    To style the class, you need to include the dot (.) in front of the class name.
    example:

        If you wish to style <div class="style1">, you will have to do .style1 { font-weight: bold; }

    For id's, instead of using a dot (.), you will need to use a pound sign #.
    example:

        If you wish to style <div id="style2">, you will have to do #style2 { font-weight: bold; }

    There is also another way to style the tags. If you wish to style <label> for example, just do this:
    label { font-weight: bold; }

    Here are my favorite CSS learning sites:
    http://www.w3schools.com/css/
    http://www.echoecho.com/css.htm

    If you need help with your styling your form, just let us know and we might be able to find a solution for you.

  • Profile Image
    scriv77
    Answered on May 21, 2011 at 11:06 AM

    Your solution works great if you have more than one product in your list. I want to do the same thing with just  one product - i.e. give the customer the option of paying by paypal or by another option. Unfortunatly I can't do this because I can't add a conditoin to show or hide the single product option.

    Do you have any other suggestions?

    Thanks

  • Profile Image
    liyam
    Answered on May 21, 2011 at 12:26 PM

    Hello scriv77,

    The idea that I tried to achieve above was not to hide the product, but the paypal field itself.  You only need to use a radio button field/dropdown menu field.

    Here is a sample of the form that I have created with the same issue above: http://www.jotform.com/form/11203109927

    Let me know if this form can serve the purpose of what you are trying to achieve.

    But if the only option that you wish to accomplish is either pay via paypal or credit card, it's still best to acquire a paypal website payments pro account with them.

    Warm regards,

    Liyam

  • Profile Image
    wootsystems
    Answered on June 20, 2011 at 12:46 PM

    I like this form you created but how did you pass the checked item to paypal?

  • Profile Image
    liyam
    Answered on June 20, 2011 at 01:48 PM

    Hello wootsystems,

    This is one of the featured tools of Jotform.  You can add a paypal field, just under the payment tools.

    Once you have added the field, you can click its properties and set your account there.  Then you can add products in it.

    If you need further details regarding this is issue, please let us know.

    Thanks,

    Liyam