Memberships & Subscriptions Add-on for LearnPress

How to Set Up Payment Methods

To sell membership plans with recurring billing, you must connect your website to a payment gateway. LearnPress currently supports Stripe and PayPal. You can use either one or both.

How It Works

  1. A student selects a membership plan and proceeds to checkout.
  2. Stripe or PayPal processes the payment.
  3. The payment gateway sends a webhook (an automatic notification) to your website.
  4. LearnPress updates the student’s membership status.
  5. At the beginning of each billing period, the payment gateway automatically charges the student and notifies your website.

Setup Steps

  1. Set up your payment gateway: Create an account, obtain your API credentials, and configure webhooks.
  2. Connect to LearnPress: Enter your API credentials in LearnPress > Settings > Payments.
  3. Enable the gateway for your plans: Go to Membership > Membership Plans and enable the corresponding payment gateway for each plan.

Before You Start

Make sure you have the following:

  • A publicly accessible website: Stripe and PayPal need to send webhooks to your website, so it must be online and accessible from the internet. Websites running on localhost or protected by a password will not work.
  • A supported currency: Check your currency under LearnPress → Settings → General → Currency, then confirm that your chosen payment gateway supports it. Make sure you use the same currency in both LearnPress and your payment gateway settings.
  • An account with your chosen payment gateway.

Stripe

PayPal

Choose a Payment Gateway to Continue

  • Stripe: Follow the guide to set up Stripe for membership payments.
  • PayPal: Follow the guide to set up PayPal for membership payments.