Payment providers
Pluggable payment providers 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 | International | Cards, plus Apple Pay and Google Pay where you've enabled them, via the 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
Credentials exist only per store, in the dashboard. There is no environment fallback. A session uses one provider: the first the store has connected and turned on, in the order Stripe, Easypay, Ifthenpay. See Payment integration guide.
Interface
Every provider implements:
| Method | Purpose |
|---|---|
createSession() | Start a charge, Checkout Session or reference |
confirmSession() | Verify after redirect or async completion |
refund() | Full or partial refund |
verifyWebhook() | Validate provider signature on webhook payload |