Logo van Setup Stripe Malaysia

Setup Stripe Malaysia

Community
afu-it
setup-stripe-malaysia

Stel Stripe-betaalgatewayintegraties voor Maleisië in, bouw ze, debug ze, beoordeel ze en leg ze uit. Gebruik deze skill voor werk met Stripe Checkout Sessions, Payment Intents, Payment Links, Elements, webhooks, Stripe.js, Stripe CLI, terugbetalingen, sandbox-/liveconfiguratie, MYR-betalingen, kaarten, FPX, GrabPay en voorbereiding op productie.

Overzicht

Uitgeverafu-it
Repositorymalaysia-payment-gateway
Skillnaamsetup-stripe-malaysia
Sterren
74
Forks
11
Meegeleverde bestanden
4
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 4

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door afu-it op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Setup Stripe Malaysia in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/afu-it/malaysia-payment-gateway/tree/main/setup-stripe-malaysia
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die 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-stripe-malaysia .claude/skills/setup-stripe-malaysia
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Setup Stripe Malaysia in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Setup Stripe Malaysia automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Setup Stripe Malaysia niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Stripe Malaysia Payment Gateway

Use this skill for Stripe payment gateway integration work in Malaysia.

Source

Read references/stripe-api.md before giving factual API guidance or writing integration code. It contains source URLs, environment bases, auth, Checkout Sessions flow, Payment Intents guidance, webhooks (Stripe-Signature verification), Stripe.js initialization, CLI testing, test mode cards, and settlement/security cautions.

Read references/account-setup.md when user asks how to register, which credentials are needed, where keys come from, sandbox setup, dashboard setup, payment method activation, Malaysia-specific methods, pricing, or operational status.

Read references/source-map.md when choosing which Stripe docs page applies to API checkout, webhooks, CLI, SDKs, Elements, Payment Links, subscriptions, or samples.

Core Workflow

  1. Identify environment: test mode or live mode.
  2. Identify integration surface: Checkout Sessions (hosted page, embedded form, or embedded Elements), Payment Intents, Payment Links, or Elements-only.
  3. Confirm dashboard setup: API keys (publishable + secret), webhook endpoint, webhook signing secret, enabled payment methods, and environment-specific configuration.
  4. Create a local pending payment before creating the Stripe Checkout Session or PaymentIntent.
  5. Create the Checkout Session or PaymentIntent server-side with the secret key.
  6. For hosted Checkout: redirect the customer to the returned url. For embedded: pass the client_secret to the frontend.
  7. Treat success_url redirect as browser UX only; do not fulfil from redirect alone.
  8. Verify webhook Stripe-Signature using the Stripe library's constructEvent method over the raw request body with the webhook signing secret.
  9. Settle idempotently only after session/PaymentIntent ID, local reference, amount, currency, payment status, and environment match expectations.
  10. Use session/PaymentIntent retrieval as fallback when webhooks are delayed or failed; do not replace webhooks with polling.

Core Facts

  • API base: https://api.stripe.com.
  • Auth: HTTP Bearer Authorization: Bearer {secret_key}.
  • Secret keys start with sk_live_ or sk_test_.
  • Publishable keys start with pk_live_ or pk_test_. These are safe for client-side use.
  • Checkout Sessions endpoint: POST /v1/checkout/sessions.
  • Payment Intents endpoint: POST /v1/payment_intents (only when Checkout Sessions cannot meet requirements).
  • Webhook signing secrets start with whsec_. Each webhook endpoint has its own secret.
  • Webhook signatures use the Stripe-Signature header with HMAC-SHA256 over {timestamp}.{raw_body}.
  • For Checkout Sessions, Stripe recommends fulfilling orders from the checkout.session.completed webhook event.
  • For async payment methods (like FPX bank redirect), use checkout.session.async_payment_succeeded.
  • Checkout Session payment_status values: paid, unpaid, no_payment_required.
  • Test cards: 4242 4242 4242 4242 (Visa), any future expiry, any CVC.
  • Stripe CLI: stripe listen --forward-to for local webhook testing, stripe trigger for event generation.
  • Malaysia Stripe accounts support MYR, cards, FPX, and GrabPay. Verify current availability in the Dashboard.
  • Stripe supports 125+ payment methods globally.

Critical Rules

  • Keep secret API keys and webhook signing secrets server-side only.
  • Never use secret keys in frontend code, mobile apps, or client-side environment variables.
  • Do not mark paid from success_url redirect or client-side status alone.
  • Always validate webhook signatures using the Stripe library's constructEvent/construct_event with the raw request body before parsing JSON.
  • Use the exact webhook signing secret matching the endpoint that received the event.
  • Store provider session ID, local reference, expected amount, expected currency, and environment before redirecting the customer.
  • Make webhook processing idempotent by logging processed event IDs; duplicate events or retries must not double-fulfil.
  • Confirm amount, currency, session/PaymentIntent ID, local reference, and payment status before marking paid.
  • Use separate webhook URLs for test mode and live mode.
  • Use webhook confirmation as the default settlement path and API retrieval only as a fallback.
  • Do not hardcode the temporary webhook secret from stripe listen — it changes each restart. Use it only for local development.
  • Verify live payment method availability, activation, fees, settlement timing, and current incidents in the Dashboard/docs/status page before claiming production certainty.
  • Stripe recommends Checkout Sessions over Payment Intents for most integrations. Only use Payment Intents when the user explicitly needs custom payment UI or deeply owned checkout state.

Completion Criteria

A Stripe integration is done only when:

  1. Checkout Session or PaymentIntent creation runs server-side with the secret key.
  2. Redirect checkout, embedded checkout, or Elements returns only provider state to the backend; it does not fulfil access directly.
  3. Webhook endpoint is registered in the Stripe Dashboard or tested with stripe listen.
  4. Webhook handler verifies Stripe-Signature over the raw request body with the correct webhook signing secret.
  5. Settlement checks session/PaymentIntent ID, local reference, amount, currency, and payment status.
  6. Duplicate webhooks and event retries are idempotent.
  7. Tests cover invalid signature, duplicate webhook/event replay, wrong amount/currency/reference, failed/expired status, and successful completed payment.
  8. Deployment docs include STRIPE_SECRET_KEY, STRIPE_PUBLISHABLE_KEY, STRIPE_WEBHOOK_SECRET, redirect URL, webhook URL, and test/live separation.

Loophole Review Loop

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

  1. List trust boundaries: browser redirect, checkout page, backend payment creator, Stripe API, webhook receiver, raw-body parser, database, fulfilment job, refund job, dashboard settings, status page, and payment method activation.
  2. Check bypasses: fake success redirect, forged webhook, signature over parsed JSON instead of raw body, wrong webhook secret, test/live mode mix, wrong API key, wrong amount, wrong currency, wrong reference, stale status poll, duplicate webhook, webhook retry after partial processing, inactive payment method, unavailable Stripe service, duplicate refund.
  3. Add fixes: server-side Checkout Session/PaymentIntent creation, local pending payment first, raw-body signature verification with Stripe library, strict amount/currency/reference checks, durable event log, idempotency keys, separate environment config, IP allowlisting where needed, status page check, API retrieval fallback, and dashboard capability verification.
  4. Re-read references/stripe-api.md sections relevant to any gap.
  5. State remaining uncertainty if it depends on current account verification, enabled payment methods, activation windows, settlement timing, pricing, or live operational status.

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Setup Stripe Malaysia?

Stel Stripe-betaalgatewayintegraties voor Maleisië in, bouw ze, debug ze, beoordeel ze en leg ze uit. Gebruik deze skill voor werk met Stripe Checkout Sessions, Payment Intents, Payment Links, Elements, webhooks, Stripe.js, Stripe CLI, terugbetalingen, sandbox-/liveconfiguratie, MYR-betalingen, kaarten, FPX, GrabPay en voorbereiding op productie.

Waarom Setup Stripe Malaysia gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Setup Stripe Malaysia bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Setup Stripe Malaysia in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/afu-it/malaysia-payment-gateway/tree/main/setup-stripe-malaysia. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Setup Stripe Malaysia gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Setup Stripe Malaysia gebruiken?

Zoveel als je wilt. Je kunt Setup Stripe Malaysia gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Setup Stripe Malaysia gratis?

Deze skill is door afu-it op GitHub gepubliceerd. Bekijk de repository voor de licentievoorwaarden. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇