setup-curlec

Installation
SKILL.md

Curlec Payment Gateway

Use this skill for Razorpay Curlec payment gateway integration work.

Source

Read references/curlec-payment-gateway.md before giving factual API guidance or writing integration code. It contains source URLs, integration flow, endpoint map, signature rules, webhook rules, sandbox notes, and common failure fixes from Curlec docs.

Read references/account-setup.md when user asks how to register, which API keys are needed, where credentials come from, or what dashboard setup is required.

Core Workflow

  1. Identify product surface: Standard Checkout, redirect/FPX flow, Payment Links, Orders/Payments/Refunds API, mobile SDK, plugin, or payout/RazorpayX.
  2. Identify environment: Test mode or Live mode. Keep keys, orders, webhooks, and dashboard checks separated by mode.
  3. Create an internal transaction/order row first, then create a Curlec Order server-side.
  4. Pass only the public Key ID and Curlec order_id to Checkout. Keep Key Secret server-side only.
  5. On Checkout success, store razorpay_payment_id, razorpay_order_id, and razorpay_signature, then verify the signature on the server.
  6. Use webhooks for durable asynchronous fulfilment and API fetches for immediate user-facing confirmation where needed.
  7. Before fulfilment, verify amount, currency, order mapping, payment status, capture state, signature, idempotency, and duplicate events.
Installs
18
GitHub Stars
62
First Seen
May 23, 2026
setup-curlec — afu-it/malaysia-payment-gateway