Worldpay logo

Worldpay payments for Magento (Adobe Commerce) with faster, safer checkout

Connect Worldpay to Magento 2 for secure card payments, 3DS support, and cleaner payment flows, so customers check out faster and you keep approval rates stable.

Set up your integration
Trusted by 700+ leading brands worldwide
Trusted by 700+ leading brands worldwide

Magento and Worldpay integration in short

Worldpay publishes two Magento (Adobe Commerce) plugins: one for its Corporate Gateway (WPG), installed with Composer as sapient/module-worldpay, and one for merchants on its Worldpay eCommerce (SMB) platform. The WPG plugin offers a hosted payment page or client-side encryption for direct card capture, 3DS Flex, shopper and merchant tokens, wallets, and alternative payment methods, and each release is built for a specific Magento and PHP version. Confirm which Worldpay platform your merchant account is on, and plan Hyvä Checkout support, which Hyvä's tracker still lists as in progress.

What is the Magento + Worldpay integration

Payment issues rarely look dramatic in dashboards – until chargebacks rise, 3D Secure gets out of sync, or a “small” gateway change suddenly breaks checkout. For Magento (Adobe Commerce) teams, the bottleneck is usually control: too much time spent reconciling orders, chasing transaction IDs, and debugging payment states across systems.

The Magento Worldpay integration connects your store’s checkout and order workflow with Worldpay payment processing, so authorization, capture, refund, and status updates follow consistent rules across Magento and your payments backend. It keeps payments tied to the right orders, supports typical Worldpay flows, and gives your team a predictable way to handle payment operations without inventing workarounds.

This setup fits if you run Magento (Adobe Commerce) and need a Worldpay payment gateway integration that behaves reliably across multiple stores, currencies, or higher order volume.

Worldpay logo

Magento + Worldpay integration benefits

Cut checkout drop-offs with stable Worldpay 3D Secure on Magento
Reduce chargeback exposure with clearer payment states per order
Speed up support triage using searchable Worldpay transaction IDs
Reconcile payouts faster by matching Magento orders to Worldpay events
Lower PCI workload by choosing hosted Worldpay pages where needed
Keep multi-store payments consistent across currencies and accounts in Magento

How the Magento 2 Worldpay integration works technically

• Magento checkout requests are routed to Worldpay using hosted payment pages or direct API calls, depending on the chosen integration mode and PCI scope. 

• Order, quote, customer, currency, and amount data is mapped from Magento entities to Worldpay transaction fields, including merchant account and store view context. 

• Authorization results are persisted on the Magento order payment record, with Worldpay transaction references stored for capture, void, refund, and reconciliation. 

• 3D Secure and risk outcomes are handled through return URLs and asynchronous webhooks, updating Magento order states and payment statuses. 

• Captures and refunds initiated in Magento trigger Worldpay API requests, and response codes are validated and logged against the corresponding order and invoice/credit memo. 

• Webhook events are verified (signature/secret where supported) and processed idempotently to avoid duplicate status changes during retries or delays. 

Ways to connect Magento and Worldpay

OptionTypeBest forNotes
Worldpay Magento 2 plugin for Worldpay Corporate Gateway (sapient/module-worldpay)ConnectorMerchants with a Worldpay Corporate Gateway (WPG) accountPublished in Worldpay's GitHub repository and on Packagist, with releases matched to Magento patch versions. Features include card payments, a hosted payment page, client-side encryption for direct integration, 3DS Flex with an exemption engine, FraudSight, shopper and merchant tokens, Apple Pay, Google Pay, Samsung Pay, PayPal, Klarna, ACH Pay, MOTO orders, multi-store and multi-merchant setups, and multishipping.
Worldpay eCommerce plugin for Magento (SMB)ConnectorMerchants on Worldpay eCommerce (SMB) with Dashboard Portal accessWorldpay states it was developed for Magento 2.4 and needs the latest PHP version. It is installed into app/code from Worldpay's GitHub repository, uses Try and Live credentials, and can show an optional embedded checkout set up with a Checkout ID.
Custom Hyvä Checkout integration for the WPG pluginCustom APIHyvä Checkout stores that need the WPG pluginHyvä's checkout integration tracker lists Worldpay as in progress and the Corporate Gateway plugin as an open request with no published module yet, so plan compatibility work as part of the project.

What syncs between Magento and Worldpay

DataDirectionSystem of recordTiming
Card details on the hosted payment pageShopper browser to WorldpayWorldpayReal time at checkout
Card details with client-side encryptionEncrypted in the browser, sent through Magento to WorldpayWorldpayReal time at checkout
3DS Flex authentication and exemptionsShopper, issuer, and Worldpay, result to MagentoWorldpayDuring payment
Saved cards (shopper and merchant tokens)Worldpay token referenced by MagentoWorldpayWhen the shopper saves a card and on repeat orders
Telephone and mail ordersMagento admin to Worldpay on a MOTO merchant codeMagento for the order, Worldpay for the paymentWhen staff place the order
Recurring and subscription paymentsMagento to WorldpayMagento for the order, Worldpay for the paymentEach renewal
Level 2 and Level 3 data (US and Canada domestic acquiring)Magento to WorldpayMagento order linesWith the transaction

How a Magento Worldpay integration project runs

  1. Confirm which Worldpay platform your merchant account is on (Corporate Gateway or Worldpay eCommerce), because each has its own plugin.
  2. Look up the plugin release built for your Magento patch version and PHP version, and plan a Magento upgrade first if your version is too old.
  3. Install the WPG plugin with Composer (sapient/module-worldpay) and set merchant codes per website or store, including a separate MOTO merchant code if staff take phone orders.
  4. Choose a hosted payment page or client-side encryption, and confirm your PCI self-assessment type with your Qualified Security Assessor.
  5. Configure 3DS Flex, the exemption engine, wallets, and alternative payment methods per market.
  6. If you run Hyvä Checkout, scope compatibility work, and on 2.4.7 and later whitelist Worldpay scripts in the payment page CSP.
  7. Test payment, 3D Secure, saved cards, MOTO, refunds, and multishipping with Worldpay before switching to production credentials.

Common problems and how to avoid them

Plugin releases are tied to Magento and PHP versions

Worldpay ships plugin releases per Magento patch line: the 2.4.9 releases list PHP 8.4 and 8.5, and the 2.4.8 patch releases list PHP 8.3 and 8.4. On a store still on Magento 2.4.2, the current Worldpay plugin needed a newer PHP version than that Magento release supports, so the Worldpay update waited on a Magento upgrade estimate.

No published Hyvä Checkout module yet

Hyvä's checkout integration tracker lists Worldpay as a community item in progress and the Corporate Gateway plugin as an open request with no published compatibility module. A Hyvä Checkout store needs its own integration work or a different checkout for Worldpay.

Picking the plugin for the wrong Worldpay platform

The Corporate Gateway plugin and the Worldpay eCommerce plugin serve different Worldpay accounts, and the eCommerce plugin needs a Worldpay eCommerce account with Dashboard Portal access. Worldpay's GitHub also holds an older Magento 2.4 plugin repository that has not been updated since 2022, so check the repository date before installing.

Worldpay can sit behind another gateway

A US subscription retailer received a Mastercard data integrity warning from Worldpay about terminal entry capability, although its Magento store took cards through Authorize.net with a CIM module. The client resolved it with Worldpay rather than in Magento.

Strict CSP on payment pages

From 2.4.7, Magento runs Content Security Policy in restrict mode on payment pages, so inline or third-party payment scripts that are not whitelisted are blocked and the checkout can render blank. Whitelist Worldpay's scripts with csp_whitelist.xml hashes or the CSP nonce provider before go-live.

Why choose scandiweb to handle Magento integration for you?

Magento payment integrations shipped at scale
We’ve delivered 2,100+ eCommerce projects and know the edge cases that break payments under real promo and traffic load.
Checkout QA that matches real buyer behavior
We validate redirects, partial approvals, retries, and refunds across devices, so fewer payment bugs reach production.
Certified Adobe Commerce expertise, not guesswork
As the world’s #1 most certified Adobe Commerce agency with 894+ certifications, we implement to platform standards.
Faster issue resolution with clean observability
We add logging, alerts, and traceable order-to-transaction links, so payment issues get isolated without long calls.
Security-first delivery and compliance discipline
ISO 27001/27017 certified practices keep payment-related changes controlled, reviewed, and auditable during releases.
Support team that stays on after go-live
Having thousands of tickets handled, you get SLA-backed help when Worldpay or Magento acts up.

Frequently Asked Questions about Magento Worldpay integration

How do you set up Worldpay as a payment gateway in Magento (Adobe Commerce)?

We configure the Worldpay integration, map payment actions (auth, capture, refund), and validate order states end to end in staging before Go-live.

Does the Magento Worldpay integration support 3D Secure 2 for card payments?

Yes – we implement and test 3DS2 flows, including challenge and frictionless scenarios, so the right authentication data is stored against each order.

Can Worldpay capture, void, and refunds sync correctly with Magento order statuses?

Yes, we align Magento invoice, credit memo, and cancellation logic with Worldpay transaction states to avoid mismatched payments and manual reconciliation.

How do you troubleshoot Worldpay payment failures and callback issues in Magento 2?

We audit webhooks, logs, and idempotency handling, then reproduce edge cases like retries, partial captures, and delayed notifications to pinpoint the break.

Will Worldpay work with Magento multistore and multi-currency setups?

Yes – we can configure store-specific merchant accounts, currencies, and payment rules, and validate behavior per website and store view.

Is there an official Worldpay extension for Magento 2?

Yes, two. Worldpay maintains a plugin for its Corporate Gateway (Composer package sapient/module-worldpay) and a separate Magento plugin for Worldpay eCommerce merchants.

Which Worldpay plugin version do I need for my Magento version?

Use the release built for your Magento patch line. Worldpay's release notes list each plugin version with its Magento release and PHP versions, for example PHP 8.4 and 8.5 for the 2.4.9 releases.

Does the Worldpay Magento plugin work with Hyvä Checkout?

Not out of the box. Hyvä's checkout integration tracker lists Worldpay as in progress, with no published compatibility module for the Corporate Gateway plugin.

Does Worldpay support Apple Pay and Google Pay in Magento?

Yes. The WPG plugin supports Apple Pay, Google Pay, and Samsung Pay (Visa and Mastercard only), and since the 2.4.4 release Apple Pay and Google Pay can also appear on product pages.

Can the Worldpay plugin take telephone orders in the Magento admin?

Yes. The WPG plugin lists MOTO (mail and telephone order) support for customer service staff, and MOTO payments can use their own merchant code for non-3DS payments.

Does the Worldpay Magento plugin support PayPal and Klarna?

Yes. The WPG plugin lists PayPal, Klarna (Pay Now, Pay Later, and Slice it), AliPay, and ACH Pay, and recent releases add a PayPal Smart Button on product and checkout pages.

Start your Magento + Worldpay integration

1. Submit your integration request

Fill out the form and share your integration requirements.

2. Join a free strategy & discovery call

Join a 60-minute session with our Magento integration specialists.
We’ll review your business systems, identify key challenges, and uncover actionable opportunities.

3. Get a tailored proposal

After the consultation, receive a detailed proposal with clear, high-impact steps to integrate Magento with the tools your business needs to thrive.

Trusted by 700+ leading brands worldwide

We check submissions regularly - we will reply soon
22+
years in eCommerce
600+
in-house experts
2,100+
projects delivered
700+
clients served
$4B+
in client revenue per year