Now you can collect PayPal payments through your WordPress website forms.
WPForms will allow you to accept payments by integrating PayPal into it.
Let’s see how to get it done in simple and easy steps.
Step 1: Installing PayPal Addon and Form Creation
Install and activate WPForms as well as PayPal addon s on to your WordPress website.
Once this is done, we’re going to add PayPal in your WPForms.
For this, first, you have to create a form.
In this example, we are creating a billing/order form.
The form appears with the default fields.
PayPal needs only a single field to work properly with WPForms.
Step 2: Add PayPal to the Form
Now let’s connect PayPal to your form.
Go to the Payments section and then PayPal Standard.
Check the ‘Enable PayPal Standard payments’ box.
You can fill in the remaining boxes and once you are ready, click on the ‘Save’ button to save the payment details.
Step 3: Set Up Conditional Logic
The conditional logic is a smart Form which changes the options on your forms based on the user’s selection.
To begin with, open the form builder, go to payments and then PayPal standard.
Tick the box labelled ‘Enable Conditional Logic’.
Now a set fo additional boxes will appear and you can decide when the user should be sent to PayPal to complete the payment process by filling in the details.
For example, you only need to send users to the Paypal only if they are willing to signup for the workshop.
For this, you will have to add a drop-down asking whether they would like to signup and allow them to choose from the options.
The users will only be taken to Paypal only if they would like to sign up for the workshop.
This way you can condition your WPForm.
Step 4: Test your Form
You can test your WPForm by running a test entry by pretending to be a user.
Going all the way till the PayPal option and carrying out a small transaction is also highly recommended to ensure everything is working well.