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
| Setting | Type | Default | What it does |
|---|---|---|---|
| Payment Gateways | Checkbox list | — | Which payment gateways are enabled (e.g. Stripe, PayPal). |
| Currency | Select | USD | Currency 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)
| Setting | Type | Default | What it does |
|---|---|---|---|
| Publishable Key | Text (masked in UI) | — | Stripe publishable key. |
| Secret API Key | Text (masked in UI) | — | Stripe secret API key. |
| Enable Stripe Legacy Mode? | Toggle | off | When on, the plugin uses the older Stripe checkout (e.g. to show billing address at checkout). |
| Declined Card | Text | Sorry, Your card is declined. | Message shown when the card is declined. |
| Expired Card | Text | Sorry, Your card is expired. | Message for expired card. |
| Incorrect CVC | Text | Sorry, CVC for your card is incorrect. | Message for incorrect CVC. |
| Processing Error | Text | There was an issue with processing your payment, please try again. | Generic processing error message. |
| Incorrect Number | Text | (default) | Message for incorrect card number. |
| Invalid Expiry Month | Text | (default) | Message for invalid expiry month. |
| Invalid Expiry Year | Text | (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:
| Setting | Type | Default | What it does |
|---|---|---|---|
| Is Test Mode? | Toggle | — | When on, the plugin uses PayPal Sandbox for testing. Turn off for live payments. |
| PayPal Email | Text | — | Your PayPal business email address. |
| PayPal Client ID | Text (masked in UI) | — | Client ID from your PayPal app (REST API credentials). |
| PayPal Secret | Text (masked in UI) | — | Secret from your PayPal app (REST API credentials). |
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
- Invoice Design — Invoice colors.
- Email Notifications — Notification templates.
- Stripe and Payment Gateways — Feature overview.
- Settings overview — Where to find each section.