You can process and take payments of subscriptions with PayPal without installing any third-party PayPal plugins. WP Subscriptions includes a PayPal payment gateway for your convenience.

Follow the steps below to enable PayPal for your subscriptions.

The included PayPal payment gateway will only support WP Subscription payments. It will not show for other products during checkout.

Enabling PayPal

  1. Log in to your WordPress dashboard.

  2. Go to WooCommerce > Settings > Payments.

  3. Click the Manage button beside PayPal for WPSubscription.

  4. In the settings, turn on Enable/Disable to enable the gateway.

  5. You can edit the Title and Description to customize the payment experience.

    • Title: Users will see this text as the gateway name in the checkout page.

    • Description: Users will see this text under the gateway name in the checkout page.

  6. Enable PayPal Sandbox if you will test payments. Do not enable it for live payments.

  7. In the Email field, insert the Email that you will use to create the PayPal Developer account in the next field.

  8. In the Client ID field, insert the Client ID from PayPal.

  9. In the Secret field, insert the Secret Key from PayPal.

  10. In the Webhook ID field, insert the Webhook ID from PayPal.

  11. Copy the Webhook URL by clicking the copy button beside the URL. You will need this while configuring PayPal.

  12. Finally, click the Save Changes button.

You will be able to get Client ID, Secret Key, and Webhook ID while configuring PayPal in the next step.

Configuring PayPal

  1. Create and/or log in to your PayPal Developer account.

  2. Go to Apps & Credentials from the navigation menu.

  3. Click the Sandbox/Live toggle in the navigation menu to switch between Sandbox Mode and Live Mode.
    (You can test payments in Sandbox Mode without using any real money. Read more about it here.)

  4. Click Create App and,

    • Provide a Name,

    • Select Type (Marchant),

    • Select Account

    • Finally, click Create App.
      (You will be redirected to the app)

  5. Copy Client ID and insert it in the Client ID field in the plugin settings.

  6. Copy Secret Key 1 and insert it in the Secret field in the plugin settings.

  7. Scroll to the Webhooks section and click the Add Webhook button.

  8. In the pop-up,

    • Paste the Webhook URL copied from the plugin settings in the Webhook URL field.

    • Check All Events in the Event Types section.

    • Then scroll to the bottom and click Save.

    • Finally, copy the Webhook ID from the newly created webhook entry and insert it in the plugin settings.

  9. You are all set. You can now use PayPal for taking subscription payments.