Adding Adyen to a custom checkout means building three parts: a payments server, the checkout your shoppers see and a webhook server that receives payment results (Adyen online payments). For most shops, Adyen recommends its ready-made Drop-in/Components with the Sessions flow. That route needs one request from your server and qualifies for the simplest PCI questionnaire, SAQ A. The work people underestimate sits around the edges: webhooks, setting up the live account again by hand, and testing with real cards before launch.
This is a technical topic. This guide explains the decisions in plain words for owners, founders and marketers who need to choose an approach and judge a quote. You don’t need to know how to code to follow it. If you have not yet picked a provider, start with our comparison of Stripe, Adyen and Paystack.
What are the ways to integrate Adyen?
Adyen’s docs describe an integration in three parts: a payments server, a client website or app, and a webhook server (Adyen). The main choice is how the checkout your shoppers see is built. These are the options:
- Drop-in/Components. Adyen’s ready-made checkout pieces. Adyen recommends them for building your website or app, and its docs cover web, iOS, Android, React Native and Flutter (Adyen). On the web, Adyen’s current docs refer to Web Drop-in v6. Adyen’s docs mostly cover Drop-in and Components together, so your developer should check which one fits your design.
- API only with encrypted card data. You build your own card form and use Adyen’s client-side encryption to stay PCI compliant. Adyen’s own page says that if you would rather not build your own form, you should use Drop-in or the Card Component (Adyen).
- Pay by Link. You send the shopper a payment link instead of running a checkout. Adyen says: “Do not use Pay by Link as the only way to accept payments for your online shop.” Links are removed automatically three months after they are created (Adyen).
- A platform plugin. If your shop runs on a platform Adyen supports, a plugin may replace most of the custom work. There is more on this below.
| Option | What you build | Good for | Watch out for |
|---|---|---|---|
| Drop-in/Components | Your server plus Adyen’s ready-made checkout pieces | Most custom shops and apps | You style Adyen’s components rather than design the form from scratch |
| API only (encrypted) | Your own card form, your server and Adyen’s encryption | Brands that need full control of the form | More to build and test. Adyen points you back to Drop-in if you don’t need this |
| Pay by Link | No checkout: you send links | Invoices, and payments agreed by chat, email or social media | Not meant to be your shop’s only way to pay. Links are removed after three months |
| Platform plugin | Mostly set-up, little code for the standard checkout | Shops on Shopify, Adobe Commerce or Salesforce Commerce Cloud | Limits on customising the plugin |
Should you choose the Sessions flow or the Advanced flow?
Once you have chosen the checkout pieces, your developer chooses how your server talks to Adyen. Adyen calls Sessions “the default integration that we recommend and that meets the requirements for most online payments integrations” (Adyen). Adyen’s own comparison:
| Sessions | Advanced | |
|---|---|---|
| Integration effort | Light | Medium |
| Endpoint requests from your server | 1 | 3 |
| Redirects and additional actions handled | Client-side | Client-side and server-side |
Adyen’s page lists cases where you should check which flow fits before you build. These include:
- checking stock before the payment is made
- updating the amount when the cart changes
- express checkout with Apple Pay or Google Pay
- a separate order-review page
- changing the order in which payment methods are shown.
Our advice: start with Sessions unless your checkout really needs one of these. Every extra server request is more code to build, test and maintain.
Do you still need PCI compliance with Adyen?
Yes, but much less of it if you use Adyen’s tools. Adyen is a PCI DSS Level 1 Service Provider. Even so, its guide says plainly that “your integration with Adyen does not completely eliminate your PCI scope” (Adyen PCI DSS guide). What this means for you:
- Drop-in, or API only with Adyen’s encryption: you must assess your compliance and submit Self-Assessment Questionnaire A (SAQ A) before you take live card payments (Drop-in, API only).
- Sessions flow: Adyen’s tokenisation page says it qualifies you for “the simplest form of PCI validation (SAQ A)” (Adyen).
- Handling raw card numbers yourself: “To collect raw card data, you need to be fully PCI DSS compliant” (same page). If you are not, Adyen recommends paying with its tokens to limit your PCI scope.
- Every year: every entity has to validate its PCI DSS compliance annually (Adyen).
Building your own form with API only does not, by itself, mean full PCI compliance: with Adyen’s encryption, Adyen’s pages still name SAQ A.
What are Adyen webhooks and why do they matter?
A webhook is a message Adyen sends to your server when something happens to a payment, for example when it is authorised, refunded or disputed. Adyen’s docs ask whether you should set them up and answer: “Yes, absolutely” (Adyen webhooks). Adyen recommends relying on the AUTHORISATION webhook, rather than the payment result returned by the API, to trigger your business logic, such as marking an order as paid (webhook types).
Standard event codes include AUTHORISATION, CANCELLATION, CANCEL_OR_REFUND, CAPTURE, CAPTURE_FAILED, REFUND, REFUND_FAILED and CHARGEBACK. Two details are easy to miss (same page):
- by default, Adyen sends no
CAPTUREwebhook for automatic captures - Adyen sends no webhook when a payment settles successfully.
Your developer has to handle webhooks in a set order (Adyen):
- Check the HMAC signature, which Adyen strongly recommends. Each HMAC key is linked to one webhook endpoint (Adyen).
- Store the message.
- Reply with a success code such as 200 or 202. If Adyen gets no reply within 10 seconds, it marks the webhook as Failing and puts it in a retry queue.
- Only then, process it: update the order, send the email, tell the kitchen or warehouse.
The same event can arrive twice, and Adyen says to check the timestamp so you process events in the right order. Failed webhooks are retried for up to 30 days, at intervals from 30 seconds up to 8 hours. Adyen sends an alert after 5 retry attempts and another after 7 days (Adyen). If duplicates and order are not handled, you get orders that are paid but never marked as paid, or marked twice.
How do you test an Adyen integration?
You build and test everything in Adyen’s test environment first:
- Test account. Adyen lets developers try its integrations with a test account. Adyen notes that a test account does not guarantee you will be approved as a customer (Adyen signup).
- Test cards. Adyen publishes test card numbers that only work on its test platform, plus a Chrome extension that gives you the test cards in your browser (Adyen).
- Test endpoints. The test API runs on checkout-test.adyen.com. Live calls go to a separate address with a prefix unique to your company (Adyen).
A good test plan covers more than a successful payment. It also covers refused cards, refunds, a webhook that arrives twice and a server that is briefly down. Ask whoever builds it to show you that list.
How do you go live with Adyen?
You apply for a live account. If Adyen approves it, you get access to the live Customer Area (Adyen). We have not been able to confirm Adyen’s review steps or how long approval takes, so allow for it in your plan.
The step people underestimate is this one: “We do not automatically copy the settings from your test Customer Area to your live environment” (Adyen go-live checklist). In the live account you set up again:
- account and finance settings
- risk and compliance settings
- a new live API key
- the live endpoints (the prefix is under Developers > API URLs, according to Adyen)
- live webhooks
- every payment method, added again.
Then you test with real money, because “Payments with real details incur fees” (go-live checklist). Adyen’s checklist asks for:
- a real payment with each payment method
- a Refused payment
- a FRAUD refusal
- a refund and a partial refund.
For Mastercard, 3D Secure enrolment can take up to 12 hours, and you must confirm your PCI DSS requirements are complete (same checklist).
When is a plugin enough, and when do you need a custom build?
Adyen offers plugins. Some are built and maintained by Adyen, others with partners (Adyen plugins):
- Shopify: the apps “Adyen Payments - Credit Cards” and “Adyen - Alternative Payments”. Checkout Extensibility is required (Adyen).
- Adobe Commerce (Magento 2): the plugin is open source. Adyen does not recommend customising it, and support may not be available if you don’t use the default checkout (Adyen).
- Salesforce Commerce Cloud: Adyen provides a payments cartridge for Storefront Reference Architecture sites and an npm package for the headless Composable Storefront (Adyen).
If your shop runs on one of these platforms and its standard checkout is fine for you, the plugin is usually the cheaper and safer choice. A custom build pays off when the checkout is your own product. Examples are an app, a headless storefront, or a platform with several stores or brands where payments must tie into ordering, delivery and refunds. We have spent years building multi-store food ordering platforms with Adyen, Stripe, Paystack and Uber Direct, and in our experience much of the effort goes into webhooks and refunds, not the payment form. If that sounds like your set-up, our guide to multi-store ordering platform costs covers the wider build.
If you hire someone, ask for a scoping step before a build quote. For our payments and delivery integrations, scoping takes three days and ends with a fixed quote for the build. The integration itself (webhooks, refunds, test cases and monitoring) takes two to five weeks. Both are a fixed quote after a free call.
What should you do next?
- Check whether your platform has an official Adyen plugin, and whether its standard checkout is enough for you.
- If you need a custom build, write down any needs beyond the default: stock checks, changing cart amounts, express wallets or a review page. These decide Sessions or Advanced.
- Open a test account so your developer can start building while your live application is reviewed.
- Plan time for setting up the live account again and for real-money tests, and agree who owns the PCI SAQ A each year.
- Ask your developer to show you the webhook handling and test plan before launch day.
More questions
Does Adyen handle 3D Secure and Strong Customer Authentication for me?
With the Sessions flow, Adyen says you need no extra configuration to support 3D Secure 2. With the Advanced flow or API only, your developer has to build the extra steps. Adyen recommends 3D Secure 2 to meet rules that require strong customer authentication, such as PSD2 SCA in the EEA and the UK Payment Services Regulations 2017.
Can Adyen save cards so repeat customers can pay faster?
Yes. If the shopper agrees, Adyen stores their payment details in the Adyen Vault, and you charge them later with a token. You can use tokens for one-click payments, subscriptions and automatic top-ups. If you charge a saved card when the shopper is not there, you need Adyen's /payments endpoint, even if the rest of your checkout uses the Sessions flow.
How much does Adyen cost, and is there a setup fee?
Adyen's pricing page says it charges a fixed processing fee for each transaction plus a fee that depends on the payment method, with no setup or monthly fees. Other Adyen products are priced separately. The amounts change by region and payment method, so check adyen.com/pricing for your own figures.
Can I take payment later instead of at checkout, and how long do refunds take?
By default, Adyen captures payments automatically and straight away. You can switch to delayed automatic capture or manual capture, but separate capture only works with some payment methods. You can only refund a payment after it has been captured. Adyen says refunds can take up to 40 business days to reach the shopper, depending on the payment method.