Have a button for only PayPal

  • Profile Image
    AgilityAssoc.Canada
    Asked on September 12, 2017 at 01:54 PM

    Hi,

    On my forms, 63423134202946, 72543994208969. Can I have a Submit button and a separate PayPal button?

    Thank you, Robert

     

    pS love this new setup ...GREAT UPGRADE GUYS!

  • Profile Image
    Kevin_G
    Answered on September 12, 2017 at 03:26 PM

    Is it possible to add a PayPal button, but only using a link as the Form Builder does not accept custom HTML codes. 

    You could create a payment link here: https://www.paypal.com/paypalme/grab?locale.x=en_US&country.x=US 

    Once you have created the link you could place it on your form using the text element. 

    You could also get an image from PayPal in order  to display it on your form, you will find them here: https://developer.paypal.com/docs/classic/api/buttons/ 

    Once you have the link as well as the image you could insert it on your form by pasting the code on the text element, example: 

    <a target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=kevin%40jotform%2ecom&lc=BM&item_name=test&amount=12%2e00&currency_code=USD&button_subtype=services&no_note=0&bn=PP%2dBuyNowBF%3abtn_buynowCC_LG%2egif%3aNonHostedGuest" rel="nofollow noopener" >

                      <img src="https://www.paypalobjects.com/webstatic/en_US/i/btn/png/btn_paynow_86x21.png" width="200">

                  </a>

    Now, note that your form submission will not contain any payment information, it will be just the submission as normal. 

    We have also an integration with PayPal, please check the steps to add it to your form here: https://www.jotform.com/help/391-How-to-Integrate-Form-with-Paypal-Standard- 

    I hope this helps. 

  • Profile Image
    AgilityAssoc.Canada
    Answered on September 12, 2017 at 04:26 PM

    Hi,

    Thanks for this.

    Because some folks may pay by cheque or money order we wanted to have both. It is setup with a autoresponder so the applicant gets a copy by email. They can then use it to send by snail mail to the manager.

    regards, Robert

  • Profile Image
    david
    Answered on September 12, 2017 at 06:05 PM

    There are a couple different ways you can have both PayPal and pay by check in the same form.  The first is described in the follow guide and requires using separate forms for check and PayPal:

    https://www.jotform.com/help/182-How-to-Create-a-Basic-Multiple-Payment-form

    The other would be to set up your options outside the of the payment field as it looks like you already have.  Assign then calculation values:

    https://www.jotform.com/help/301-How-to-Assign-Calculation-Value

    As it also looks like you have.  Then pass that total to your payment field:

    https://www.jotform.com/help/275-How-to-pass-a-calculation-to-a-payment-field

    Add a field to allow for them to select pay by check or pay via PayPal and then conditionally show the PayPal field based on what they select.  If the PayPal field is not shown in the form, payment will not be required. 

    This would not give different buttons, but would give the ability to pay then with PayPal or submit the form without payment.

  • Profile Image
    AgilityAssoc.Canada
    Answered on September 12, 2017 at 10:55 PM

    Hi,

    I'm having trouble passing the value in the text box to PayPal.

    Thanks Robert

  • Profile Image
    Nik_C
    Answered on September 13, 2017 at 02:22 AM

    I checked your form (63423134202946) there was no payment integration there, but here is how to pass the value to PayPal:

    1) The field you're passing has to be the form calculation field:

    Since the text field can not be passed to payment field. 

    So, you do all the calculation needed in the form calculation field and then:

    2) Set the payment to collect that field:

    If you have any further questions please let us know.

    Thank you!

  • Profile Image
    AgilityAssoc.Canada
    Answered on September 13, 2017 at 11:13 AM

    Hi, 

    OK, on form 72543994208969 I am trying to set this up first.

     

    I created a payment option button. Works perfectly.

    I copy value from calculation which uses: (Montant total /100) , into PayPal. I divide by 100 because of PayPal showing too high a value but it didn't help.

    The value is 100 X too high. Eg. $123.45 shows as $12345.00. What am I missing?

    Robert

     

  • Profile Image
    Nik_C
    Answered on September 13, 2017 at 12:37 PM

    I was able to replicate this issue, please allow me some time to work on it and I will get back to you once I finish.

    Thank you for your patience.

  • Profile Image
    AgilityAssoc.Canada
    Answered on September 13, 2017 at 02:22 PM

    Hi @Nic,

    I have it working correctly on the English version,  63423134202946. There must be a calculation I have that is messing it up. 

    Thanks, Robert

  • Profile Image
    AgilityAssoc.Canada
    Answered on September 13, 2017 at 02:30 PM

    Hi, I believe it is because it is calculated in French, using comma not decimal. So it cannot do it correctly. I may have to edit one of the calculations and hide the results.

    regards, Robert

  • Profile Image
    AgilityAssoc.Canada
    Answered on September 13, 2017 at 02:54 PM

    Hi,

    I have removed PayPal option from both forms until the issue can be resolved with the French one.

    Best regards, Robert

  • Profile Image
    Nik_C
    Answered on September 13, 2017 at 03:06 PM

    Yes, Robert, it is related to that, I'm still checking where exactly. I will update you as soon as possible.

    Thanks for following up!

  • Profile Image
    Nik_C
    Answered on September 14, 2017 at 04:16 AM

    Hello Robert and thank you for your patience.

    After further checking, I found out that it was the issue with comma as decimal separator.

    So I switched it off for "Avec taxe $", "Total M&E" and "Montant total":

    And here is how it works:

    And here is my form: https://form.jotformpro.com/72562262051954

    You also mentioned that you need it divided by 100 if I understood right, you could do that in Montant total field.

    Please check and let us know if that works for you.

    Thank you!

     

  • Profile Image
    AgilityAssoc.Canada
    Answered on September 14, 2017 at 10:58 AM

    Hello,

    Well this is closer but we would have to do the same with, Taxe en $ and M&E plus de 1.

    I was thinking why not make hidden fields that do the same so that the user still sees the French format.

    Also, is this something that JF could write some code fix for so that values with commas can be calculated? 

    Thank you, Regards Robert

  • Profile Image
    AgilityAssoc.Canada
    Answered on September 14, 2017 at 12:20 PM

    Hello,

    I have it working now with hidden fields, had to divide by 100.

    TNX, Best Regards, Robert

  • Profile Image
    Nik_C
    Answered on September 14, 2017 at 12:30 PM

    Thanks for getting back to us Robert, we appreciate that.

    I'm glad you were able to make it work.

    Cheers.

  • Profile Image
    AgilityAssoc.Canada
    Answered on September 14, 2017 at 12:58 PM

    Hello,

    Further to PayPal,I think this widget has restrictions on what can be done but is there anyway to widen the input field, change text color?

    Thank you, Robert

     

  • Profile Image
    Kevin_G
    Answered on September 14, 2017 at 02:12 PM

    Robert, 

    In order to assist you better, I've moved your last question to a different thread, we will assist you as soon as possible on the following link: https://www.jotform.com/answers/1247992