Payment
Overview
Form payments let you collect money through forms using Stripe or PayPal. You configure gateways and currency in Form Builder Settings (WordPress admin), then enable payments and set amounts on individual forms in the Divi 5 Visual Builder.
Prerequisites
Before enabling payments, confirm:
- Your site uses HTTPS (SSL certificate active).
- You have a Stripe and/or PayPal account ready.
- You can access Form Builder Settings in WordPress admin.
- You have test keys/accounts for safe pre-launch testing.
Topics
- General settings — Payment gateway (Stripe/PayPal), currency, test mode, and API keys
Where to configure
- Global payment settings: WordPress admin → Divi Engine (or Divi Form Builder) → Form Builder Settings → Payment Settings.
- Per-form payment: In the Divi 5 Visual Builder, select the Form module → Content tab → enable payments and set price/payment options as available.
Recommended setup order
- Configure gateway credentials and currency in General settings.
- Keep payment gateways in test/sandbox mode.
- Enable payments on your form and set price/options.
- Submit a real test transaction.
- Switch to live credentials only after successful test verification.
Verify it works
After setup, confirm:
- The payment option appears on the form.
- Test card/sandbox checkout completes successfully.
- You see the expected transaction in Stripe/PayPal dashboards.
- The form submission flow still completes as expected.
Common failure scenarios
- Payment button missing: confirm payments are enabled on that form, not only globally.
- Gateway error on submit: re-check API keys and test/live mode mismatch.
- Currency mismatch: ensure gateway account supports the selected currency.
- Form submits without charge: verify the payment requirement options on the form.
What's Next
- General payment settings - configure and validate your gateways.
- Email notification - send receipts or admin alerts.
- Spam protection - reduce abuse on payment-enabled forms.