Seamless Magento–Stripe integration for secure payments, automated refunds, SCA compliance, and faster checkout performance.
Most Magento (Adobe Commerce) stores integrate Stripe with Stripe's own Payments, Billing, and Tax module (Composer package stripe/stripe-payments), choosing either the embedded Payment Element or a redirect to Stripe Checkout; Stripe says both are SAQ A eligible. Stores on Hyvä Checkout add the published Hyvä compatibility module, and headless storefronts use the GraphQL and REST extensions the module adds. Order status depends on Stripe webhooks reaching Magento, so the webhook endpoint and cron need monitoring from day one.
Integrating Stripe with Magento creates a fast, secure, and modern payment experience for shoppers while giving merchants full control of transactions, reporting, and fraud protection. Stripe supports global payments, subscription billing, digital wallets, and advanced fraud detection—making it one of the most flexible payment processors for Magento merchants.
A proper Magento–Stripe integration ensures:
• Faster checkout with saved cards and one-click payments
• Strong Customer Authentication (SCA) and PSD2 compliance
• Multi-currency support for international customers
• Real-time payment status updates
• Automated refunds and partial refunds directly in Magento
• Support for Apple Pay, Google Pay, and local payment methods
The integration can be done using the official Stripe module or a custom API-based implementation, depending on business requirements, custom checkout flows, or unique regional payment needs.
• Stripe API version mapping must match the module configuration
• Webhooks must be configured for: charge.succeeded, payment_intent.succeeded, refund.created, dispute.created
• SCA and PSD2 support require integration with Payment Intents API
• Customers’ card tokens should be stored using Stripe’s secure vault (not in Magento)
• Multi-currency support depends on enabled currencies in both Magento and Stripe
• Subscription handling requires Stripe Billing integration and webhook synchronization
• Test mode and live mode require separate keys and configurations
• PCI compliance is simplified since Stripe handles card data directly
.avif)
| Option | Type | Best for | Notes |
|---|---|---|---|
| Stripe Payments, Billing, and Tax module (stripe/stripe-payments) | Connector | Most Magento stores, including multi-store setups | Stripe's own module, ordered on the Adobe Marketplace and installed with Composer. The current release supports Adobe Commerce and Magento Open Source 2.3.7 to 2.4.x, offers an embedded Payment Element or a redirect to Stripe Checkout, and includes Express Checkout wallets (Link, Apple Pay, Google Pay), a subscription engine on Stripe Billing, and 3D Secure 2. |
| Hyvä Checkout compatibility module for Stripe | Connector | Stores that run Hyvä Checkout instead of the Luma checkout | Hyvä's checkout integration tracker lists the Stripe integration as published and CSP compatible, with the Composer package hyva-themes/magento2-hyva-checkout-stripe on top of stripe/stripe-payments. |
| Stripe module GraphQL and REST extensions | Custom API | Headless, PWA, and mobile storefronts built on Magento's APIs | The module adds a getStripeConfiguration query, a stripe_payments input on setPaymentMethodOnCart, a client_secret on placeOrder for finishing 3D Secure with stripe.handleNextAction, and mutations to list, add, and delete saved payment methods. |
| Stripe Tax plugin for Adobe Commerce | Connector | Stores that keep another payment provider but want Stripe Tax calculation and reporting | Stripe ships tax as a separate plugin for merchants who do not use Stripe to accept payments. Stores that use the payments module get Stripe Tax through that module instead. |
| Data | Direction | System of record | Timing |
|---|---|---|---|
| Card and wallet details | Shopper browser to Stripe | Stripe (the Payment Element is an iframe, so card data does not pass through Magento) | Real time at checkout |
| Order and payment | Magento to Stripe | Magento for the order, Stripe for the payment | At place order |
| Payment confirmation (charge.succeeded) | Stripe to Magento via webhooks | Stripe until the event moves the order from Pending Payment to Processing | Asynchronous, after the bank confirms or declines |
| Captures | Magento to Stripe | Magento invoice | When an Authorize Only order is invoiced, within the 7-day authorization window |
| Refunds | Magento to Stripe | Magento credit memo | When the credit memo is submitted; partial refunds made in the Stripe Dashboard do not create credit memos (module 4.1 and later) |
| Fraud review | Stripe Radar to Magento | Stripe Radar | At payment; payments Radar marks as risky can put the order On Hold |
| Subscription payments | Stripe Billing to Magento via webhooks | Stripe Billing | Each billing cycle |
The module creates one webhook endpoint per Stripe account and rechecks it hourly and whenever API keys or store URLs change. At a European smart home device brand, a local install running on a copy of the live database repointed the live endpoint to a non-public address, so orders sat in Pending Payment and many were auto-cancelled before the events were replayed with bin/magento stripe:webhooks:process-events-range. Replays fixed pending orders but could not restore auto-cancelled ones, so keep live keys out of every non-production environment.
On the same store, payment_intent.canceled and checkout.session.expired arrived at the same moment for an abandoned Stripe Checkout session: one event cancelled the items while the other set the order to Pending Payment, and the cleanup cron then could not cancel it. The fix we prepared skips payment_intent.canceled for checkout orders still in Pending Payment and lets Magento's pending payment cleanup cancel them.
A US online retailer's customized Hyvä saved-card flow did not handle a SetupIntent in requires_action status. Shoppers saw an error, retried, the payment succeeded in Stripe, and no Magento order was created. The fix opens authentication in the browser with handleNextAction and then finalizes the SetupIntent on the server before the order is placed.
Uncaptured card payments must be captured within 7 days, and by default a partial capture releases the rest of the authorization, so a second shipment needs a new payment that can fail. Multicapture and extended authorizations of up to 30 days are IC+ pricing features. Since module 4.1, partial captures and refunds made in the Stripe Dashboard no longer create Magento invoices or credit memos, so do them in the Magento admin.
Stripe notes that minor and major releases can break backward compatibility and that customizations must be ported. In a Magento 2.4.9 upgrade we ran, the new Stripe module came with Adaptive Pricing (paying in the shopper's currency) disabled by default, and a Hyvä Stripe module update broke the store's custom express checkout templates. Both needed a data patch or template fix before go-live.
From 2.4.7, Magento runs Content Security Policy in restrict mode on storefront and admin payment pages, so inline or third-party scripts that are not whitelisted stop running. Stripe publishes the script-src, frame-src, and connect-src domains that Stripe.js, Link, and 3D Secure need; add them to csp_whitelist.xml or use the CSP nonce provider.
Yes. Using Stripe’s saved card tokens and Payment Intents, Magento can offer one-click payment for returning customers.
Refunds and partial refunds can be executed directly from Magento’s order view. Stripe updates the status instantly through webhooks.
Yes. Stripe’s Payment Intents API supports Strong Customer Authentication (SCA) and is fully PSD2 compliant.
Yes. Stripe supports major digital wallets, and they can be enabled with simple configuration.
Yes. Stripe processes payments in over 135 currencies. Magento must also have these currencies enabled.
PCI burden is reduced because payment data never touches Magento—Stripe handles it through hosted fields and tokenization.
Usually Stripe events are not reaching Magento. Check the endpoint's error rate in the Stripe Dashboard, recreate it with bin/magento stripe:webhooks:configure if needed, then resend missed events with the module's process-event, process-events-range, or process-events-date-range commands.
The embedded Payment Element keeps shoppers on your checkout page, while Stripe Checkout is a payment page hosted by Stripe. Stripe says both are SAQ A eligible, and you switch between them with the Payment flow setting.
Yes. Hyvä's checkout integration tracker lists a published, CSP-compatible Stripe module, hyva-themes/magento2-hyva-checkout-stripe, which runs on top of Stripe's own stripe/stripe-payments module.
Yes. The module extends Magento's GraphQL and REST APIs: getStripeConfiguration returns the publishable key, setPaymentMethodOnCart takes a stripe_payments token, and placeOrder returns a client_secret for 3D Secure.
Seven days for standard online card payments. The Expired authorizations option recreates the payment with the saved card after that, and IC+ accounts can use extended authorizations of up to 30 days depending on the card network.
Yes. The module includes a subscription engine on Stripe Billing with configurable subscription products, trials or initial fees, and Stripe's handling of failed renewals and updated card details.
Last updated by the scandiweb integration team.