The Ninja Forms PayPal Checkout add-on needs to be installed and activated to see the features mentioned in this this documentation.
Connect PayPal Checkout to your PayPal account
1. Navigate to the PayPal Onboarding option under Ninja Forms in your WordPress dashboard. Here you will be able to connect to your PayPal Business account (or create one) to begin accepting payments live, and/or in sandbox (testing) mode.
2. Click Begin LIVE onboarding authorization to connect the add-on to your PayPal account. This will launch PayPal’s account creation or login sequence. Just follow the steps to login and connect, or create and connect. This step is required to begin taking live payments from customers.
3. Click Begin SANDBOX onboarding authorization to connect in the same manner to enable sandbox testing of payments on your forms. This step is optional but recommended. Using sandbox mode on your forms, you will be able to test that payments can complete successfully before a form goes live, or at any time after. This step does not turn Sandbox mode on. Sandbox mode can be enabled/disabled on a per form basis from inside any form (see Configure the PayPal Checkout action section below). This step only enables Sandbox functionality.
Set up a form to take payments
To begin taking payments from a form, you’ll need to add and configure a PayPal Checkout action on that form. The action can be added to as many forms as you like.
Add a PayPal Checkout action
To add the action to any form, from the Emails & Actions tab click Add New Action and then the PayPal action from inside the Actions Window that opens.
Open the form you want to accept payments from and:
- Click on the Emails & Actions tab
- Click Add New Action to open the actions window
- Click the PayPal Checkout action to add it to your form
Configure the PayPal Checkout action
Once the action has been added to the form, the actions setting window will open automatically. This is where you can configure your new action. You can return to this window at any time by clicking PayPal Checkout from the list of actions on the Emails & Actions tab of the form.
- You can change the name of the action here. This is for admin purposes only; only the display name of the action in Emails & Actions will be changed.
- Choose here if you want to take a payment of a fixed amount, from a form calculation, or from an user-entered amount. See the Get Total From section below.
- Enable the payment types you want to appear for the customer on checkout. Green/switch on the right = enabled, Grey/switch on the left = disabled.
- Enable or disable Sandbox mode here. This is for testing only. If it is enabled, your form will not accept payments from customers. Leave disabled to accept live payments, enable if you want to test payment functionality with your PayPal sandbox account.
Get Total From
This setting tells the form how/where to get the total that will be sent to PayPal. In the Get Total From section of the action settings you will see 3 options:
Migration to PayPal Checkout from PayPal Express
If you are a currently using the PayPal Express add-on for Ninja Forms and need to migrate to PayPal Checkout, please follow the below steps. If you are a new PayPal Checkout customer, you can safely disregard the steps below.
- Install/activate the PayPal Checkout add-on
- Go to Ninja Forms > PayPal Onboarding and complete onboarding
- One form at a time, open first PayPal form, add Checkout action, set it up, double check that any logic targeting old Express action is now targeting new Checkout action, disable PayPal Express action
- Test form in sandbox mode; after confirming it functions as expected, switch the form to ‘live’ mode to start accepting payments using the new PayPal Checkout
- Repeat steps 3 & 4 for each PayPal form
- Return to Ninja Forms > PayPal Onboarding and confirm that no forms are listed as still using PayPal Express
- Deactivate the PayPal Express add-on
If you need help at any stage, please contact us. We’re happy to assist!