Shop / Payments and delivery
Payments
Commerce → Payments lists each available provider with its logo and connection state. Open one to configure the checkout name, sandbox and live credentials, provider behavior, webhook URL, and the payment methods customers may choose. Secrets stay in encrypted plugin secrets and are never sent back to the browser.
Stripe and Mollie are built in
Stripe and Mollie are fully integrated online gateways. Shop shows only methods that the configured provider account makes available. PayPal, Adyen, Square, offline methods, and gateways from other plugins remain hidden until they provide an executable adapter.
Stripe
Choose Payment Element on checkout, Hosted Stripe Checkout, or Embedded Stripe Checkout separately for sandbox and live mode. Shop fetches the account’s active methods and presents eligible cards, iDEAL, Bancontact, EPS, Przelewy24, SEPA Direct Debit, Sofort, Klarna, Afterpay/Clearpay, Affirm, and other Dashboard-enabled methods as individual checkout choices with logos. Stripe still makes the final decision for the customer’s currency, country, device, and account.
Payment Element can also show Apple Pay, Google Pay, and Link through Stripe Express Checkout. Register the storefront domain from the Stripe settings page before using wallets. Signed-in customers can explicitly save reusable card methods, add or remove them from their account, and use them for off-session subscription renewals. Shop creates one Stripe Customer per site and per sandbox/live mode only when it is needed.
Stripe can capture automatically or authorize first for later full or partial capture. Shop supports full and partial refunds with reasons, disputes and evidence, Radar risk and review state, early fraud warnings, optional fraud auto-refunds, and capture blocking while a Radar review is open. Delayed methods remain Awaiting payment until a signed Stripe event confirms their outcome.
Mollie
On the Mollie page, choose Mollie checkout (one choice that opens Mollie’s payment page) or the methods active on your Mollie profile (each its own checkout choice). Show payment method logos at checkout turns the icons on or off. Each payment includes the order lines with tax, billing and shipping addresses, language, return links, and Justflows references in its metadata.
Retries and payment state
A new payment or one waiting for customer action stays pending. If it fails, is cancelled, or expires, the customer returns to checkout with the same cart and reserved stock, can choose another method, and retries the existing order and payment row instead of creating a duplicate. A successful payment empties the cart. The customer also receives one Payment failed email with a {{payment_url}} link; paid, cancelled, or refunded orders cannot be paid again.
Capture, cancel, and refund
The Payments list shows every attempt. From an attempt, authorized staff can capture an authorization fully or partly, cancel an open authorization, or refund a captured amount fully or partly. Each action has an idempotency key, so a retry never charges or refunds twice. Ambiguous provider outcomes remain pending for safe reconciliation instead of being guessed.
Payment webhooks
Shop registers a version-pinned Stripe endpoint with the exact payment, Checkout, Billing, customer, saved-method, refund, dispute, payout, and Connect events it consumes. Stripe signatures are checked with the current or previous signing secret during rotation; sparse events are fetched again, and every provider event is applied once by its id. Failed deliveries appear under Commerce → Payments for replay and in Diagnostics.
Mollie needs no endpoint registration: Shop sends its notification URL with each payment and reads the trusted payment back from Mollie before applying it. Provider returns and Stripe redirect_status query parameters trigger reconciliation but never mark an order paid by themselves; signed webhooks or a trusted provider read decide the state. For local Stripe testing, forward events with the Stripe CLI to the displayed webhook URL and save the CLI signing secret for sandbox mode.
https://<your-site>/api/shop/payments/hooks/<method>/<token>