# Making payment method testing repeatable: building the Adyen Payment Simulator

DevFeed: [Making payment method testing repeatable: building the Adyen Payment Simulator](<https://devfeed.tech/articles/making-payment-method-testing-repeatable-building-the-adyen-payment-simulator-126555.md>)

Original publisher: [Read original article](<https://medium.com/adyen/making-payment-method-testing-repeatable-building-the-adyen-payment-simulator-5c11d6fcbe18?source=rss----64941d9fbc09---4>)

Author: Adyen

Published: 2026-11-09T14:15:51Z

Content type: article

Language: en

Sources: [Adyen Tech](<https://devfeed.tech/sources/adyen-tech.md>)

Topics: [Integration testing](<https://devfeed.tech/topics/integration-testing.md>), [Test automation](<https://devfeed.tech/topics/test-automation.md>), [reproducibility](<https://devfeed.tech/topics/reproducibility.md>)

Tags: [adyen](<https://devfeed.tech/tags/adyen.md>), [asynchronous](<https://devfeed.tech/tags/asynchronous.md>), [bank](<https://devfeed.tech/tags/bank.md>), [banking](<https://devfeed.tech/tags/banking.md>), [capture](<https://devfeed.tech/tags/capture.md>), [card](<https://devfeed.tech/tags/card.md>), [catalog](<https://devfeed.tech/tags/catalog.md>), [checkout](<https://devfeed.tech/tags/checkout.md>), [code](<https://devfeed.tech/tags/code.md>), [confidence](<https://devfeed.tech/tags/confidence.md>), [developers](<https://devfeed.tech/tags/developers.md>), [engineers](<https://devfeed.tech/tags/engineers.md>), [environment](<https://devfeed.tech/tags/environment.md>), [failure](<https://devfeed.tech/tags/failure.md>), [flow](<https://devfeed.tech/tags/flow.md>), [integration](<https://devfeed.tech/tags/integration.md>), [integration-testing](<https://devfeed.tech/tags/integration-testing.md>), [payment](<https://devfeed.tech/tags/payment.md>), [payments](<https://devfeed.tech/tags/payments.md>), [sandbox](<https://devfeed.tech/tags/sandbox.md>), [simulator](<https://devfeed.tech/tags/simulator.md>), [testing](<https://devfeed.tech/tags/testing.md>)

## AI overview

The Adyen Payment Simulator makes common payment outcomes repeatable so teams can test complete payment lifecycles, including asynchronous results and post-payment actions. For flows such as UPI Intent, a test selects an authorized, refused, or canceled outcome on a simulator page; Adyen then sends an AUTHORISATION webhook, and the integration must commit the resulting state. This exposes bugs that checking only an initial pending response can miss. The design favors explicit outcome selection over injecting arbitrary payment state, and shares a common lifecycle while keeping payment-specific continuations visible. Per-method response adapters shape requests and responses; generic flows share simulation logic, while UPI has dedicated logic, and webhook delivery is shared. The simulator complements provider sandboxes, which can offer a more faithful shopper experience beyond the merchant page but require separate integrations. It does not simulate every method-specific quirk, provide load-test throughput characteristics, or reproduce failure modes that require production telemetry; availability also depends on the payment method.

## Source excerpt

By Ayodeji Ogundare, Henk Grent, Marc Sernatinger, and Shantanu Tarey Adyen supports merchants around the world, and our catalog of payment methods keeps growing. For merchants integrating with us, payments are the heart of the business, and the code that handles them is among the most consequential software they ship. A broken payment path isn't just an inconvenience; it's lost revenue and lost shopper trust. Getting a green happy-path response during integration testing doesn't prove your integration will hold up under the conditions that actually matter at go-live. In live, many payment methods finish outside your checkout: the shopper approves in their banking or payment app, and your integration hears about the result later. A test that only checks the first response never sees that. How a payment finishes varies by payment method. That's why we built the Adyen Payment Simulator: to give developers and QA engineers a way to test the most common success and failure scenarios on demand, with the same result every time, from authorized, refused and canceled payments to post-payment modifications such as capture and refund. That way they can build confidence in their integration, before launch and whenever they need to reproduce a known outcome later, without setting up a separate test environment for every payment method. Payment methods don't behave alike A basic card payment can be completed in a single request and a single response. Many other payment methods can't. For those, the flow a merchant tests against follows a lifecycle: an initial call, an additional action the integration must perform, an asynchronous result, and a final state the merchant has to commit. Different payment methods interrupt that lifecycle in different places. Three concrete examples: UPI Intent, India's real-time bank-to-bank payment method, where the shopper is redirected to a UPI app, the initial response is pending, and the result is established only when the integration receives