Skip to main content

Payment Gateways

The Payment Gateways tab is at WordPress Admin → Divi Engine → Divi Membership → Payment Gateways. You choose which gateways are enabled (Stripe, PayPal), set the currency, then configure each gateway in its own tab. Use Validate Payment Gateway API Keys after saving to check your credentials.

Payment Gateways

SettingTypeDefaultWhat it does
Payment GatewaysCheckbox listWhich payment gateways are enabled (e.g. Stripe, PayPal).
CurrencySelectUSDCurrency for payments. Allowed: AUD, BRL, CAD, CNY, CZK, DKK, EUR, HKD, HUF, INR, ILS, JPY, MYR, MXN, NOK, NZD, PHP, PLN, GBP, RUB, SGD, SEK, CHF, TWD, THB, TRY, USD.

Stripe (when Stripe is enabled)

SettingTypeDefaultWhat it does
Publishable KeyText (masked in UI)Stripe publishable key.
Secret API KeyText (masked in UI)Stripe secret API key.
Enable Stripe Legacy Mode?ToggleoffWhen on, the plugin uses the older Stripe checkout (e.g. to show billing address at checkout).
Declined CardTextSorry, Your card is declined.Message shown when the card is declined.
Expired CardTextSorry, Your card is expired.Message for expired card.
Incorrect CVCTextSorry, CVC for your card is incorrect.Message for incorrect CVC.
Processing ErrorTextThere was an issue with processing your payment, please try again.Generic processing error message.
Incorrect NumberText(default)Message for incorrect card number.
Invalid Expiry MonthText(default)Message for invalid expiry month.
Invalid Expiry YearText(default)Message for invalid expiry year.

Validate Payment Gateway API Keys

After entering your gateway keys, save your settings first, then click Validate Payment Gateway API Keys to check that the plugin can connect. Use this to confirm Stripe or PayPal credentials before going live.

PayPal (when PayPal is enabled)

When PayPal is enabled, the PayPal tab shows these options:

SettingTypeDefaultWhat it does
Is Test Mode?ToggleWhen on, the plugin uses PayPal Sandbox for testing. Turn off for live payments.
PayPal EmailTextYour PayPal business email address.
PayPal Client IDText (masked in UI)Client ID from your PayPal app (REST API credentials).
PayPal SecretText (masked in UI)Secret from your PayPal app (REST API credentials).
Webhook required for PayPal

You must add a webhook to your PayPal account so the plugin can receive subscription and payment events. The UI shows the webhook URL you need to add (e.g. https://yoursite.com/?payment_webhook=paypal). In your PayPal Developer dashboard, create a webhook and use this URL; otherwise subscription status and renewals may not update correctly.

What's Next