Search by

wp-pay-extensions / memberpress

remcotolsmarvdsteege

MemberPress driver for the WordPress payment processing library.

Package info

github.com/pronamic/wp-pronamic-pay-memberpress

Homepage

Type:wordpress-plugin

pkg:composer/wp-pay-extensions/memberpress

Statistics

Installs: 32 706

Dependents: 1

Suggesters: 0

Stars: 5

Open Issues: 13

v4.11.2 2026-11-02 14:32 UTC

README

Accept iDEAL, Bancontact, SEPA Direct Debit, credit cards, Klarna, PayPal and more in MemberPress, for one-time and recurring memberships, through the payment provider you already use.

CI Packagist Version PHP from Packagist License

Pronamic Pay for MemberPress · Payment providers · Payment methods · Pricing · Support

Why this add-on?

MemberPress is a popular WordPress plugin for selling memberships, but out of the box it only talks to Stripe, PayPal and Authorize.net. That is fine in the United States. It is not fine in the Netherlands, where most people pay with iDEAL; in Belgium, where Bancontact is the norm; or anywhere in Europe where members expect SEPA Direct Debit, Klarna or Przelewy24 at checkout.

This add-on connects MemberPress to Pronamic Pay, the most complete payment solution for WordPress. With it you can:

  • Offer the payment methods your members actually use, from iDEAL and Bancontact to Apple Pay and Klarna.
  • Keep the payment provider you already have: Mollie, Buckaroo, Adyen, MultiSafepay, PayPal, Pay., Worldline and more.
  • Run recurring memberships without Stripe. Pronamic Pay stores a mandate with your provider and charges every renewal itself, on schedule.
  • Keep working the MemberPress way. Memberships, groups, coupons, trials, emails, reports and the member account page all keep working.

Features

  • One-time and recurring memberships, including lifetime, expiring and fixed-expiry access.
  • Trial periods, both paid and free, and MemberPress' "allow only one trial" setting.
  • Upgrades and downgrades within a MemberPress group, including pro-rated prices.
  • Coupons, including first-payment discounts.
  • Payment cycle limits: MemberPress ends the subscription after the configured number of payments.
  • Refunds and chargebacks: a refund in the MemberPress admin is processed with the payment provider, and refunds and chargebacks at the provider mark the MemberPress transaction as refunded.
  • Self-service for members: cancel, pause and resume a subscription, and update the payment method from the account page. When the payment method changes, the MemberPress subscription is moved to the matching MemberPress gateway.
  • MemberPress emails for signups, renewals, failed payments, refunds and new subscriptions (admin) are sent the way MemberPress' own gateways send them.
  • Currencies: the currency of the MemberPress transaction is passed to the payment provider.
  • Linked admin screens: every MemberPress transaction and subscription links to its Pronamic Pay payment and subscription, and back.

Supported payment methods

Each payment method is a separate gateway in MemberPress → Settings → Payments, so members see a familiar logo and label at checkout. The generic Pronamic gateway lets the member choose the method on the payment page of your provider.

Payment method MemberPress gateway
Apple Pay MeprApplePayGateway
Bancontact MeprMisterCashGateway
Bank transfer MeprBankTransferGateway
Credit card MeprCreditCardGateway
Direct Debit (SEPA) MeprDirectDebitGateway
Direct Debit via Bancontact MeprDirectDebitBancontactGateway
Direct Debit via iDEAL MeprDirectDebitIDealGateway
iDEAL MeprIDealGateway
iDEAL in3 MeprIn3Gateway
Klarna Pay Later MeprKlarnaPayLaterGateway
Klarna Pay Now MeprKlarnaPayNowGateway
Klarna Pay Over Time MeprKlarnaPayOverTimeGateway
PayPal MeprPronamicPayPalGateway
Przelewy24 MeprPrzelewy24Gateway
Any method of your provider MeprPronamicGateway

Deprecated payment methods. Payment providers no longer offer Bitcoin (MeprBitcoinGateway), Direct Debit via SOFORT (MeprDirectDebitSofortGateway), Giropay (MeprGiropayGateway) and SOFORT Banking (MeprSofortGateway). Their gateways still exist for existing installations and are marked as deprecated in the MemberPress settings. Don't add them to a new installation.

Recurring memberships are offered for a payment method only when your payment provider supports recurring payments for it. The add-on asks Pronamic Pay for these capabilities at runtime. If the method doesn't support recurring payments, the add-on leaves it out of the payment methods of a recurring membership, so it is only offered for one-time memberships, and the pause, resume and trial features are switched off. Recurring payments are currently supported with Mollie.

Supported payment providers

Pronamic Pay connects MemberPress to these payment providers, among others:

Mollie · Buckaroo · Adyen · MultiSafepay · PayPal · Pay. · Worldline · Ingenico · Rabobank · ABN AMRO · ING · EMS

See pronamicpay.com/payment-providers for the full and up-to-date list.

How it works

sequenceDiagram
    actor Member
    participant MP as MemberPress
    participant Addon as MemberPress add-on
    participant Pay as Pronamic Pay
    participant PSP as Payment provider

    Member->>MP: Sign up for a membership
    MP->>Addon: process_payment( transaction )
    Addon->>Pay: Start payment (and subscription)
    Pay->>PSP: Create payment
    PSP-->>Member: Payment page (iDEAL, Bancontact, …)
    PSP-->>Pay: Webhook: payment status
    Pay->>Addon: Payment status update
    Addon->>MP: Complete transaction, activate subscription, send emails
    Note over Pay,PSP: Renewals: Pronamic Pay charges the stored mandate on schedule,<br/>and the add-on records each renewal as a MemberPress transaction
Loading
  1. Checkout. The add-on registers its gateways with MemberPress. When a member checks out, it creates a Pronamic Pay payment from the MemberPress transaction, and a Pronamic Pay subscription for a recurring membership, then sends the member to the payment provider.
  2. Status updates. The payment provider reports the result to Pronamic Pay. The add-on then updates the MemberPress transaction and subscription and fires the MemberPress events, so access rules, emails and integrations behave as they do with MemberPress' own gateways.
  3. Renewals. Pronamic Pay owns the payment schedule, not the payment provider and not MemberPress. On each renewal date it charges the mandate. The add-on creates the MemberPress transaction for that renewal and extends or expires access based on the result.
  4. Member actions. Cancelling, pausing, resuming and changing the payment method in the MemberPress account page are passed on to the Pronamic Pay subscription. The other way around, a cancellation of the Pronamic Pay subscription, such as on the cancel page of Pronamic Pay, cancels the MemberPress subscription, and a new payment method on the mandate page of Pronamic Pay moves the MemberPress subscription to the matching gateway. A Pronamic Pay subscription that is put on hold or reactivated does not pause or resume the MemberPress subscription, as Pronamic Pay also puts a subscription on hold after a failed payment.

Background

Pronamic has been building payment integrations for WordPress since 2005, starting with the Pronamic iDEAL plugin, which you can still recognise in the plugin slug pronamic-ideal. That plugin grew into Pronamic Pay: a shared core (wp-pay/core), a set of gateways for payment providers, and a set of extensions for WordPress plugins such as WooCommerce, Gravity Forms, Easy Digital Downloads and MemberPress.

The MemberPress extension started on 22 December 2015. It lived in the wp-pay-extensions GitHub organisation and on Packagist as wp-pay-extensions/memberpress, and later moved to pronamic/wp-pronamic-pay-memberpress. Over a decade and 680+ commits, it grew from a one-time iDEAL payment into a full subscription integration with trials, upgrades, refunds, pause/resume and payment method changes.

The add-on is bundled with Pronamic Pay and is also available as a separate WordPress plugin that requires Pronamic Pay. Every change is recorded in the changelog.

A frank note on MemberPress

We are not big fans of how MemberPress works with third-party gateways, and we would rather be open about that than pretend otherwise.

MemberPress is built around its own gateways. Its gateway layer is designed for Stripe, PayPal and Authorize.net, and other gateways are an afterthought. Some features are only offered to MemberPress' own gateways. The setting that lets members pause and resume their subscription says:

This option will only be available if this is enabled and the user purchased their subscription using PayPal or Stripe.

Changing a payment method means starting over. MemberPress' own documentation on how to change a customer's payment method says that to move a member from PayPal to Stripe:

In these scenarios, you would need to cancel their current membership and have them sign up again. You can have them wait until their current term ends (recommended), or if you want them to sign up again right away you will have to create a coupon for them to use to give them a prorated price.

We think members deserve better. With this add-on a member changes the payment method from their account page, and the MemberPress subscription follows (#19, #83).

Much of the gateway contract is unwritten. A third-party gateway has to copy behaviour that MemberPress does not document, find it by reading MemberPress' source, and watch for it changing without notice. Some examples from our own issue tracker:

  • Cancellation has to follow an expire flag that MemberPress' own gateways respect, but that is not documented as part of the gateway API (#61).
  • Telling a renewal from a signup depends on internal transaction data such as first_txn_id (#59).
  • MemberPress' upgrade and downgrade logic could cancel a member's subscription at the very moment their renewal payment succeeded (#55).
  • The two-step checkout began to require a checkout token, and the payment_form action that gateways redirected to was removed (#67, #69).
  • Saving a MemberPress subscription rebuilt its periods and reset the next payment date, so a membership limited to one payment was charged twice (#79).

The code shows it. MemberPress is a large, mostly unnamespaced code base. MeprSubscription alone is over 3,000 lines, MeprUtils over 4,500, and controllers check for specific gateway classes such as MeprStripeGateway. None of this is unusual for a WordPress plugin of its age, but it makes building a reliable integration on top of it hard work.

Problems at the boundary come back to us. In our experience, MemberPress tends to treat issues between MemberPress and a third-party gateway as the gateway developer's problem, even when the cause is in MemberPress itself.

So why build for MemberPress at all? Because many of our customers run their membership sites on it, and their members want to pay with iDEAL, Bancontact or direct debit. This add-on absorbs that complexity so you don't have to. When MemberPress changes, we follow.

Requirements

Getting started

  1. Install and activate Pronamic Pay and MemberPress. The MemberPress add-on is bundled with Pronamic Pay. Developers can also install it with Composer:

    composer require wp-pay-extensions/memberpress
    
  2. In Pronamic Pay → Configurations, add a configuration for your payment provider.

  3. In MemberPress → Settings → Payments, add a gateway for each payment method you want to offer, such as iDEAL or Bancontact, and choose the Pronamic Pay configuration.

  4. Run a test signup, and you're ready to accept payments.

Need help? Pronamic Pay support is available in Dutch and English.

Development

composer install
composer phpcs
composer phpstan
composer psalm
composer phpunit

The memberships, groups, discounts and settings we use to test MemberPress manually are described in docs/testing.md.

Issues and pull requests are welcome on GitHub.

Links

License

GPL-3.0-or-later. Copyright © 2005–2026 Pronamic.