How to Test Your PayPal Payment Form

April 25, 2024

There are two easy ways to test your PayPal payment form. You can either make an actual payment or use PayPal Sandbox mode.

Youtube Embed Poster: b2MfQF1QG9s

Creating a PayPal Sandbox Account

PayPal Sandbox is a virtual testing environment that mimics the live PayPal production environment. It works similarly to making an actual PayPal without using real credit cards or live PayPal accounts.

There are two different sandbox account types:

  • Personal — Use for the PayPal Personal integration.
  • Business — Use for the PayPal Business integration.

Let’s assume you’ll be testing with PayPal Business. In this case, you must create a Sandbox PayPal Business account. Here’s how you can do it:

  1. Log in to the PayPal Developer Dashboard.
  2. Click the Sandbox Accounts option under the Testing Tools menu.
Sandbox Accounts menu on PayPal Developers dashboard
  1. Click the Create Account button.
Create account button on PayPal Developers dashboard
  1. Select the following:
    • Account Type — Choose Business since you’ll be integrating with PayPal Business.
    • Country/Region — Choose your preferred location. You can choose from multiple available locations that PayPal supports.
Create Sandbox Account window on PayPal Developers dashboard
  1. Click the Create Account button to create the sandbox account. You should receive a confirmation message in the same window. The newly created account will also appear on top of your existing accounts.
  2. Now, click the sandbox account that was just created to view its login information and other options.
List of Sandbox accounts on PayPal Developers dashboard

Here’s an example based on the above steps:

Sandbox account information on PayPal Developers dashboard


Jotform recommends creating two sandbox accounts. One account for the integration, and the other one is for making the test payment later.

Setting up the Sandbox PayPal Business Integration

Setting up the sandbox integration is the same as setting up the live integration. The only difference when setting this up is you’ll be connecting your PayPal Sandbox account.

  1. In the Form Builder, click the Add Form Element button.
  2. Go to the Payments tab.
  3. Search for and click PayPal Business from the list. You can also drag/drop it to add.
PayPal Business added on the form in Jotform Form Builder
  1. Select Test Mode first from the Mode dropdown. This is important as it tells the integration to use a sandbox environment.
Test Mode in the PayPal Business integration settings in Jotform Form Builder
  1. Click the Connect button and log in to the sandbox account you created earlier. Once successful, you should see the green connected button.
Sandbox account connected in the PayPal Business integration in Jotform Form Builder

Set the integration to Sell Products. Click the Continue button at the bottom, and add your product items.

Testing by Making Payment Using a Sandbox PayPal Account

After adding the test product items, preview your form and pay using the other sandbox account you created, as stated in the note block above. To pay with a credit card, you can get a test card through this page: PayPal: Test Credit Card Generator.

Testing by Making an Actual Payment

If you are not convinced of the test using a sandbox account, connect a live PayPal account to your form. This time, create a test product and price it with 0.01 or any price that works for you.

Live Test Product in the PayPal Business integration in the Jotform Form Builder

Preview the form after, and pay using your debit/credit card that’s not associated with any PayPal account.

Contact Support:

Our customer support team is available 24/7 and our average response time is between one to two hours.
Our team can be contacted via:

Support Forum:

Contact Jotform Support:

Send Comment:

Jotform Avatar
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


  • D Williams - Profile picture