### [Testing PayPal Standard Payments](https://wpforms.com/docs/how-to-test-paypal-payments-before-accepting-real-payments/)

**Published:** November 23, 2023
**Author:** David Ozokoye

**Excerpt:** Learn how to test your PayPal Standard payments using a sandbox account.

**Content:**

PayPal Standard is a Pro Feature

 Unlock PayPal Standard and other powerful features to grow your business.

 [ Get WPForms Pro ](https://wpforms.com/pricing/) 

Would you like to test PayPal Standard transactions before accepting real payments on your site? By testing the process, you can see the steps your visitors will take while ensuring that the payment process functions as it should.

- [Setting Up a Sandbox Account With PayPal](#paypal-sandbox)
- [Creating a Form to Test PayPal Standard Payments](#test-form)
- [Publishing Your Form and Performing the Test](#publish-form)
- [Viewing Test Payments in WPForms](#view-test-transactions-wpforms)
- [Viewing Test Payments in PayPal](#view)
- [Switching to Live Payments](#production)

This tutorial will show you how to set up and create test PayPal Standard transactions for your forms.

**Note**: You will need a [Pro license level or higher](https://wpforms.com/pricing/) to access the PayPal Standard Addon.

This guide covers how to test payments with the PayPal Standard addon. If you’re looking to test payments with the PayPal Commerce addon instead, please see our tutorial on [testing PayPal Commerce payments](https://wpforms.com/docs/testing-payments-with-the-paypal-commerce-addon/).

---

## Setting Up a Sandbox Account With PayPal

To begin testing, you’ll need a PayPal account. If you don’t have one already, you can [sign up for a new one](https://www.paypal.com/us/webapps/mpp/account-selection "PayPal Account Selection").

Next, you’ll need to go to the [PayPal Developer site](https://developer.paypal.com/ "PayPal Developer") and use your existing PayPal account to log in.

Once you’re logged in, click on the **Testing Tools** dropdown. Then select **Sandbox Accounts** from the dropdown menu.

![Accessing the Accounts section of a PayPal sandbox account](https://wpforms.com/wp-content/uploads/2023/05/select-sandbox-account.png "Select Sandbox Account")PayPal will have already created two test accounts for you: one for a Business account and one for a Personal account.

![The auto-generated PayPal Developer test accounts](https://wpforms.com/wp-content/uploads/2023/05/paypal-sandbox-accounts.png "PayPal Sandbox Accounts")**Note:** If you’d like to learn how to create more test accounts, be sure to check out PayPal’s documentation on [creating and managing sandbox accounts](https://developer.paypal.com/api/rest/sandbox/accounts/#create-and-manage-sandbox-accounts).

Next, you’ll need to set up a password for your Personal test account. This is so that you can log in with this account later to make a test payment.

To create your password, click on the three dots under the settings icon column for the Personal test email. Then click on **View/Edit account.**

![Accessing the account management options for a PayPal Developer test account](https://wpforms.com/wp-content/uploads/2023/05/view-edit-personal-sandbox-account.png "Accessing the Account Management Options for a PayPal Developer Test Account")In the popup window that appears, you’ll see the details for the Personal test profile that was automatically created for you. Next, click **Change password** and enter a password you’ll be able to remember later.

![Changing the password for a PayPal Developer test account](https://wpforms.com/wp-content/uploads/2023/05/change-personal-sandbox-account-password.png "Changing the Password for a PayPal Developer Test Account")Save your password and close the popup.

![Save New Password](https://wpforms.com/wp-content/uploads/2023/05/save-new-password.png "Save New Password")However, keep the Sandbox Test Accounts page open in a separate browser tab or window, as you’ll need to refer to it later.

## Creating a Form to Test PayPal Standard Payments

Before you continue, be sure you’ve [installed and activated WPForms](https://wpforms.com/docs/install-wpforms-plugin/ "How to Install the WPForms Plugin") on your WordPress site. Once you’ve done so and your [license is verified](https://wpforms.com/docs/verify-wpforms-license/ "How to Verify Your WPForms License"), you’ll be able to [install and activate the PayPal Standard Addon](https://wpforms.com/docs/install-activate-wpforms-addons/ "How to Install and Activate WPForms Addons").

After you’ve got everything set up, you’ll need to [create a new form](https://wpforms.com/docs/creating-first-form/ "How to Create Your First Form") or edit an existing one.

If you are creating a new form, you may want to consider using our Billing/Order Form template to speed up the process.

![Selecting the Billing/Order Form template](https://wpforms.com/wp-content/uploads/2021/03/billing-order-form-template.png "Selecting the Billing/Order Form Template")**Note:** Want to learn more about the Billing/Order Form template? See our tutorial on [using templates in WPForms](https://wpforms.com/docs/how-to-use-form-templates-in-wpforms/) for all the details.

Regardless of whether you use a template or build your own form, make sure to include one of the following [payment fields](https://wpforms.com/docs/how-to-choose-the-right-form-field-for-your-forms/#payment-fields "A Complete Guide to Field Types in WPForms"):

- [Single Item](https://wpforms.com/docs/how-to-choose-the-right-form-field-for-your-forms/#single-item "A Complete Guide to Field Types in WPForms")
- [Checkbox Items](https://wpforms.com/docs/how-to-choose-the-right-form-field-for-your-forms/#checkbox-items "A Complete Guide to Field Types in WPForms")
- [Multiple Items](https://wpforms.com/docs/how-to-choose-the-right-form-field-for-your-forms/#multiple-items "A Complete Guide to Field Types in WPForms")
- [Dropdown Items](https://wpforms.com/docs/how-to-choose-the-right-form-field-for-your-forms/#dropdown-items "A Complete Guide to Field Types in WPForms")

![The payment fields in WPForms](https://wpforms.com/wp-content/uploads/2020/09/payment-fields-1.png "The Payment Fields in WPForms")Then, navigate to **Payments » PayPal Standard** and check the box labeled **Enable PayPal Standard payments** to activate PayPal’s settings.

![Enabling PayPal Standard payments for a form](https://wpforms.com/wp-content/uploads/2020/10/enable-paypal-standard-payments-form-builder.png "Enabling PayPal Standard Payments for a Form")Under **PayPal Email Address**, you should then enter the test Business email listed on your PayPal Sandbox page.

![Entering a PayPal Sandbox account in the form builder payments settings](https://wpforms.com/wp-content/uploads/2020/10/enter-paypal-developer-test-business-email.png "Entering a PayPal Sandbox Account in the Form Builder Payments Settings")Then set the Mode to **Test/Sandbox**.

![Putting a form in Test/Sandbox Mode for PayPal payments](https://wpforms.com/wp-content/uploads/2020/10/enable-paypal-test-sandbox-mode-form-builder.png "Putting a Form in Test/Sandbox Mode for PayPal Payments")The rest of the settings on this screen are optional when using the PayPal Standard Addon for testing purposes. Feel free to fill them out or leave them empty for now.

Be sure to save your form before leaving the form builder.

For a ready-to-use example, take a look at our [PayPal Credit Card Payment Form Template](https://wpforms.com/templates/paypal-credit-card-payment-form-template/), which demonstrates how to set up a form with PayPal integration, including credit card payments and detailed order information.

## Publishing Your Form and Performing the Test

Once your form is set up, you can use it to test payments on the frontend of your site. To do so without publishing your form to a live page, you can use the [form preview option](https://wpforms.com/docs/how-to-properly-test-your-wordpress-forms-before-launching-checklist/#preview "How to Properly Test Your WordPress Forms Before Launching") in WPForms, or you can [add your form to a private page or post](https://www.wpbeginner.com/beginners-guide/how-to-create-a-private-post-in-wordpress/ "How to Create a Private Post in WordPress").

To begin your test payment, fill out the form with the Personal test email listed in your PayPal Developer account.

![Filling out a payment form with a PayPal Sandbox email address](https://wpforms.com/wp-content/uploads/2020/10/paypal-test-form-1.png "Filling out a payment form with a PayPal Sandbox email address")After you submit the form, you’ll be redirected to PayPal’s site. Here, you’ll need to log in using the same Personal test email you entered in the form as well as the password you created for it earlier.

To avoid entering login details again in a couple of steps, check the **Stay logged in for faster purchases** option. Then click the **Log In** button.

![Logging in to PayPal with a personal test account email address and password](https://wpforms.com/wp-content/uploads/2020/10/paypal-log-in.png "Logging in to PayPal With a Personal Test Account Email Address and Password")**Note:** PayPal may ask you to agree to its Electronic Communications Delivery Policy before continuing.

Once you’re logged in, you’ll be taken to the Order Summary page. Here, check that the total matches what was listed in your form, then click the **Pay Now** button.

![Completing a PayPal test payment](https://wpforms.com/wp-content/uploads/2020/10/paypal-pay-now.png "Completing a PayPal Test Payment")You’ll then see a page confirming your order.

![A PayPal test payment confirmation](https://wpforms.com/wp-content/uploads/2020/10/paypal-confirmation.png "A PayPal Test Payment Confirmation")## Viewing Test Payments in WPForms

To view and manage all test transactions and their details, simply go to **WPForms** » **Payments** and turn on the **Test Data** option.

![viewing-payments-test-data](https://wpforms.com/wp-content/uploads/2023/06/view-payments-test-data.png "Viewing Payments Test Data")For full details on viewing test and live payment information, understanding transaction trends, adjusting for different currencies, and more, check out our guide to [viewing and managing payments](https://wpforms.com/docs/viewing-and-managing-payments/).

**Note:** Looking to offer discounts to your customers through coupon codes? Check out our [Coupons addon tutorial](https://wpforms.com/docs/coupons-addon/) for all the details.

## Viewing Test Payments in PayPal

Finally, you’ll want to check that the completed order appears in your Personal test account in PayPal. To do this, return to your [Sandbox Test Accounts](https://developer.paypal.com/developer/accounts/ "PayPal Developer – Test Accounts") page on PayPal’s Developer site.

Next, click on the three dots under **Manage Accounts** for the Personal test email. Then, click on **View notifications**. This will open a list of any recent actions taken under this account.

![Viewing notifications for a test account in PayPal](https://wpforms.com/wp-content/uploads/2023/05/view-notifications.png "Viewing Notifications for a Test Account in PayPal")This list will include the receipt from your test transaction.

![A PayPal test transaction notification](https://wpforms.com/wp-content/uploads/2020/10/paypal-test-transaction-notification.png "A PayPal Test Transaction Notification")You can click on the email address for the receipt to open more details and check that they match your test order.

![A PayPal test transaction receipt](https://wpforms.com/wp-content/uploads/2020/10/paypal-test-receipt.png "A PayPal Test Transaction Receipt")## Switching to Live Payments

Before you publish your form, you’ll need to switch its PayPal Standard settings to process live transactions.

To do this, open your form in the form builder and go back to **Payments » PayPal Standard**. Select **Production** from the Mode dropdown. Then add the email address associated with your PayPal Business account in the **PayPal Email Address** field.

![Putting PayPal in Production Mode in the form builder](https://wpforms.com/wp-content/uploads/2020/10/paypal-production-mode.png "Putting PayPal in Production Mode in the Form Builder")**Note:** For more details on how to customize PayPal Standard settings in your form, check out our tutorial on [how to set up the PayPal Standard Addon in WPForms](https://wpforms.com/docs/install-use-paypal-addon-wpforms/).

Remember to save your form again before you exit the builder.

That’s it! Now you know how to test PayPal Standard payments in WPForms.

Next, would you like to let customers choose whether to complete their purchases using PayPal or a credit card? See our tutorial on [how to allow users to select a payment method in your forms](https://wpforms.com/docs/how-to-allow-users-to-choose-a-payment-method-on-your-form/ "How to Allow Users to Choose a Payment Method in Your Form").

**Categories:** Payments, Payment Processing

---

