Logo di Setup Kineticpay

Setup Kineticpay

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

Panoramica

Autoreafu-it
Repositorymalaysia-payment-gateway
Nome della skillsetup-kineticpay
Stelle
74
Fork
11
File inclusi
4
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • 4 file inclusi

    Script, modelli di documento e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da afu-it su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Setup Kineticpay in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/afu-it/malaysia-payment-gateway/tree/main/setup-kineticpay
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'agente.

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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Setup Kineticpay in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Setup Kineticpay non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Setup Kineticpay non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

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

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA 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...

Perché usare Setup Kineticpay su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Setup Kineticpay è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Setup Kineticpay in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/afu-it/malaysia-payment-gateway/tree/main/setup-kineticpay. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Setup Kineticpay?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Setup Kineticpay?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Setup Kineticpay: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Setup Kineticpay è gratuita?

È pubblicata su GitHub da afu-it. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇