Logo vun Setup Kineticpay

Setup Kineticpay

Communautéit
afu-it
setup-kineticpay

Set up, build, debug, review, and explain KineticPay payment integrations using official KineticPay docs and KineticPay's official WordPress plugins, FPX bill creation via /payment/create, auto-submit HTML checkout, callback_success/callback_error/callback_status URLs, server-side status requery via /payment/status, merchant key from the Collection page, API v2 bearer key, FPX bank codes, sandbox mode, rate limits, and error shapes. Use when working with KineticPay Malaysia, FPX online banking, collection forms, WooCommerce, GiveWP, Gravity Forms, Forminator, custom PHP/Node/Python checkout, callback settlement, or production readiness.

Iwwersiicht

Editeurafu-it
Repositorymalaysia-payment-gateway
Skill-Nummsetup-kineticpay
Stären
74
Forks
11
Matgeliwwert Fichieren
4
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.

  • 4 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

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

Installatioun

Installéiert de KI-Skill Setup Kineticpay an TypingMind, fir e mat all LLM ze benotzen, oder füügt 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 „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/afu-it/malaysia-payment-gateway/tree/main/setup-kineticpay
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu 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 de 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-kineticpay .claude/skills/setup-kineticpay
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Setup Kineticpay 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 Kineticpay 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 Kineticpay 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-Keys.

  • 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.

KineticPay Payment Gateway

Use this skill for KineticPay (kineticpay.my) payment gateway integration work.

Source

Read references/kineticpay-api.md before giving factual API guidance or writing integration code. It holds the endpoint catalogue, the bill creation fields, the callback and requery flow, status codes, FPX bank codes, rate limits, errors, and the gaps in the official docs.

Read references/account-setup.md when the user asks how to register, where the merchant key or API key lives, how sandbox mode works, which env vars to use, payment method availability, settlement, or pricing.

Read references/source-map.md when choosing which official page or plugin file backs a fact, or to see what the public docs do not cover.

Core Workflow

  1. Identify environment: live or sandbox (sandbox is a toggle on the Collection page, same endpoints).
  2. Identify surface: custom server integration, WooCommerce, GiveWP, Gravity Forms, Forminator, WHMCS, or a no-code collection form/link.
  3. Confirm dashboard setup: approved company, a Collection with name and website URL, its merchant key, and (for API v2) the API key.
  4. Create a local pending payment with a unique invoice string before calling KineticPay.
  5. Let the buyer pick an FPX bank; send its code as bank.
  6. POST https://manage.kineticpay.my/payment/create server-side with merchant_key, invoice, amount, description, bank, callback_success, callback_error, callback_status.
  7. Output the returned html (an auto-submit form) to the browser to send the buyer to the bank. On error, show the messages.
  8. On any callback hit, do not trust the request body. Requery GET /payment/status?merchant_key=...&invoice=... server-side.
  9. Settle idempotently only when the requery returns code "00" and the invoice, amount, and local state match.
  10. Keep a requery job for pending payments whose callback never arrived.

Core Facts

  • Payment base (used by all official plugins): https://manage.kineticpay.my.
  • Create bill: POST /payment/create. Requery: GET /payment/status.
  • Bill auth is the Collection merchant_key sent in the body (create) or query string (status). No header auth, no signature.
  • API v2 base: https://manage.kineticpay.my/api/v2, auth Authorization: Bearer <API_KEY>, headers Accept and Content-Type: application/json.
  • API v2 documented endpoints: GET /ping, GET /bank, GET /company. Bills, Collections, Collection Forms, Transactions, Settlements and Points are listed in the docs nav but have no published page (checked 2026-10-21).
  • Successful payment code is "00" (code on requery, record.transaction_status_code on the WooCommerce callback POST).
  • amount is in ringgit with 2 decimals (for example "12.50"), not sen. MYR only.
  • FPX bank codes such as MB2U0227, BCBB0235, PBB0233; fetch the live list from GET /api/v2/bank.
  • Rate limit: 60 requests per minute per user; X-RateLimit-Limit, X-RateLimit-Remaining headers; HTTP 429 when exceeded.
  • Validation errors return JSON {"error": {"field": ["message"]}} (observed with HTTP 200 on /payment/status).
  • Pagination on v2 list endpoints: page, perPage (default 20, max 40), metadata in meta.pagination.
  • Merchant key: Collection page, generated after you enter Collection name and website URL. API key: https://manage.kineticpay.my/api-key.

Critical Rules

  • Keep merchant_key and the API key server-side only. Never put them in browser code.
  • KineticPay documents no callback signature or checksum. Never mark paid from a callback body, redirect, or query string alone; always requery /payment/status server-side.
  • The requery puts merchant_key in a URL query string. Do not log full requery URLs; redact them in HTTP client logs.
  • Make invoice unique per payment attempt and store it before redirecting. Official plugins use a site prefix plus order id plus a suffix (for example MYSHO123KNWC).
  • Compare requery code, invoice, and amount against the local record. The status response schema is not documented; log the full response and confirm which amount field it returns.
  • Settle idempotently: the same invoice can hit callback_success, callback_status, and a requery job.
  • Send amount as a 2-decimal ringgit string. Do not send sen integers.
  • Treat the WooCommerce plugin's 3-second cron and the plugin defects listed in the API reference as patterns to avoid, not copy.
  • Disable sandbox mode on the Collection before going live, and test once in live with a small amount.
  • Card, e-wallet and BNPL are not exposed in any published API field; the public bill flow is FPX with a bank code.

Completion Criteria

A KineticPay integration is done only when:

  1. Bill creation runs server-side with merchant_key from env, and the html response is rendered only after a local pending record exists.
  2. The checkout collects a valid FPX bank code (from GET /api/v2/bank or a vetted list).
  3. All three callback URLs point to a server route that requeries /payment/status and never trusts the request body.
  4. Settlement checks code === "00", invoice, amount, MYR, and local status, inside an idempotent transaction.
  5. A requery job reconciles pending payments within the rate limit (60/min).
  6. Tests cover: forged callback body with "00", unknown invoice, amount mismatch, duplicate callbacks, failed code, error response on create, 429 handling.
  7. Deployment docs list KINETICPAY_MERCHANT_KEY, KINETICPAY_API_KEY (if v2 is used), callback base URL, and the sandbox toggle state.

Loophole Review Loop

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

  1. List trust boundaries: browser, auto-submit form, FPX bank page, callback routes, backend bill creator, KineticPay /payment/*, API v2, database, fulfilment job, requery job, dashboard Collection settings.
  2. Check bypasses: forged callback POST with transaction_status_code: "00", replayed callback, guessed invoice, invoice reuse across attempts, amount tampering before create, sandbox left on in production, merchant key leaked in logs or frontend, stale pending never requeried, rate limit exhaustion from aggressive polling, wrong Collection key for the site.
  3. Add fixes: server-side requery as the only source of truth, unique unguessable invoice, amount check against local record, idempotent settle, redacted logs, backoff on 429, sandbox check at deploy.
  4. Re-read references/kineticpay-api.md sections relevant to any gap.
  5. State remaining uncertainty: undocumented status response fields, undocumented callback payload, no refund or recurring API, card plan access, and whether callback_status is called server-to-server. Tell the user to confirm these with KineticPay support (support@kineticpay.my).

Matgeliwwert Fichieren

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 Kineticpay?

Set up, build, debug, review, and explain KineticPay payment integrations using official KineticPay docs and KineticPay's official WordPress plugins, FPX bill creation via /payment/create, auto-submit HTML checkout, callback_success/callback_error/callback_status URLs, server-side status requery via /payment/status, merchant key from the Collection page, API v2 bearer key, FPX bank codes, sandbox mode, rate limits, and error shapes. Use when working with KineticPay Malaysia, FPX online banking, collection forms, WooCommerce, GiveWP, Gravity Forms, Forminator, custom PHP/Node/Python checkout...

Firwat Setup Kineticpay op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Setup Kineticpay 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 vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Setup Kineticpay 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-kineticpay 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 Kineticpay 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 Kineticpay benotzen?

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

Ass de KI-Skill Setup Kineticpay gratis?

De Skill gëtt vum afu-it 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 weiderverwendbaart Pak vun Instruktiounen, dat 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 en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

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