gitwtfhub

wtf is malaysia-payment-gateway?

afu-it/malaysia-payment-gateway — explained in plain English

Analysis updated 2026-05-18

36Audience · developerComplexity · 2/5Setup · easy

TL;DR

A collection of AI agent skills that teach coding assistants how to correctly integrate Malaysian payment gateways like Curlec, Xendit, and CHIP Collect.

Mindmap

mindmap
  root((Malaysia Payment Gateway Skills))
    What it does
      Payment integration skills
      Production checklist
    Tech stack
      Agent skills
    Use cases
      Curlec checkout
      Xendit integration
      CHIP Collect
    Audience
      Malaysian developers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Load a skill so an AI agent knows how to implement Curlec checkout and webhook verification

REASON 2

Review existing payment integration code against a production readiness checklist

REASON 3

Add support for additional Malaysian payment gateways using the provided contributor template

REASON 4

Prevent duplicate webhook payment settlements and live and sandbox credential mixups

How it stacks up

afu-it/malaysia-payment-gateway28998306/magicalcanvasaaaa-zhen/siri-glsl
Stars363636
LanguageTypeScriptHTML
Setup difficultyeasymoderateeasy
Complexity2/53/52/5
Audiencedevelopergeneraldesigner

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · easy Time to first run · 30min

Install the overview skill first, then the skill for your specific payment provider.

License not stated in the available metadata.

Wtf does this do

This repository is a collection of AI agent skills for developers who need to add payment processing to applications built for the Malaysian market. A skill in this context is a pre-built set of instructions and knowledge that an AI coding agent can load to give itself accurate context about a specific payment gateway before writing integration code. The six included skills cover the most common Malaysian payment providers: CHIP Collect, Curlec (which connects to Razorpay), Xendit, Bayarcash, BCL Pay, and a general gateway-agnostic overview skill. Each skill teaches the agent how to handle the full payment flow: creating checkout sessions, verifying webhook or callback signatures, and settling payments without processing the same event twice. The README walks through the recommended workflow: install the overview skill first, then install the skill for whichever payment provider you are using. You then ask the agent to review your existing code before writing anything new. Example prompts are provided showing how to phrase requests, such as asking the agent to implement Curlec checkout, callback verification, webhook settlement, and tests in a Next.js project. A dedicated production checklist covers the things that are easy to miss, including separating live from sandbox credentials, making sure duplicate webhook replays are harmless, and confirming that a fake success redirect cannot grant paid access. The repository also includes clear instructions for contributors who want to add support for additional Malaysian payment gateways, including a folder structure, a SKILL.md template, and a validation script. The project is aimed at developers in Malaysia who want to get payment integrations right and avoid common security mistakes.

Yoink these prompts

Prompt 1
Implement Curlec checkout, callback verification, webhook settlement, and tests in my Next.js project.
Prompt 2
Review my existing payment integration code against the production checklist before I add a new gateway.
Prompt 3
Add support for Bayarcash payments using the skill's recommended workflow.
Prompt 4
Explain how to keep webhook replays idempotent for these payment gateways.

Frequently asked questions

wtf is malaysia-payment-gateway?

A collection of AI agent skills that teach coding assistants how to correctly integrate Malaysian payment gateways like Curlec, Xendit, and CHIP Collect.

What license does malaysia-payment-gateway use?

License not stated in the available metadata.

How hard is malaysia-payment-gateway to set up?

Setup difficulty is rated easy, with roughly 30min to a first successful run.

Who is malaysia-payment-gateway for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.