The Simple Membership plugin allows you to create PayPal Buy Now buttons for your paid memberships. This will allow you to charge for membership fees when creating a site using the Simple Membership plugin.
The membership payment buttons can be created from the payments menu of the plugin. Once you configure and create the payment button in the plugin, you can add a shortcode to place the PayPal payment button on your membership Join Us or Pricing page. Your users can then pay for your paid memberships using this payment button easily.
Table of Contents
- Configure Your PayPal API Credentials
- Creating a New PayPal Buy Now Button
- Your Customers Point of View
- What Happens After the Payment?
- Configuring a Thank You Page
- Auto Redirect to the Paid Registration Page After Payment
- Buy Now Pay Later Option (PayPal Pay in 4)
- How Can I Test My PayPal Buy Now Button?
- Center Align the PayPal Button
Configure Your PayPal API Credentials
To get started you will need to get your PayPal API Credentials from your PayPal Developer Account. The following documentation explains how to get your PayPal API Credentials.
Getting PayPal API Credentials – Live and Sandbox Client IDs and Secret Keys
Once you have copied your PayPal API credentials into the plugin’s settings, you are ready to make your PayPal payment buttons.
Creating a New PayPal Buy Now Button
The following steps will show you how to create a PayPal Buy Now button for your paid memberships.
Step 1) Navigate to the Payments Menu
Log into your WordPress admin dashboard and go to the WP Membership -> Payments menu.

Step 2) Click on the Create New Button Tab
Click on the Create New Button tab from the payments menu of the Simple Membership plugin.

Step 3) Select the PayPal Buy Now Button Type
Once you are on the Create New Button tab, you can select which type of button you would like to create.
Select the PayPal Buy Now (New API) option and then click next.

Step 4) Configure the Payment Amount and Other Button Details
Once you have clicked the “next” button on the previous step, a screen will appear allowing you to define the parameters of the button you wish to create. See the screenshot below for reference.
On this screen, you can specify various options for your button settings. It is important to note that not all of these settings are mandatory, and some are optional. The following fields are required.
- Button Title (Required)
- Membership Level (Required)
- Payment Currency (Required)
- Payment Amount (Required)
Fill out the necessary information then save the button.

Step 5) Copy the Payment Button’s Shortcode and Use it
Once you have saved the payment button, you can now find it under the Manage Payment Buttons tab. See the following screenshot for reference.

You can now copy the button’s shortcode from the Manage Payment Buttons tab, which can be inserted in the desired location on your website. Typically, the button is placed on your membership join us page.
The button’s shortcode can be placed anywhere that supports WordPress shortcode.
Your site visitors can use this button to pay for your membership fees.
Your Customers Point of View
In this section I will show you how the checkout process works with this type of payment buttons.
How the Payment Button Looks Like
I have placed the button on our “Join Us” page so a user can buy the Gold membership access. The following screenshot shows how it looks like.

How Your Customers Make Payments
By default, the payment buttons will show the option to pay via PayPal, Debit or Credit Card. PayPal will show the most relevant payment options to your customers based on the country/region.
Your customers will be able to use these buttons to pay for your membership fees.

The “Debit or Credit Card” option allows your customers to make the payments on-site using a card. See the following screenshot for reference.

What Happens After the Payment?
Payment by New Member
If this is a payment made by a NEW member then the user will receive an email that contains a “special” link to complete the registration. Read the Registration Process Overview documentation to learn more.
If you are using the Thank You page shortcode, the user can access the special paid membership registration link directly from the Thank You page and complete the registration there.
Payment by Existing Member
If the payment is made by an EXISTING member then the membership level (associated with this payment button) is applied to the existing member’s profile. No need to register for an account again.
Note: The member must be logged into their account when making the payment for the plugin to recognize them and treat them as an existing member.
Configuring a Thank You Page
This step is optional but I recommend that you configure a Thank You page as explained in this documentation. You can then use this page in the button’s configuration.
If you specify a Return URL (Thank You Page) in the button, when your customers complete the transaction, they will be redirected to that thank you page. The Thank You page will have a link for them to register for the membership they just purchased.

Auto Redirect to the Paid Registration Page After Payment
If you want to simplify the registration process even further, you can now automatically redirect users to the unique paid registration page immediately after payment.
To learn more about this feature and how to enable it, see this documentation.
Buy Now Pay Later Option (PayPal Pay in 4)
PayPal Pay in 4 allows your customers to pay for eligible purchases valued between $30 and $2,000 in 4 interest-free installments. If your PayPal account qualifies for it, the PayPal Pay in 4 option will be automatically shown to your customers in the PayPal checkout window.

How Can I Test My PayPal Buy Now Button?
Prior to testing a transaction, it is recommended that you go through this payment testing checklist.
The easiest way to test the functionality of your PayPal buy now button is to edit the payment amount of the button and make it $1.00 (or less) temporarily. This allows you to do a live transaction and test out the membership payment as if you were a customer. You can issue a refund on that transaction after your testing is complete (so the payment gets reversed).
Enabling the debug logging option at this stage is a good idea in case something does not go as planned after the transaction.
Open the page or post that contains your buy now button in a browser other than the one you’re currently logged in as an admin. To test the functionality, you’ll need to use a card or a PayPal account that is different from the one you’ve configured in the settings of Simple Membership.
Once you have tested the functionality, you can go back and edit the payment amount/price of the payment button.
Note: When testing the new registration scenario, use a unique email address that is not already in your WP users system. If you use a previously used email address, the member account profile associated with that email will be upgraded instead of being treated as a new member.
Center Align the PayPal Button
To center align the PayPal button on your page, you can use an HTML block to insert the payment button shortcode with custom alignment. Below is an example of the HTML code you can use to achieve this:
<div style="max-width: 300px; margin-right: auto; margin-left: auto;">
[swpm_payment_button id="4851"]
</div>
You can experiment with different width values in place of ‘300px’ to achieve your desired result.