How to create a WordPress registration form with payment option (PayPal)

How to Create a WordPress Registration Form With Payment

If you’re still manually creating WordPress user accounts after someone pays you through a separate PayPal link, this guide will save you hours of administrative work.

The solution is to automate the entire process on a single form. When a user fills it out and pays, their WordPress account gets created instantly, with the correct user role assigned.

This tutorial walks you through that exact setup. We’ll combine the power of the WPForms User Registration and PayPal Commerce addons to build a form that handles everything in one step.

Create a Registration Form with Payments Enabled! 🙂

How to Create a WordPress Registration Form With Payment

You have several options for collecting payments on your WordPress site. If you’re building a registration form, the easiest thing to do is to use a drag-and-drop form builder plugin like WPForms that connects to a payment gateway. Follow the steps below to get started:

Step 1: Install and Activate the WPForms Plugin

To build a form that can both register a user and take their payment, you need a single tool that can handle both actions in one submission.

WPForms solves this by integrating both functions into one form. For this process, you will need a WPForms Pro license, which basically unlocks two essential addons.

The User Registration addon that creates the WordPress user account, and the PayPal Commerce addon, which processes the payment.

The WPForms pricing page.

Once you’ve purchased your license, install and activate the WPForms plugin. If you need help with this, you can follow our step-by-step guide on how to install a WordPress plugin.

Pro Tip:

Before you start, make sure you have a PayPal Business account, not a Personal one. The PayPal Commerce integration requires a Business account to access the necessary API credentials.

Attempting to connect a Personal account is the most common reason for setup failure, so confirming this now will save you a lot of trouble later.

Get WPForms Pro Now! 🙂

Step 2: Install the User Registration + PayPal Commerce Addons

With WPForms Pro installed, you now have access to the powerful addons that make this automation possible. To get started with this step, head into the WordPress admin area and click through WPForms » Addons. 

Accessing the WPForms addons screen

Then scroll down till you find the User Registration Addon, or use the search bar. When you find it, click Install Addon. This addon is what allows your form to create a new WordPress user account upon submission.

A red arrow pointing towards the install addon button

Next, on the same screen, search for the PayPal Commerce Addon and install it as well. This is the addon that will handle the secure payment processing.

Installing the PayPal commerce addon

Once both addons show a green Active status, your site is equipped to handle both user creation and payments within a single form.

Pro Tip:

The power of using these two addons together is that you can configure your form to create the WordPress user account only after the PayPal payment is successfully completed.

This prevents non-paying users from getting access to your members-only content and eliminates the need to manually delete unpaid accounts.

Step 3: Configure PayPal Commerce in WPForms

This next step creates the secure, one-time connection between your WordPress site and your PayPal account.

From your WordPress admin area, navigate to WPForms » Settings and click on the Payments tab.

Accessing the Payments tab in WPForms

From there, scroll down till you find the section labeled PayPal Commerce, then click Connect with PayPal Commerce.

Connecting to PayPal Commerce

You’ll be redirected to PayPal’s secure login page. This is a standard OAuth process, which means you’re authorizing the connection without ever sharing your password with WPForms.

Make sure to log in with the email address associated with your PayPal Business account, as Personal accounts do not support this integration.

Enter your PayPal email

After completing the short setup on PayPal’s end, you’ll be sent back to your WordPress dashboard. You should now see a green checkmark and a Production status, confirming that your form is ready to accept live payments.

Checking the connection status in WPForms

For now, I strongly recommend enabling Test Mode by checking the box. This lets you test your entire registration and payment workflow without using real money.

Putting PayPal into test mode

When you have your settings where you want them, you can click the Save Settings button. Now we’re going to create our new form.

Pro Tip:

Use Test Mode to run a full end-to-end test of your registration process. Create a test user, complete the form, and use PayPal’s sandbox credentials to simulate a payment.

Confirm that the payment registers, the user receives their confirmation email, and their new WordPress account is created with the correct user role.

Step 4: Create a User Registration Form in WordPress

Now that your addons are active and PayPal is connected, you can create the form itself. The fastest way to build a reliable registration form is to start with a pre-built template.

For this example, I’ll use the User Registration Form template, which is only available to Pro version users with the User Registration Form addon enabled.

However, the Online Event Registration Form Template could also work for this purpose. To create the user registration form, click on WPForms » Add New.

Adding a new form in WPForms

This will open up the WPForms template gallery, where you’ll find hundreds of pre-built form templates. You can find the User Registration Form template using the search bar. Click Create Form to select it.

Select the User Registration Form template

The User Registration Form Template will now open in the WPForms form builder. You’ll see the form template in the preview area on the right of your screen, with the form field panel on the left.

Customize the user registration form with the form builder

You can add custom fields or remove form fields using the drag-and-drop editor to customize your form to suit your needs.

If you’d like to learn more about setting up and configuring the user registration form, here’s a comprehensive guide to using the user registration addon.

When your user registration form is customized to your liking, the next step will be enabling PayPal Commerce on the form.

Pro Tip:

Before you add any payment fields, go to the Settings » User Registration tab for your form. This is where you map the form fields to the new WordPress user profile and, most importantly, set the User Role.

You can assign new users to be a Subscriber, Contributor, or any other custom role, which is perfect for controlling access to members-only content automatically upon successful payment.

Step 5: Enable PayPal on Your User Registration Form

With your user registration form set up, the final step we’ll take is enabling the PayPal Commerce field on the form.

From the form builder, find the PayPal Commerce field under the Payment Fields section and drag it onto your form.

Select the PayPal Commerce field

After adding the field, a popup will prompt you to enable PayPal payments in your form’s settings. Click OK to jump directly to the Payments » PayPal Commerce tab.

A PayPal Commerce popup

Before you hop into the Payments tab, you may want to play around with the PayPal Commerce field first. Simply click on it to open Field Options on the left of your screen.

Here, you can choose which payment methods and credit cards you’d like to use on your site. And you can also change some styling and other optional settings in the Advanced tab.

Field options for PayPal Commerce

Now that we’re done working in the PayPal Commerce field, navigate over to the menu on the left sidebar and click on Payments » PayPal Commerce to get to the PayPal payment settings page.

PayPal Commerce integration

PayPal Commerce supports both one-time and recurring payments. You’ll need to enable at least one to fully set up PayPal Commerce on your user registration form. We’ll go with one-time payments for this guide.

Enable one-time payments

One thing to remember is that you can add both one-time payment and recurring payment options, but you’ll need to use conditional logic to determine which one to apply on a case-by-case basis.

Next, you may want to look at a few optional settings. These fields are set up to automatically pull corresponding data from the new user registration fields to the PayPal Commerce field:

  • Name
  • Email
  • Billing Address
  • Shipping Address
PayPal field settings

Just use the dropdowns to select the appropriate form fields for each item. For a detailed guide to PayPal Commerce settings, here’s our PayPal commerce addon documentation.

Once you’re done with these settings, there’s just one more step you’ll need to take. You’ll need to enable Ajax form submission for the PayPal Commerce field to work.

Access your form settings from the left sidebar menu by clicking Settings » General » Advanced. Now you can toggle the Ajax form submission button to enable it.

Enable AJAX form submission

This prevents the entire page from reloading when the user submits the form, which is essential for modern payment gateways and reduces the chance of abandoned registrations.

Pro Tip:

Create different registration tiers by combining the PayPal field with conditional logic. For example, add a “Membership Level” dropdown with “Free” and “Pro” options.

Then, set a rule on the PayPal field to “Show this field ONLY IF Membership Level is Pro.” This allows you to offer both free and paid registration options on a single, intelligent form.

Step 6: Publish Your Registration Form With Payment

With your form fully configured, the final step is to add it to your website. WPForms makes this easy with a built-in embed wizard that prevents the copy-paste errors that can happen with shortcodes.

So, to wrap things up, publish your form by clicking the Embed button at the top right corner of the form builder page. A dialog box will appear.

Embed form button

To create a dedicated signup page, click Create New Page. WPForms will then ask you to name the page. Give it a clear title like “Event Registration” or “Membership Signup” and click Let’s Go.

Decide how you want to embed your form

You’ll be taken directly to a new page in your WordPress editor with your form already in place. Simply click Publish, and your registration and payment form is live.

Publish your page when you're finished

When you check this page on the front end, you’ll see that you have a fully functional PayPal registration form. Aside from the payment, the information that users enter in the form will be used to set up their user logins.

WordPress registration form with payment

Note that it’s also possible to embed your forms using a shortcode or widget, as well. You can also create a group registration form with repeatable fields.

With the repeater field feature, your website visitors can add and remove fields as needed. And that’s it. Your registration page is complete!

Pro Tip:

For a paid registration page, a focused design is proven to increase conversions. Keep your page clean and remove any unnecessary sidebars, widgets, or popups that could distract users from completing their payment.

FAQs About WordPress Registration Forms With Payment

Here are answers to the most common questions about creating registration forms that accept PayPal payments in WordPress.

How do I create a registration form with PayPal in WordPress?

The easiest way is with WPForms Pro. First, install the User Registration and PayPal Commerce addons. Then, create a new form using the User Registration Form template.

Add a payment amount using a Single Item field, drag the PayPal Commerce field onto your form, and enable PayPal payments in the form’s settings.

Can I create a registration form with payment for free?

While you can create basic forms for free, combining user registration with a payment gateway like PayPal requires a premium plugin like WPForms Pro.

This is because the process involves two separate, complex actions (creating a user and processing a payment) that must be handled in a single, secure transaction.

What’s the best WordPress plugin for a registration form with payment?

WPForms is the best choice because it seamlessly integrates both the user registration and payment processes into one plugin.

The User Registration addon creates the WordPress account, while the PayPal Commerce addon handles the payment securely.

How do I integrate a PayPal payment form into my WordPress site?

With WPForms, you don’t have to deal with complicated code. Once you’ve created your form and enabled PayPal in the payment settings, you can add it to any page, post, or sidebar using the dedicated WPForms block in the WordPress editor.

How do I connect my PayPal account to a WordPress form?

In your WordPress dashboard, go to WPForms » Settings » Payments. In the PayPal Commerce section, you’ll find a button to “Connect with PayPal Commerce.”

This will securely redirect you to PayPal to authorize the connection, and then send you back to your site. You only need to do this once.

Do I need a PayPal Business account for this to work?

Yes, a PayPal Business account is required to use the PayPal Commerce integration. Personal PayPal accounts do not have access to the necessary API features to process payments through a website form.

Can I offer recurring payments or subscriptions on my registration form?

Yes, the WPForms PayPal Commerce addon supports both one-time and recurring (subscription) payments. In your form’s payment settings, you can easily configure a recurring payment schedule for memberships or ongoing access.

Next, Customize Your Email Notifications

Ready to take your email notifications to the next level? Don’t miss your chance to reach users after they click the submit button. Learn to connect WPForms to ChatGPT to send AI-generated form notifications.

You can also attach files to your notification emails. This is useful if you have an eCommerce store to sell digital downloads.

Create a Registration Form with Payments Enabled! 🙂

Ready to build your form? Get started today with the easiest WordPress form builder plugin. WPForms Pro includes lots of free templates and offers a 14-day money-back guarantee.

If this article helped you out, please follow us on Facebook and Twitter for more free WordPress tutorials and guides.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPForms is funded, why it matters, and how you can support us.

Claire Broadley

Claire is the Content Manager for the WPForms team. She has 13+ years' experience writing about WordPress and web hosting. Learn More

The Best WordPress Drag and Drop Form Builder Plugin

Easy, Fast, and Secure. Join over 6 million website owners who trust WPForms.

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

This form is protected by Cloudflare Turnstile and the Cloudflare Privacy Policy and Terms of Service apply.