Paypal is not working correctly with the form I created.

  • kylelear
    Asked on March 23, 2021 at 6:19 PM

    Paypal is not working correctly with the form I created. It is not allowing anyone to log into their Paypal account when they choose to pay.

  • Rehan Support Team Lead
    Replied on March 24, 2021 at 1:49 AM

    Greetings,

    I've just tried submitting your form and I was able to successfully log in to my PayPal account.

    1616564943 605ad2cf4befa  Screenshot 10

    Kindly ask your users to try it in a different browser. Are you also able to replicate the issue?

    Thanks

  • george.dem.1984
    Replied on March 24, 2021 at 2:07 AM

    Cause

    PayPal has updated to a new, streamlined checkout experience. When your customer checks out, PayPal's checkout window displays the transaction amount and asks how to proceed:

    • If the customer wants to pay with funds from their PayPal account, they enter their PayPal account user ID and password and clicks Log In. (To remain logged in with OneTouch, the customer can also click on the OneTouch check box.)
    • If the customer prefers to use a different payment method, they click Pay with Debit or Credit card.

    Most integrations work with this new PayPal checkout automatically. However, some integrations have issues that cause the user experience to fail. Some of the most common reasons for failed validation checks are:

    • Passing currency symbols ("$", "£", etc.) or values other than integers (1, 2, 3, etc.) and decimal points (“.”) in the amount field. For example, "1234.50" is correct, but "$1,234.50" isn't allowed.
    • Passing country code values greater than two letters. For example, "FR" is correct, but "France" or "fr_FR" isn't allowed.
    • Passing more than 127 characters in the item_number field. For example, don't use the item_number field for "Note to Buyer" information.
    • Passing more than 64 characters in the option fields (on0on1, etc.).
    • Passing duplicate empty parameters.
    • Passing address_override=1 without passing an address.

    Solution

    This error may occur only for certain transactions. If you have many items for sale, only some may exceed character limitations or pass invalid values as part of the transactions. You should test all available options to identify which ones lead to an error message. Once you find the affected transactions, review the HTML Variables for PayPal Payments Standard to troubleshoot your integration.

    • The original author or web developer who created your page with PayPal checkout buttons may be the best person to investigate and resolve these problems. Please contact them if they're available.
    • If you use third-party shopping cart software, such as a hosted shopping cart or software that you installed on your web server, the developer of that software may need to correct a problem in their code. Contact your cart provider directly and have them review this guide.
    • For websites that use static HTML, examine your HTML directly to see if there are problems in the values being directed to PayPal. For example, in the following code, the value of the amount field is "$1,000.00," which contains invalid "," and "$" symbols. It should be updated to "1000.00."
    •  
    <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
       <input type="hidden" name="cmd" value="_xclick">
       <input type="hidden" name="business" value="PayPalMerchant@example.com">
       <input type="hidden" name="item_name" value="Widget">
       <input type="hidden" name="amount" value="$1,000.00"> <--Problem: Remove currency symbol and comma ("1000.00")
       <input type="hidden" name="currency_code" value="USD">
       <input type="submit" value="Old PayPal checkout">
    </form>
    
    • For more complex websites, such as those that use JavaScript or server-side software before redirecting the customer to PayPal, you may need to log the variables sent to PayPal. You can do this in your own code, or you can try using a browser tool, such as Google Chrome.

    • Here’s how:
    1. Go to Developer Tools > Network, clear the log, and enable the Preserve Log option.
    2. Click a page action that would redirect a customer from your site to PayPal.com. If this opens a second window, you may need to enable Preserve Log in that window and then go back and redo the same page action in the original window.
    3. Once you have a list of events, look for the first event named webscr, select it, then check the section titled Form Data

    Note: For more help resolving this issue, visit our Merchant Integration Technical Support Community.

  • kylelear
    Replied on March 24, 2021 at 12:44 PM
    https://form.jotform.com/210807458524154
    It acts like it is not connecting to Paypal. Not sure what I might be
    doing wrong.
    ...
  • Kat JotForm Support
    Replied on March 24, 2021 at 7:22 PM

    Hi again,

    Happy to help!

    Could you please try disconnecting and then reconnecting your PayPal integration and then testing the form again?

    Thank you!

  • kylelear
    Replied on March 24, 2021 at 8:44 PM
    It keeps disconnecting on its own.
    ...
  • Rehan Support Team Lead
    Replied on March 25, 2021 at 12:20 AM

    Greetings,

    Could you please try the PayPal checkout integration instead? You can follow the instructions in the guide below to activate it.

    https://www.jotform.com/help/542-how-to-integrate-form-to-paypal-checkout

    Should you need further assistance then please let us know.

    Thanks