Do you want to add PayPal in your forms on WordPress? PayPal is one of the largest online payment gateways out there and enables you to send and receive money almost anywhere.
Maybe you want to create an order form or you are a freelancer and want to receive payments from clients, integrating PayPal in your forms helps you in a lot of ways.
In this tutorial, I will show you how you can add PayPal in your forms on WordPress.
How add PayPal in your forms
Add PayPal in your forms on WordPress is not super easy. That’s why we are using WPForms, which is the most popular and powerful form building plugin for WordPress.
WPForms’s PayPal Standard Addon helps to connect PayPal into your form in just one simple click.
Step- 1. Setup WPForms
After purchasing WPForms, login to your WordPress dashboard and Install and activate the plugin.
Once you have done doing it, Click WPForms > Addons and install the PayPal Standard Addon.
Next, we are going to create our form with WPForms in WordPress.
Step- 2. Creating your form
WPForms is a drag and drop form builder plugin, so for creating any type of form, you don’t need any coding knowledge.
And their pre-made templates help to create any type of form in just one single click.
Click on WPForms > Add New, enter the name of your form, and select a template. If you want to create your form from scratch, choose the ‘Blank Form’ template.
For this tutorial, I will be going to select the Billing / Order Form.
If you add any extra fields, simply hover-over on that field and drag it from left to right. And to delete any field, hover-over on that field and click the delete icon.
Step- 3. Add PayPal to your form
To add PayPal to your form, click on the Payments tab from your left, and choose PayPal Standard.
Here you need to configure all the settings properly. Before configuring it, make sure you already created an account in PayPal.
a. Check the box called ‘Enable PayPal Standard Payments’
b. Enter your PayPal email address.
c. Here you can see two types of mode, one is ‘Production’ and another is ‘Test/Sandbox.
If you want to test your form, then select ‘Test/Sandbox’ mode, but after your test is complete, don’t forget to select ‘Production’ mode and click save.
d. Choose the type of payment. If you have a donation form, then select the ‘Donation’ and if you have a product or service selling form, then select ‘Products and Services’.
e. If someone cancels the payment, you can send them to another page. And for that, enter the URL here where you want to redirect them.
f and g. You can also customize the shipping address options, and choose whether to ask donors to include a note during the PayPal checkout.
h. Conditional logic helps to show different content based on a user’s selections.
Please read our Order Form article to learn more about Conditional Logic.
In the end, don’t forget to click Save to save all the changes.
Step- 4. Adding your form on your pages
You can add this to any of your pages, posts, sidebars, also if you want you can use this form with your page builders (like Elementor, Divi, Beaver Builder, etc.).
Also, you get a specific shortcode for your form, with this you can show your forms where you want.
To add your form to your page, create a new page or edit your existing page and search for WPForms in your Guternerg editor and choose the form you want to add.
Now you have successfully integrated PayPal in your WordPress form.
Thanks for reading this article. If you like it, don’t forget to share it with your friends and family.