PackagesPayment Providers
Payment Providers
Pluggable payment gateways implementing the PaymentProvider interface — Stripe, Easypay, and Ifthenpay.
All payment providers implement the same PaymentProvider interface from @prood/types. The checkout state machine and @prood/commerce factory work with any registered provider.
Available providers
| Provider | Region | Methods | Doc |
|---|---|---|---|
| Stripe | Global | Cards via Payment Element | Stripe |
| Easypay | Portugal | Multibanco, MB WAY, card | Easypay |
| Ifthenpay | Portugal | Multibanco, MB WAY, card | Ifthenpay |
How providers are loaded
Drag to pan · Scroll to zoom
Per-tenant credentials from the dashboard override env fallbacks field-by-field. See Payment integration guide.
Interface
Every provider implements:
| Method | Purpose |
|---|---|
createSession() | Start a charge / PaymentIntent / reference |
confirmSession() | Verify after redirect or async completion |
refund() | Full or partial refund |
verifyWebhook() | Validate provider signature on webhook payload |