Magento Open Source Payment Services integration

How a team connects Adobe Payment Services to a self-hosted Magento Open Source store, what the setup needs, how card data affects PCI DSS scope, and where integrations usually fail.

On this page

How Magento Open Source Payment Services integration works

Adobe Payment Services connects to a self-hosted Magento Open Source store through the Commerce Services Connector, the integration path Adobe documents for this payment service. The connector links your store to Adobe's payment services so that cards, wallets and local payment methods can be configured from one linked setup. Before you plan, confirm three things in Adobe's current documentation and with your Adobe account contact: whether the connector is available for Magento Open Source (not every Adobe Commerce capability carries over), which service tier your business qualifies for in each country where you sell, and which Magento release line the connector supports. Those answers decide scope and cost, so do not rely on older articles or forum posts to settle them.

The release line matters more than most teams expect. Adobe supports only the listed combinations of PHP, database, search, cache, queue and web server for each 2.4.x release. The 2.4.9 requirements list PHP 8.5, OpenSearch 3, RabbitMQ 4.3 and nginx 1.30 among other components, and the lifecycle sets how long each line keeps standard support, with 2.4.8 running to May 31, 2028 and 2.4.9 to May 31, 2029. If your store runs an older line, such as 2.4.6 with its end of regular support date of August 11, 2026, the connector question and the upgrade question become one project. Compare your current component versions with the requirements for the target line, and check the connector's compatibility list for that same line before you set a go-live date. Adobe's system requirements for Magento Open Source are the natural starting point for that comparison.

Test in a sandbox before any live transaction runs. Ask Adobe or your implementation partner to confirm how sandbox data spaces are provisioned for your account, whether test credentials are kept separate from production credentials, and which card fields and wallet options appear in test mode. Record the answers in the project plan, because the configuration you test is the configuration your PCI DSS assessor will later review. Assign a named owner for the store, the connector settings and each credential the connector holds before the build begins, so that key rotation, access reviews and incident response have a clear home from day one.

What a Magento Open Source payment integration needs before setup

Payment Services work touches the platform, the network, the identity of the merchant account and the sandbox you test in. Each group below is a decision or check to close before the connector is installed, because gaps here are much harder to fix once live card traffic is flowing.

Magento release line and platform matrix

Pick the 2.4.x release first, then build the stack from its requirements page. For 2.4.9 Adobe lists PHP 8.5, MySQL 8.4 or MariaDB 12.3 (recommended) or 11.8, OpenSearch 3, Redis or Valkey 9, RabbitMQ 4.3, Composer 2.10 and nginx 1.30 on Linux x86-64. The 2.4.8-p5 list is the alternative, with PHP 8.4 or 8.3 and Varnish 8. Adobe supports only the listed combinations, so confirm every component against the requirements page for your chosen release before you start.

System requirements

Adobe account and merchant onboarding

Payment Services access depends on an Adobe account and merchant onboarding that your finance or payments owner must complete. Confirm with Adobe which country, legal entity and payment methods your merchant account covers, and which tier applies to your market. Ask who holds the credentials, how they are rotated, and what the onboarding timeline looks like for your entity, because this step sits outside your engineering schedule.

HTTPS and certificates

Payment forms, wallet sessions and the connector callbacks all depend on TLS. Plan certificate issuance, renewal and the hostnames for the storefront, admin and any separate media or API hosts before go-live. Make sure the certificate chain is complete on every node behind the load balancer, and that mixed content and redirects do not break the checkout pages. Confirm the exact domains Adobe expects for your merchant configuration.

Separate sandbox environment

Build a sandbox that mirrors production's Magento version, extensions and front end, but holds no live cardholder data and no live merchant credentials. Use it to exercise the connector, card fields, wallets and refunds before you touch production. Confirm with Adobe how sandbox data spaces are provisioned and whether they are separate from your production merchant account, since mixing them is a common source of confusion during testing.

Varnish or the caching layer

Adobe documents Varnish as the full-page cache accelerator for self-managed installations, so the caching layer is part of the platform matrix, not an afterthought. Decide where Varnish sits relative to TLS termination and the web tier, and how checkout and customer pages are excluded from caching. Test that payment pages and cart state behave correctly through the cache before launch, and confirm the Varnish version against your release's requirements.

Varnish cache guide

Configuration sequence for Adobe Payment Services on Magento Open Source

This sequence takes a self-hosted Magento Open Source store from a confirmed Adobe Payment Services tier to verified sandbox authorization, capture, void and refund flows. Each stage ends with a check that must pass before production credentials are used.

  1. Confirm connector and tier for your country

    Ask Adobe, in writing, which Commerce Services Connector and which tier (Standard or Advanced) apply to your store's country and to the Magento Open Source release you run. Ask which card schemes, wallets and local payment methods are included for that tier, whether card fields are provider-hosted, and whether any fee applies to the sandbox. Your team, or your implementation partner, owns this request, and Adobe's answer defines the scope for every later step. Done when the confirmation names the connector, tier, country, payment methods and the Adobe contact who issued it, and that record is filed with the project.

  2. Align Magento release and dependencies

    Choose a 2.4.x release that is still in standard support, then match PHP, the database, OpenSearch, Redis or Valkey, RabbitMQ, Composer, nginx and any Varnish version to the combinations Adobe lists for that release. Adobe supports only the listed combinations, so do not substitute a newer PHP or database because it is available. Compare your staging host against the system requirements for the chosen release. Done when php -v, composer --version and the database and search versions on staging match the listed combination exactly, and the team signs off the matrix.

  3. Provision sandbox data space and test credentials

    Create the sandbox data space in Adobe's environment and generate test credentials that are used only by non-production Magento instances. Keep the sandbox and production credential sets in separate records with different owners, so a staging change cannot write to live transactions. Record the data space identifier, the sandbox console login for the finance or payments reviewer, and the list of people allowed to view test API keys. Done when a test call made from a staging storefront appears in the provider's sandbox console under the new data space, and no production credential has been copied into staging.

  4. Install the connector using Adobe's documented method

    Install the connector with the method Adobe documents for your release, normally a Composer package installed from a clean staging branch. Then run the standard Magento setup commands for upgrade, dependency injection compilation and cache flush, in that order, and check the module status. Install on staging only until the sandbox tests pass, and keep the install in the same release pipeline as the rest of the store so it deploys the same way everywhere. Done when bin/magento module:status lists the connector as enabled, the admin payment configuration page loads for each store view, and no errors appear in the Magento logs during the setup run.

  5. Store credentials outside the database and code

    Keep API keys and secrets in environment variables or a secrets manager that the web tier reads at runtime, and reference them from deployment configuration rather than typing them into the admin. Confirm with Adobe's documentation how the connector stores values it saves through the admin, and whether those values are encrypted in the configuration table using the store's encryption key. Exclude credential files from version control and check that the deployment bundle does not carry them. Done when a search of the repository and the exported configuration for the test key strings returns no matches, and the staging deployment still authorizes a test payment.

  6. Enable card fields and wallets per store view

    Enable only the card fields and wallets that the confirmed tier supports, and set each payment method at the scope where it is needed, website or store view, rather than only at the default scope. Configure accepted currencies, wallet domain registration and any allowed-country rules, and confirm which fields are rendered by the provider rather than by your theme. If stores share a catalog but differ in country, configure each one separately. Done when a checkout test on every store view shows exactly the expected methods and currencies, and the team records which fields the provider hosts for the PCI DSS scope review.

  7. Run sandbox authorization, capture, void and refund

    Run four test transactions in the sandbox: an authorization that is left open, a capture that creates an invoice, a void on a second order before capture, and a refund against a captured invoice. Use the test card numbers the provider publishes for the sandbox and record each order number and transaction ID. Compare the Magento order status, invoice and credit memo records with the matching transactions in the provider's sandbox console. Done when all four flows show the expected status in both systems, the transaction IDs match one to one, and the results are saved as the acceptance evidence before any production key is loaded.

How a card payment moves from the shopper to the provider

The flow starts when the shopper reaches payment in the Magento Open Source storefront and enters card details into the card fields in the shaded zone. The key question is whether those fields are served by Adobe Payment Services or by the storefront itself, because that decides whether card data reaches the Magento server at all. The Commerce Services Connector passes the payment request from Magento to Adobe Payment Services, which forwards the authorization to the acquirer or processor. The diagram shows the Magento server receiving only a token or reference in return. Confirm each hand-off in Adobe's documentation for your version and setup before you scope PCI DSS controls.

Card data path versus token return to the Magento server, with items to confirm marked.

How the payment design sets PCI DSS scope

The card entry design, more than the platform itself, decides how much of your estate falls under PCI DSS. PCI DSS applies to any entity that stores, processes or transmits cardholder data or sensitive authentication data, and also to entities whose systems could affect the security of the cardholder data environment. Merchants and service providers both fall within that definition. Before choosing a payment method or a self-assessment type, map every system that touches card data in the Magento Open Source store, including the storefront checkout pages, the admin order screens, any custom modules that handle payment fields, the web and database tiers, logs and backups. The same map should show where Adobe Payment Services takes over.

Ask the payment provider for its responsibility matrix, which states which PCI DSS requirements the provider covers and which remain with your store. Then take the matrix to your Qualified Security Assessor or acquirer before you select a Self-Assessment Questionnaire. Confirm whether the chosen card fields are hosted by the provider or rendered by your own pages, because that single decision can move a large share of requirements in or out of your scope. The current standard is PCI DSS v4.0.1, published on 11 June 2024, and it is the only active version. Confirm with your acquirer which version and reporting template they accept for your next assessment.

Assessments are documented in one of two ways: a Report on Compliance completed by a Qualified Security Assessor, or a Self-Assessment Questionnaire, and in both cases the outcome is recorded in an Attestation of Compliance. Certificates and badges are not accepted as validation, so do not build your evidence file around them. Also note that the PCI Security Standards Council does not enforce compliance or set penalties. Your payment brands and acquirer decide which entities must validate and what happens when they do not, so their requirements, not the Council's documents alone, define your obligation.

Wallets, card fields and the checkout security controls that apply

Card fields, wallets and Content Security Policy all sit on the same payment pages, so a change in one can break another. The cards below cover what to confirm with Adobe before the build and what to test after every theme or extension change.

Card fields and where they are hosted

Confirm with Adobe whether the card fields for Adobe Payment Services are rendered in an iframe or script hosted by the provider, or in markup your store renders. The answer decides whether raw card numbers ever touch your web servers, which is the largest single factor in your PCI DSS scope. Ask for the hosting model in writing, including which page types load the fields and whether the same model applies to the Standard and Advanced tiers.

Wallet availability and merchant setup

Each wallet, such as Apple Pay or Google Pay, typically needs its own enablement, domain registration or merchant verification before it appears at checkout. Confirm which wallets are offered in your country and tier, and who completes each registration: your team, Adobe or the wallet provider. Plan a test on every storefront domain and in the sandbox data space, since a wallet that works on one hostname may not on another.

Content Security Policy in restrict mode

Magento Open Source supports Content Security Policy headers from 2.3.5, and from 2.4.7 CSP runs in restrict mode by default on storefront and admin payment pages. In restrict mode, the browser blocks any script, frame or connection that the policy does not list, so a payment widget can fail silently. Review the policy you run before go-live and confirm which payment domains Adobe requires in each directive.

CSP documentation

Effect of CSP on custom scripts and tags

Custom checkout JavaScript, analytics tags, fraud scripts and chat widgets loaded from new hosts will be blocked unless the policy allows them. Inline scripts are a common failure point, because they need a policy entry or a move into a file the policy permits. Inventory every third-party tag on payment pages and record the directive each one needs, so that a marketing change does not disable card payment.

Testing themes and custom JavaScript

Test checkout with the chosen theme and every custom script against the active policy, not only in a development mode where violations may be reported but not enforced. Cover each card type, wallet, 3D Secure challenge, failed payment and guest versus logged-in checkout, in both the sandbox and a staging environment that mirrors production headers. Capture the browser console output for each run so that blocked resources are documented.

CSP review after every change

Review the CSP rules after any theme change, extension update, new tag or upgrade to a patch release, because each one can add or remove a script source on payment pages. Keep the policy under version control with a named owner, and require a checkout test pass before release. This review also produces evidence for the PCI DSS assessor that the controls on payment pages are maintained over time.

How Magento orders, payments and refunds map to provider records

This table pairs each Magento object in a payment flow with the provider record it corresponds to, the direction data travels, and the role that should confirm the mapping. Field names differ between connector versions, so treat every entry as a planning hypothesis until the connector documentation for your release confirms it. The main takeaway is that money movement, refund records and sandbox separation must be agreed on paper before any test order is placed.

Magento objectProvider object or fieldDirectionOwner who confirms it
Order increment IDMerchant reference or order reference on the payment requestMagento to providerStore engineering lead with the connector documentation
Grand total and currencyAuthorized amount and currency code on the transactionMagento to providerFinance controller and payments engineer
Store view and data spaceSandbox or production credentials and data space identifier per store viewConfiguration, set per environmentPlatform engineering and the payment provider account owner
Customer and billing addressBilling details passed for authorization and address verification checksMagento to providerFraud or risk lead and compliance reviewer
Payment method codeProvider method type for card, wallet or local method selected at checkoutMagento to providerCheckout product owner and payments engineer
Authorization and capture stateAuthorized, captured or voided status returned for the order paymentProvider to MagentoPayments engineer and finance reconciliation owner
InvoiceCapture transaction linked to the Magento invoice recordMagento to provider, status backFinance operations and accounting lead
Refund and credit memoRefund transaction linked to the Magento credit memo and original paymentMagento to provider, status backFinance operations and customer support lead

Testing in sandbox and cutting over to production

The sandbox is where the integration is proven before any real cardholder data moves. Configure the Commerce Services Connector against the sandbox data space with test credentials, then run complete order paths rather than isolated payment calls. Cover card payments, the wallet methods your storefront offers, and the local payment methods available for your country and tier. Test refunds, partial captures, declines, timeouts and abandoned checkouts, because failure paths are where order states most often drift.

  • Test credentials: Store sandbox keys in the same secure configuration mechanism you plan to use in production, so the code path is identical and only the values change.
  • Test instruments: Use the test card numbers and wallet accounts Adobe documents for the sandbox, and record which instrument produced each result.
  • End-to-end orders: Run every payment method through checkout, invoice, shipment where applicable, refund and cancellation, and check the order status in the admin after each step.
  • Failure paths: Force declines, 3D Secure challenges, expired sessions and gateway timeouts, and confirm the customer sees a recoverable message and no duplicate order is created.
  • Limits: Confirm sandbox transaction limits, supported test instruments and any differences from production behavior with Adobe before you rely on the results.

Before leaving this tab, confirm that every supported method and failure case has a recorded passing result.

Common payment integration failures and their causes

This table lists the failures teams most often meet when connecting a self-hosted Magento Open Source store to Adobe Payment Services, with the likely cause and the first check to run. Read each row from the symptom across to the fix, since the cause column narrows where to look and the fix column names the check that confirms it. The main takeaway is that most of these failures come from environment mismatches, missing registrations or state mismatches rather than from custom code.

SymptomLikely causeFix and check to run
Payment method missing for a country or tierThe method is not offered in the buyer's country, or the account tier does not include itConfirm country and tier availability in Adobe's documentation and your account settings, then test checkout with a billing address in each target country.
Credentials work in sandbox but fail in productionSandbox and production credentials, data spaces or webhook endpoints were mixed up or never registered for productionVerify each credential set matches its environment, confirm the production webhook URL is reachable over HTTPS, then run a low-value live test order and review the transaction log.
Orders stuck in pending after authorizationThe payment notification never reached the store, or the order status mapping is incompleteCheck webhook delivery logs at the provider, confirm the store endpoint accepts the request, and review the status mapping and the queue for backlog.
Wallet buttons do not appearThe storefront domain is not registered with the wallet provider, or CSP blocks the wallet scriptConfirm the exact storefront domain is registered for each wallet, then check the browser console on the checkout page for CSP violations.
CSP blocks provider scripts after a theme changeThe theme change altered script-src entries or moved inline scripts; CSP runs in restrict mode by default from 2.4.7Diff the CSP allowlist against the previous theme, add the provider's exact script and frame origins, and retest payment pages in staging before release.
Payment errors or blank checkout after an upgradePHP or database versions fall outside the combinations Adobe supports for the target releaseCompare PHP and MySQL or MariaDB versions with the system requirements for your release, such as PHP 8.5 for 2.4.9, and check the payment extension's compatibility before upgrading.
Refund failsA refund was requested on an authorization that was never captured, or the capture state does not match the provider recordCompare the order's transaction state in admin with the provider dashboard before acting; void uncaptured authorizations and refund captured payments.

Security settings that protect the payment integration

The payment integration sits on the same Magento Open Source installation as your catalog, admin users and logs, so its security depends on how those surrounding settings are configured. The six controls below cover credentials, admin access, logging, patching and browser-side protections. Confirm with your assessor which of them map to which PCI DSS requirements before you rely on them for scope.

Keep provider credentials out of code and shared screens

Store payment provider keys and API secrets in secure configuration or environment-level secret storage, not in the codebase, version control or admin fields that many staff can open. Check that the Magento configuration files holding these values are excluded from exports, and that developer and staging environments use sandbox credentials only. Ask your integrator to document where each credential lives, who can rotate it and how a rotation is tested before production.

Restrict who can change payment settings

Create admin roles that separate payment configuration from catalog, order and content work. Only a small named group should be able to change gateway settings, enable payment methods or edit webhook and wallet options. Review role assignments on a set schedule and remove access when staff change jobs. Changes to payment configuration should be traceable to a named user.

Require admin two-factor authentication

Turn on two-factor authentication for every admin account, especially those with payment or order permissions. A stolen password alone should not allow a change to payment routing or refunds. Confirm which second-factor methods your Magento version supports and how account recovery is handled without weakening the control.

Keep card and token values out of logs

Review application, debug and gateway logs, along with any error reporting or monitoring tool connected to the store, to confirm that card numbers, security codes, tokens and authentication data are not written to them. Set debug logging to off in production and test a failed payment to see what gets recorded. Ask the integrator which log files the payment connector writes and who can read them.

Patch Magento on every patch cycle

Adobe's upgrade guidance recommends upgrading on every patch cycle to stay secure and PCI compliant, so plan a recurring window for core patches, connector updates and PHP changes. Test each patch against the payment flow in sandbox before it reaches production. Track the end of regular support date for your 2.4.x line so the upgrade is scheduled before support ends.

Upgrade guide overview

Review CSP and HTTPS settings

Confirm that the store is served only over HTTPS and that Content Security Policy headers are enabled and tuned for the payment page, including any hosted fields or wallet scripts the provider loads. Adobe documents CSP support from 2.3.5, and the restrict mode default on payment pages from 2.4.7, so check which mode your version applies and whether your provider's domains are allowed. Test checkout in each browser your customers use after any policy change.

Content security policies

Questions buyers ask before connecting Adobe Payment Services

What drives the cost and effort of a Payment Services integration?

The main drivers are the Magento release line, how far the checkout has been customized, how many payment methods and countries are in scope, the PCI DSS assessment approach, and the time the team needs for sandbox testing. Each one adds configurations to build, test and document. Most of the cost is labor: the time spent on design, configuration, testing and evidence, whether that work is done by your team or a partner. Recurring costs come from provider fees and from retesting the payment path at each patch. Ask any quote to itemize the environments, test cases, retest rounds and evidence deliverables, and confirm provider fees separately.

Can our in-house team connect Adobe Payment Services without a partner?

Yes, a team with Magento development experience and access to the provider accounts can do the work, but it needs time for sandbox testing, PCI DSS scoping and sign-off. The team needs skills in Magento modules and configuration, checkout behavior for wallets and card fields, and administration of the self-hosted stack. A partner makes more sense when one of those skills is missing or when assessment evidence must be prepared alongside the build. Decide after the written scope is agreed. Ask whether your engineers have already shipped a payment integration on the same release line.

What must our team provide before the integration work starts?

Your team needs to supply a short list of inputs before work begins:

  • Admin access to the store, plus staging and sandbox environments that match production.
  • Provider accounts, merchant identifiers and sandbox credentials for each country and currency in scope.
  • Catalog, tax and shipping rules that the checkout must reflect.
  • Test data, test cards and test accounts for wallets, along with the expected results for each case.
  • A named approver who signs off the written scope and the final test results.

Missing inputs are the most common cause of delay, so confirm access and credentials before the schedule is agreed.

How long does the integration take to complete?

Duration cannot be stated without a written scope. It depends on the number of countries, payment methods, customizations, environments and test cycles. Ask for a plan with milestones: discovery, build in staging, sandbox testing, PCI DSS evidence and go-live. Also check the store's release line, since its support dates set the window for the work. Adobe's published end of regular support dates include May 31, 2029 for 2.4.9, so a store on that line has a longer runway than one on an older line. Confirm the plan against your own release calendar before committing.

Do we need to confirm tier and country availability with Adobe before signing?

Yes. Do not assume that Standard or Advanced tier availability applies to your merchant location, countries or currencies. Ask Adobe in writing which tier applies to your account, which countries are supported, and which wallets and card field options are available for each. Record the answers in the scope document, along with the date and the Adobe contact who gave them. If the answer changes the design, such as a country that needs a different tier, the scope and quote should be revised before the contract is signed.

Does Adobe Payment Services change our PCI DSS scope?

It can reduce the systems in scope, but it does not remove your obligations. PCI DSS applies to any entity that stores, processes or transmits cardholder data, or could affect the security of the cardholder data environment. Whether card data reaches your servers depends on how the card fields, redirects and wallet flows are built and configured. Your scope and assessment type follow from that design, and you complete the assessment on the PCI SSC templates with an Attestation of Compliance. The PCI SSC does not enforce compliance, and the payment brands decide who must validate. PCI DSS v4.0.1 is the only active version, so use it as the basis for the scoping work.

What happens to the integration at the next Magento upgrade?

Each upgrade retests the payment path, and the effort grows with customizations, extension count, third-party integrations and coding practices. Adobe recommends upgrading every patch cycle to stay secure and PCI compliant, so plan for a payment retest at each patch and each minor release. Content Security Policy restrict mode is the default on payment pages from 2.4.7, so check that the connector's scripts and frames still load after an upgrade. Ask the provider which Magento versions the connector supports, and keep the test cases from the original build so the retest is repeatable.

How DeployOpen works on this

DeployOpen plans, implements, customizes, integrates, hardens, documents and supports self-hosted open-source platforms inside your own infrastructure. For Adobe Payment Services on Magento Open Source, we start from a written scope that fixes which countries, payment methods and environments are covered, then build and test the connection in a sandbox before any live transactions.

How we scope

  • Written scope lists storefront countries, payment methods, wallets and the tier each market requires.
  • Scope maps which pages and systems touch card fields, so the PCI DSS scope decision is documented early.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.

How we build

  • Connector setup is done in your Adobe Commerce Services account with your own credentials and sandbox data space.
  • Custom modules follow the documented PSR-4 structure, so checkout changes survive upgrades and code review.
  • Testing covers successful, declined and 3D Secure paths in sandbox before any live configuration is enabled.

How we hand over

  • Handover includes configuration records, environment inventory and a written description of card data flows.
  • Runbooks cover credential rotation, webhook or callback monitoring and how to switch between sandbox and production.
  • Evidence for your QSA or internal assessor is prepared, though PCI DSS validation itself comes from the assessor.

How we support

  • Ongoing support and upgrade work for the payment module are available as a retainer.
  • Retests follow each Magento patch release, since patch cycles change checkout code and dependencies.
  • Continuous security testing of checkout and payment flows can be added to the retainer where your team needs it.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.