What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    PayPal in sand box mode returning internal server error

    Asked by omatuska on April 07, 2017 at 04:50 AM

    Some of my colleagues receive this error with PayPal in the sandbox mode. Will PayPal work correctly when we publish the survey with the sandbox mode off?


    This is the error:


    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, webmaster@paypal.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.


    The error appears immediately after clicking submit. Unfortunately, it is not consistent, sometimes it is present, sometimes the payment can be made without problems.

    Page URL:

  • Profile Image
    JotForm Support

    Answered by Nik_C on April 07, 2017 at 05:56 AM

    You had some problems in conditions and form calculations, I fixed that:

    But I was able to replicate this issue with submitting the form, Internal server error.

    But when I tested with our sandbox account it worked fine. 

    Please check if your Sandbox account is sandbox account and if it is set properly. You can check more here: https://developer.paypal.com/docs/classic/lifecycle/ug_sandbox/

    If the issue persists please let us know.

    Thank you!

  • Profile Image

    Answered by omatuska on April 07, 2017 at 06:13 AM

    Thank you for a quick reply. I do not have a sandbox account. I simply use my standard account but I used the SandBox switch in the PayPal widget options to turn the sandbox mode on. May this be causing the problem? Do I need a separate sandbox account for the sandbox mode to work?

  • Profile Image
    JotForm Support

    Answered by Mike_G on April 07, 2017 at 07:16 AM

    On behalf of my colleague, you're most welcome.

    Yes, you need to have a PayPal sandbox test account for the sandbox mode of the PayPal payment integration.

    Once you are logged with your PayPal account, click the link below to access the PayPal Developer website.


    On the page, under Sandbox, select Accounts and click the Create Account button.

    You need to make two different account types, personal and business.

    The business type account will be used as the merchant. This is what you will use with the PayPal payment integration in Sandbox Mode.

    The personal type account is the one that you will use when making test payment submissions.

    More information on how you can test your PayPal payment form is found in this guide: How-to-Test-Paypal-Payment-Form

    I hope this helps. If you have any further questions, please feel free to contact us again anytime.

    Thank you.

  • Profile Image

    Answered by omatuska on April 07, 2017 at 07:19 AM

    Many thanks for your clear and informative answer.