Supported Providers

Payment Base is designed to support any payment provider that exposes a REST or SOAP API with webhook callbacks. The PSP-specific code is confined to:

  • a PaymentAdapterInterface implementation (authorize / capture / refund),

  • an AbstractWebhookHandler subclass for inbound events,

  • an optional PaymentPanelProviderInterface tagged with oe.payment.admin_panel for the shared admin tab.

Everything else — contract lifecycle, event dispatch, refund routing, persistence — is reused unchanged.

Tier-1 providers (shipped or in active development)

These are the PSPs that have an OXID-maintained payment-base adapter either released, in progress, or on the public roadmap:

  • Stripe

  • PayPal

  • Amazon Pay

  • Unzer

  • TeleCash

  • Adyen

  • Mollie

  • Klarna

  • Braintree

  • Square

The end-customer documentation for individual PSPs lives in their own module documentation set (see docs.oxid-esales.com/modules/<provider>/). This documentation focuses exclusively on the shared payment-base foundation.

PSP requirements

To integrate a new PSP cleanly:

  1. Authorization / capture / refund endpoints — payment-base maps each one to a method on PaymentAdapterInterface.

  2. Webhooks — payment-base needs server-to-server events to fulfill contract conditions reliably. Polling-only PSPs require a custom reconciliation job.

  3. Signature verification — implement it inside the AbstractWebhookHandler subclass before handing the payload upstream.

  4. Two-step payment — the contract model assumes authorize-then-capture. PSPs that only support immediate capture can still integrate; the payment_authorized and capture flows then coincide in time but are still emitted as separate events for downstream consistency.

Normalized payment status

Every PSP names its payment states differently. NormalizedPaymentStatus (namespace OxidEsales\PaymentBase\Adapter\Response) is the shared vocabulary an adapter maps those names onto, so downstream consumers — ERP exports, admin panels, reporting — read one set of values regardless of which provider handled the payment:

Constant

Value

PENDING

pending

AUTHORIZED

authorized

CAPTURED

captured

FAILED

failed

CANCELLED

cancelled

REFUNDED

refunded

PARTIALLY_REFUNDED

partially_refunded

These are string constants rather than an enum, so existing callers that string-compare status values keep working. Map to them in your adapter’s response layer; do not leak provider-native status strings past that boundary.

PHP runtime

The payment-base module requires PHP 8.1+. Individual PSP adapters may require a newer runtime — Stripe Wallet, for instance, needs PHP 8.2+ because of its underlying Stripe SDK. Check the per-module README for the exact requirement.