PayPal Checkout Integration: Need help setting up the payment option for donations

  • SecondHend
    Asked on March 23, 2019 at 3:52 PM

    We need to be able to ask that adopters go through our PayPal Giving link to donate the amount associated with their adoption.  I tried setting it up in the form to the best of my ability, but I keep getting an error, and I can only guess it has something to do with the required “Client ID,” and “Client Secret...”

    I have no idea what these refer to or where to find that information.  I just took a guess and added our account number, but it didn’t work.  Could you please assist me with setting this up so we can get our form up-and-running?

    If there is ANY way I could have someone contact me via phone, I would be most grateful.  My sight is very poor and I injured my hand, which makes typing painful.  Please contact me privately for the necessary information.

    Thank you so much in advance!

    1553370149A7D0DAAB DAE6 4ADC ABE7 7DF9B7 Screenshot 10

    Jotform Thread 1770019 Screenshot
  • Mike
    Replied on March 23, 2019 at 7:11 PM

    We do not have phone support, but we will be more than happy to help you over this support forum.

    1) If you would like to use the PayPal Checkout integration, you will need to add an app through https://developer.paypal.com/ to get the Client ID and Client Secret. Please follow the next guide for instructions:

    How to integrate PayPal Checkout with your form

    When the PayPal Checkout integration is used, the payment is being authorized in a pop-up window, and processed upon the form submission.

    2) Alternatively, you may consider using a standard PayPal integration. The standard integration is easier to configure, only your PayPal account number is required. To do this, you can remove the PayPal Checkout field, and then add the PayPal standard field.

    PayPal Checkout Integration: Need help setting up the payment option for donations Image 1 Screenshot 20

    When the standard PayPal integration is used, the user is being redirected to the PayPal after hitting the form Submit button.

  • SecondHend
    Replied on March 25, 2019 at 12:42 AM

    I ended up having to go the PayPal Checkout route because I couldn't get the "simple" PayPal option to work.  I need the payment button to direct adopters to the following PayPal (Giving Fund) link:  paypal.com/us/fundraiser/charity/2723224 -- but I cannot figure out how to set that up.  Can someone please assist?


    Also, is there any way for me to have the adoption fees automatically calculate based off of the number they type in at the top, plus the changing rates based on our fee chart (the fees go down every so often the more birds they adopt)?

  • Ashwin JotForm Support
    Replied on March 25, 2019 at 6:16 AM

    Both the question you have mentioned is completely different set of requirement.

    I need the payment button to direct adopters to the following PayPal (Giving Fund) link:  paypal.com/us/fundraiser/charity/2723224 -- but I cannot figure out how to set that up.  Can someone please assist?

    Do you want users to be redirected to the PayPal fundraiser page? You cannot achieve it by adding payment tool in form. You need to remove the payment tool in form and add PayPal fundraiser page URL in the redirect thank you URL of your form. The following guide should help you how to redirect users to another page:  https://www.jotform.com/help/38-Redirecting-Users-to-a-Different-Page 

    Please take a look at the following cloned form where I have added the thank you URL to  redirect users PayPal fundraiser page:  https://www.jotform.com/90832942339968


    Also, is there any way for me to have the adoption fees automatically calculate based off of the number they type in at the top, plus the changing rates based on our fee chart (the fees go down every so often the more birds they adopt)?

    Yes it is possible to achieve your requirement by adding payPal payment tool in form. Please let us know how the rate will change which you want to pass it on to payment field and we will try to help you. 

    We will wait for your response.

  • SecondHend
    Replied on March 25, 2019 at 12:48 PM

    OK, so you’re saying for me to get adopters to go to the PayPal Giving Fund link, I have to direct them there from the “thank you” page AFTER they submit the form?  If that’s the case, I guess that’ll have to work.  But can we still have the $ total calculate beforehand so they know how much they owe?

    If you refer to the chart on our adoption form, that’s how we want the fees to calculate.  For example, if someone wants 1 - 4 chickens, the adoption fee will be $10/hen.  Then it goes down to $9/hen if they adopt 5 - 10.  We’d also like to leave it open for them to donate more if they want to.

    1553532458F66FE5FB 5E5D 4F6F B567 5C9A2C Screenshot 10

  • Ashwin JotForm Support
    Replied on March 25, 2019 at 1:24 PM

    Yes it is possible to calculate and display the amount based on the number of hen to adopt. I have cloned your form and working on the calculation. I will get back to you on this soon.

  • Ashwin JotForm Support
    Replied on March 25, 2019 at 1:37 PM

    Please take a look at the following cloned form where I have added the condition to calculate the amount based on the chart you have shared:   https://form.jotform.com/90832942339968 

    Feel free to clone this form for a closer look at the condition. The following guide should help you in form cloning:  https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL

    Hope this helps.

    Do get back to us if you need any other changes.

  • SecondHend
    Replied on March 26, 2019 at 1:26 AM

    That's exactly what I'm want to happen, but it won't let me clone the form...  I keep getting the following error:  Unauthorized request. You do not have access to this form.

    What should I do now?

    Lastly, is there a way to set the fields up so that when they're filled-out, it makes sure the information is legit/accurate?  For example, in the address box if they type in "123 Blah Street" just to get past the field, it'll give an error until they put in an actual address.

  • Ashwin JotForm Support
    Replied on March 26, 2019 at 2:59 AM

    This is strange. I have not enabled privacy in my account and you should be able to clone my form in your account. I have gone ahead and cloned form in your account and you should be able to access it in your account: http://www.jotform.us/form/90841500812146  

    For your second question, I would suggest you to please take a look at our "Autocompleted Address" widget and see if that fits into your requirement. User needs to select an address before form can be submitted.

    Hope this helps.

    Do get back to us if you have any questions.

  • SecondHend
    Replied on April 7, 2019 at 8:04 PM

    OK, I think I've got *almost* everything taken care of...  I do have one (hopefully) final question.  We ask adopters if they will be coming from out-of-state to pick up their birds.  If the answer is "yes," a health certificate is required by law.  Each certificate can cover UP TO 5 hens each.  So we need to find a way to have the adoption fee calculate an additional $15 for each extra health certificate that would be needed based on the number of hens they want to adopt.

    For example:  If they want anywhere from 1-5, it's an extra $15; 6-10 is $30; 11-15 is $45; and 16-20 is $60.  And if the answer is "no," the existing amount is left as-is.  Can this be done?  We're not too worried about the larger batches since we don't expect anyone coming from out-of-town for more than 20 or so (and it would be near impossible for our veterinarian to handle).  But if someone were to want more than 20, I can just copy the condition and try to add something myself.

  • Ashwin JotForm Support
    Replied on April 8, 2019 at 2:07 AM

    Yes it is possible. I have cloned your for #90841500812146 and will work on your requirement. I will get back to you on this soon.

  • SecondHend
    Replied on April 9, 2019 at 4:33 AM

    Are there any updates on this?  Thanks!

  • Ashwin JotForm Support
    Replied on April 9, 2019 at 5:12 AM

    Please accept my apology for the delay. Please take a look at the following cloned form where I have added the conditions to achieve your requirement:   https://form.jotform.com/90971284668976

    Feel free to clone this form for a closer look. The following guide should help you in form cloning: https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL 

    Hope this helps.

    Do get back to us if you have any questions.

  • SecondHend
    Replied on April 9, 2019 at 9:21 AM

    Thank you!  It seems to be working except when any number from 1-5 is used.  It doesn’t calculate anything, it just stays blank.

  • SecondHend
    Replied on April 10, 2019 at 12:50 AM

    Once again I get an error when trying to clone the form you sent a link to (Unauthorized request. You do not have access to this form).  I was going to see if I could figure out the issue referenced above about 1-5 not calculating if I select "yes" for being from out-of-state.  Please assist.  I need to get this up-and-running ASAP due to an adoption event happening very soon.  Thank you!

  • Ashwin JotForm Support
    Replied on April 10, 2019 at 2:28 AM

    Sure, I will rectify the issue related to 1-5 numbers and get back to you. I will also move the form to your account after I fix the conditions.


  • SecondHend
    Replied on April 10, 2019 at 3:35 AM

    Awesome -- thank you!  :)

  • Ashwin JotForm Support
    Replied on April 10, 2019 at 5:58 AM

    I have fixed the calculation issue of 1-5 and cloned my form in your account. You should be able to see the cloned form in your account: https://form.jotform.com/90992699240167

    Please test this form and get back to us if you see any other issue.

    We will wait for your response.

  • SecondHend
    Replied on April 10, 2019 at 11:27 AM

    OK, it looks like it’s working now.  Thank you!

    I noticed a few small changes and can’t figure out how to fix them myself.  I’m trying to get the bars where the numbers go for “Number of hens you would like to adopt” and “Adoption fee” short like they were before.  Is that do-able?  Also, the small subtext that shows up under “Are you from out-of-state” is all crammed to the left while all other subtext on the form is stretched out and looks neat.  Is there a way to make it stretch out as well so things look uniform?

  • Welvin Support Team Lead
    Replied on April 10, 2019 at 12:52 PM

    You can change the width in the field settings - if that's what you meant to adjust.

    15549149442019 04 11 002 Screenshot 10

    I've also fixed the sub-label with custom CSS codes. Check the CSS in the CSS tab under Form Designer. Guide here How to Inject Custom CSS Codes