Logo: Setup Adyen

Setup Adyen

Communautéit
afu-it
setup-adyen

Konfiguréiert, entwéckelt, debuggt, iwwerpréift an erkläert Adyen-Bezuelungsintegratioune mat den offiziellen Adyen-Dokumenter, Checkout API v72 (/sessions, /paymentMethods, /payments, /payments/details), Hosted Checkout, Web Drop-in a Components, HMAC-SHA256-signéierte Webhooks, Ofrechnungen, Remboursementer, Annuléierungen, Réckgängigmachungen, Tokeniséierung, Bezuelungslinken, Testkaarten, Live-Endpoint-Prefix, API-Key- a Client-Key-Konfiguratioun a Go-live-Kontrollen. Benotzt dëse Skill bei der Aarbecht mat Adyen fir malaysesch Händler, MYR, FPX (MOLPay), DuitNow QR, Touch 'n Go, GrabPay, Boost, Atome, Alipay, Alipay+, Kaarten, Apple Pay, Google Pay, Adyen-Webhook-Ofrechnung, Ofgläich oder der Produktiounsbereetschaft.

Iwwersiicht

Editeurafu-it
Repositorymalaysia-payment-gateway
Skill-Nummsetup-adyen
Stären
74
Forks
11
Matgeliwwert Dateien
11
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 11 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    afu-it huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Setup Adyen an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/afu-it/malaysia-payment-gateway/tree/main/setup-adyen
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/afu-it/malaysia-payment-gateway.git /tmp/malaysia-payment-gateway
mkdir -p .claude/skills
cp -r /tmp/malaysia-payment-gateway/setup-adyen .claude/skills/setup-adyen
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Setup Adyen an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Setup Adyen automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Setup Adyen net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Adyen Payment Gateway

Use this skill for Adyen online payment integration work for Malaysian merchants.

Source

Read references/adyen-api.md first. It is the entry point: environments, auth, idempotency, endpoint catalogue, flow summary, HMAC algorithm, statuses, amounts, IP ranges, common errors, and links to the topic files.

Read the topic file for the task:

  • references/adyen-checkout.md: Sessions flow, Hosted Checkout, Advanced flow, Drop-in, actions, result codes, 3DS2.
  • references/adyen-webhooks.md: webhook setup, payload, HMAC verification code, event codes, retries.
  • references/adyen-modifications.md: capture, refund, cancel, reversal, amount update, lifecycle, disputes API.
  • references/adyen-payment-methods-my.md: FPX issuers, DuitNow, Touch 'n Go, GrabPay, Boost, Atome, Alipay, Alipay+, WeChat Pay, cards.
  • references/adyen-tokenization-links.md: tokens and payment links.
  • references/adyen-errors-testing.md: sandbox data, refusal reasons, error codes.
  • references/adyen-fields.md: full request and response field tables from the official OpenAPI.

Read references/account-setup.md for registration, documents, Customer Area paths, credentials, env vars, payment method activation, payouts, reports, and go live.

Read references/source-map.md to pick the right official page and to see what the skill covers.

Core Workflow

  1. Identify environment: test (checkout-test.adyen.com) or live (<PREFIX>-checkout-live.adyenpayments.com).
  2. Pick the flow: Hosted Checkout, Sessions flow with Drop-in, or Advanced flow; payment links for invoices.
  3. Confirm Customer Area setup: merchant account, API credential roles, API key, client key with allowed origins, payment methods added (FPX and others), webhook with HMAC key.
  4. Create a local pending order (amount in sen, MYR) before calling Adyen.
  5. Call POST /sessions (or /paymentMethods then /payments) server-side with x-API-key, idempotency-key, reference = order id, countryCode: "MY", returnUrl.
  6. Render Drop-in with session.id and sessionData and the client key, or redirect to the Hosted Checkout url.
  7. On return, submit redirectResult and show resultCode as UX only.
  8. Verify each webhook item's additionalData.hmacSignature (HMAC-SHA256, hex-decoded key, 8 fields joined by :), store it, return 2xx within 10 seconds, then process.
  9. Settle idempotently from AUTHORISATION with success == "true" after matching reference, amount, currency, merchant account and environment.
  10. Run captures, refunds, cancels and reversals server-side; treat their webhooks as the outcome.

Core Facts

  • Checkout API version used by the docs: v72. Test base https://checkout-test.adyen.com/v72.
  • Live base https://<PREFIX>-checkout-live.adyenpayments.com/checkout/v72; prefix from live Customer Area > Developers > API URLs.
  • Auth: x-API-key header from Developers > API credentials; client key (test_ / live_) for the frontend only.
  • amount.value is an integer in minor units; MYR has 2 decimals.
  • idempotency-key header, max 64 characters, kept at least 7 days.
  • Webhook HMAC string: pspReference:originalReference:merchantAccountCode:merchantReference:amount.value:amount.currency:eventCode:success.
  • Webhooks must get 2xx within 10 seconds; retries run up to 30 days.
  • Modifications return status: "received"; outcomes come by CAPTURE, REFUND, CANCELLATION, CANCEL_OR_REFUND, TECHNICAL_CANCEL webhooks.
  • FPX type molpay_ebanking_fpx_MY with required issuer; all 18 issuers must be shown (PayNet rule).
  • DuitNow is QR only and its result comes only by webhook; DuitNow and Touch 'n Go are enabled through Support.
  • Malaysian local methods have no recurring and no separate capture; Boost allows full refunds only.
  • No webhook is sent at settlement; use the Settlement details report.

Critical Rules

  • Keep the API key, HMAC key and report credentials server-side. The client key is public but restrict its allowed origins.
  • Never fulfil from resultCode, onPaymentCompleted, redirectResult, sessionResult or a return URL alone.
  • Verify HMAC per notification item with the hex-decoded key and constant-time comparison; reject items without hmacSignature.
  • For header-signed webhooks (token life cycle, Management), verify over the raw body.
  • Use test keys with test hosts and live keys with the live prefix host; check webhook live matches.
  • Accept, store and acknowledge webhooks before business logic; make processing idempotent on pspReference, eventCode, success.
  • Compare amount.value as an integer and amount.currency against the stored order.
  • Send every POST with an idempotency-key; retry only with the same key.
  • Show all 18 FPX banks; do not filter the issuer list.
  • Respect method limits: GrabPay reference max 32 [A-Za-z0-9_-]; Atome MYR 10 to 1,500 debit or 5,000 credit, required shopper fields, no portable electronics.
  • Do not copy fees; link https://www.adyen.com/pricing.
  • Say "Not documented in official docs" instead of guessing.

Completion Criteria

An Adyen integration is done only when:

  1. Session or payment creation runs server-side with x-API-key and idempotency-key.
  2. The frontend only renders Drop-in or redirects; it cannot mark an order paid.
  3. A Standard webhook is configured per environment with its own HMAC key.
  4. The webhook handler verifies HMAC exactly as documented, stores, acknowledges within 10 seconds, and processes asynchronously.
  5. Settlement checks merchantReference, amount, currency, merchantAccountCode, live, and success.
  6. Duplicate webhooks, late AUTHORISATION after Pending, OFFER_CLOSED, and modification failures are handled idempotently.
  7. Tests cover bad HMAC, replayed event, wrong amount or currency, refused payment, pending FPX or wallet, refund failure, and a successful payment.
  8. Deployment docs list ADYEN_API_KEY, ADYEN_MERCHANT_ACCOUNT, ADYEN_CLIENT_KEY, ADYEN_HMAC_KEY, ADYEN_ENVIRONMENT, ADYEN_LIVE_URL_PREFIX, return URL, webhook URL, and test or live separation.

Loophole Review Loop

When asked whether an Adyen strategy is "100% confident", run this loop until no factual gaps remain:

  1. List trust boundaries: browser, Drop-in, return URL, Hosted Checkout page, backend creator, Adyen API, webhook receiver, queue, database, fulfilment, modification jobs, Customer Area settings, reports.
  2. Check bypasses: forged return URL, forged webhook, HMAC over wrong fields or unhexed key, test key in live, wrong prefix host, wrong merchant account, amount or currency mismatch, duplicate or out-of-order events, slow handler causing retries, pending marked failed too early, refunds before capture, cancel after capture, method not enabled, missing FPX banks.
  3. Add fixes: server-side creation, local pending order first, documented HMAC check, constant-time compare, strict field matching, durable event log, idempotency keys, environment-separated config, DNS-based allowlisting, report reconciliation.
  4. Re-read the relevant reference file for any gap.
  5. State remaining uncertainty that depends on the merchant's contract, enabled methods, live region, payout model, or Support-enabled features.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Setup Adyen?

Konfiguréiert, entwéckelt, debuggt, iwwerpréift an erkläert Adyen-Bezuelungsintegratioune mat den offiziellen Adyen-Dokumenter, Checkout API v72 (/sessions, /paymentMethods, /payments, /payments/details), Hosted Checkout, Web Drop-in a Components, HMAC-SHA256-signéierte Webhooks, Ofrechnungen, Remboursementer, Annuléierungen, Réckgängigmachungen, Tokeniséierung, Bezuelungslinken, Testkaarten, Live-Endpoint-Prefix, API-Key- a Client-Key-Konfiguratioun a Go-live-Kontrollen. Benotzt dëse Skill bei der Aarbecht mat Adyen fir malaysesch Händler, MYR, FPX (MOLPay), DuitNow QR, Touch 'n Go, GrabPa...

Firwat Setup Adyen op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Setup Adyen besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Setup Adyen an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/afu-it/malaysia-payment-gateway/tree/main/setup-adyen an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Setup Adyen benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Setup Adyen benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Setup Adyen domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Setup Adyen gratis?

afu-it huet de Skill op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇