PayPal Express


The PayPal Expresss add-on needs to be installed and activated to see the features mentioned in this this documentation.

Collecting Payment With PayPal Express

There are two ways to collect payment with Ninja Forms PayPal Express.  You can have either a fixed payment on each form where every user pays the exact same amount, OR you can charge users a dynamic payment based on a specific product they purchase.  Either method starts with the PayPal action.

In the form builder, open your “Emails and Actions” menu and click “Add New Action.”

Add New Action

Choose the “Collect Payment” action

Choose "Collect Payment" Action

Choose “PayPal Express” as your payment gateway.

Everyone pays the same amount (Such as an event registration with a set fee)

To charge everyone who completes your form the same amount, simply change the setting for “Get Total From” to “Fixed Amount and type the amount into the field for “Enter Amount” in the “Collect Payment”/ “PayPal Express” action.  You may also add a note for your payment.  For example, if you were registering users for a 5k race that had a $15 entry fee, your settings would look like this:

When your user completes your form, they will be automatically redirected to your PayPal store page with the total and “note” added to the transaction:

Test Store - shows note and payment amount

That’s it!  You’re done collecting a static payment!

Everyone pays a different amount (Such as a product or quantity sales)

That’s it!  Your form total and field labels will automatically be passed to PayPal as line items.

Example form

PayPal Express API Credentials

The first step to using PayPal with Ninja Forms is getting your API credentials for PayPal.

Please see the guides below for assistance.

Getting Your Sandbox API Credentials
Go to and log in with your PayPal account.

Once logged in, go to your developer Dashboard

Under “Sandbox” on the left sidebar, click “Accounts”, then “Create Account.”

Complete the “Account Details” for your new account to your specifications (add PayPal balance, simulated card details and more), then click “Create Account” at the bottom of the form.

Select the BUSINESS account you’ve created from the “Accounts” screen, and click “Profile”

In the “API Credentials” tab, you will find the credentials for your new test business account.

Sandbox API Credentials


Getting Your Live API Credentials

Simply visit the PayPal Express Checkout page and click “Sign Up Now”.  Complete the questions about your business, and then log in to your PayPal account.

Express Checkout Site

In your PayPal Dashboard, click “Profile”, then “Profile and Settings”

PayPal Dashboard

Under “My Selling Tools” in the left sidebar, find the “API Access” line and click “Update.”

PayPal Profile

Under NVP/SOAP API Integration, click “View API Signature.”  You will find this near the bottom of the page.

PayPal API Selection

Click Show for the “API Username”, “API Password”, and “Signature” respectively.  These are the credentials you will add to Ninja Forms.

PayPal Live API Credentials

Once you have obtained your API keys, input them in your WordPress dashboard under Ninja Forms -> Settings -> PayPal Express.

Ninja Forms API Keys Input

Congratulations!  You’re ready to start accepting payments on your site!


PayPal has certain HTTPS standards that have to be met to be able to accept payments.