setup-fiuu

$npx mdskill add afu-it/malaysia-payment-gateway/setup-fiuu

Integrate and debug Fiuu payment gateway across platforms.

  • Set up hosted payment pages, seamless integration, or mobile XDK.
  • Depends on Fiuu API specs, SDKs, and shopping cart plugins.
  • Reads reference docs to choose correct endpoints and credentials.
  • Provides code examples, config steps, and webhook/IPN guidance.

SKILL.md

.github/skills/setup-fiuuView on GitHub ↗
---
name: setup-fiuu
description: Set up, build, debug, review, and explain Fiuu payment integrations using official Fiuu API specs, Seamless Integration, Inpage Checkout, Mobile XDK, SDKs, and shopping cart plugin references. Use when working with Fiuu hosted payment pages, payment requests, vcode/skey verification, Return URL, Notify/Notification URL, Callback URL, IPN ACK/retry behavior, payment status requery, refunds, captures, recurring/token payments, channel status, mobile Flutter/Android/iOS/React Native XDK, JavaScript Seamless Integration, Inpage Checkout, WooCommerce, Magento, OpenCart, WHMCS, Shopify, or Fiuu account/dashboard setup.
---

# Fiuu

Use this skill for Fiuu payment gateway integration work.

## Source

Read `references/fiuu-api.md` before giving factual API guidance or writing integration code. It contains source URLs, integration surfaces, environment hosts, endpoint roles, vcode/skey formulas, webhook/IPN guidance, mobile XDK facts, and loophole fixes.

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

Read `references/source-map.md` when choosing a Fiuu GitHub repo, SDK, plugin, or mobile platform reference.

## Core Workflow

1. Identify environment: sandbox/UAT/dev/production and web, mobile, plugin, POS, or recurring flow.
2. Choose integration surface: Hosted Payment Page, Seamless Integration, Inpage Checkout, Mobile XDK, SDK, shopping cart plugin, Direct Server, recurring, refund/capture, status requery, or terminal/POS.
3. Create a local pending payment before sending the customer to Fiuu.
4. Generate request hash (`vcode`) server-side when required.
5. Configure and verify backend Notify/Notification URL and Callback URL. Use Return URL only for UX.
6. Verify response hash (`skey` or XDK checksum/VrfKey) server-side with the correct formula and secret.
7. Requery Fiuu status when needed, then settle only after amount, currency, order ID, merchant ID, status, and provider reference match.
8. Make settlement idempotent by storing Fiuu transaction ID, order ID, event/source, verification result, and processed status.

## Core Facts

- Main hosted payment request URL:
  - Production: `https://pay.fiuu.com/RMS/pay/{MerchantID}/{Payment_Method}`
  - Sandbox: `https://sandbox-payment.fiuu.com/RMS/pay/{MerchantID}/{Payment_Method}`
- API hosts in sandbox replace `api.fiuu.com` with `sandbox-api.fiuu.com`.
- Most Fiuu API requests use `application/x-www-form-urlencoded`, not JSON.
- Credentials can include Merchant ID, Verify Key, Secret Key, password/API credentials, and environment-specific sandbox/live values.
- Common web status codes: `00` success, `11` failed, `22` pending.
- Return URL is browser-facing and not reliable for fulfilment.
- Notify/Notification URL is the primary server-to-server webhook for payment status.
- Callback URL handles non-realtime/deferred status changes such as cash channels.
- IPN ACK can trigger retry behavior when enabled; do not acknowledge before durable recording.

## Working Rules

- Do not expose Verify Key, Secret Key, API password, or private signing inputs in browser/mobile code.
- Do not mark paid from Return URL, redirect, mobile result, or frontend event alone.
- Always verify Fiuu hashes on the backend and compare local stored payment data.
- For Seamless Integration, confirm domain registration/whitelisting and use Channel Status API for subscribed channels when channel selection is merchant-side.
- Do not iframe bank login/authorization pages; banks/channels can block cross-origin flows.
- Do not use Direct Server/Card integrations unless PCI-DSS scope and Fiuu approval are explicitly handled.
- For mobile XDK, send returned result/checksum to backend for verification, especially when using private Secret Key.
- If user asks for latest fees, channel availability, dashboard state, onboarding requirements, plugin compatibility, or account-specific enablement, verify live Fiuu docs/dashboard/support first.

More from afu-it/malaysia-payment-gateway

SkillDescription
malaysia-payment-gatewayBuild, debug, review, and explain Malaysia payment gateway integrations. Use when implementing checkout, payment links, hosted payment pages, redirects, callbacks, webhooks, HMAC/signature verification, idempotent settlement, paid-access unlocking, refunds, reconciliation, sandbox/live setup, or provider switching for Malaysian gateways such as CHIP Collect, Curlec/Razorpay, Xendit Malaysia, Bayarcash, BCL Pay, toyyibPay, Billplz, FPX, DuitNow QR, cards, or e-wallets.
setup-bayarcashSet up, build, debug, and explain Bayarcash payment integrations using Bayarcash API docs, Web Impian API docs, Bayarcash PHP SDK, WordPress plugins, Boost.space integration links, and Bayarcash MCP server references. Use when working with Bayarcash API v2/v3, payment intents, FPX banks, DuitNow banks or wallets, portals, payment channels, callbacks/webhooks, checksums, transaction lookups, direct debit/e-Mandate flows, enterprise partner merchant/payout APIs, Laravel/PHP SDK usage, WordPress Bayarcash integrations, or Bayarcash MCP tooling.
setup-bclSet up, build, debug, review, and explain BCL payment gateway, BCL Pay, BCL Payment Link, BCL QR Terminal, BCL Forms, Bayarcash-linked setup, portal keys, transactions, webhooks, direct debit forms, client info, payment redirects, and BCL operating procedures using BCL docs.
setup-billplzSet up, build, debug, review, and explain Billplz payment integrations using Billplz API docs, help center, GitHub plugins, status pages, payment collections, payment forms, Payment Order payouts, X Signature callbacks/redirects, V5 checksums, sandbox/live setup, API Secret Key, Collection ID, and X Signature Key.
setup-chipSet up, build, debug, and explain CHIP Collect payment integrations using the official CHIP Collect API documentation. Use when working with CHIP Collect purchases, checkout URLs, payment links, direct post, FPX, DuitNow QR, cards, e-wallets, callbacks, webhooks, signature verification, clients, recurring tokens, subscriptions, pre-authorization, refunds, captures, releases, payment methods, statements, account balance, account turnover, API keys, Brand ID, or CHIP Collect endpoint schemas.
setup-curlecSet up, build, debug, review, and explain Razorpay Curlec payment gateway integrations using Curlec and shared Razorpay documentation. Use when working with Curlec/Razorpay Standard Checkout, FPX or redirect payment methods, Orders API, Payments API, Refunds API, Payment Links, Basic Auth API keys, checkout.js options, callback_url, payment signature verification, webhook setup, webhook HMAC validation, sandbox/test mode, payment capture, payment status reconciliation, or Malaysia payment gateway go-live checks.
setup-hitpaySet up, build, debug, review, and explain HitPay payment integrations using official HitPay docs, Payment Request API, hosted checkout, Drop-In UI, webhooks, HMAC-SHA256 signatures, sandbox/live setup, API keys, webhook salt, payment methods, plugins, refunds, recurring billing, payouts, platform APIs, and status page checks. Use when working with HitPay Malaysia, FPX, DuitNow, Touch 'n Go, cards, e-wallets, QR payments, Payment Links, API checkout, webhook settlement, refunds, or production readiness.
setup-senangpaySet up, build, debug, review, and explain senangPay payment integrations using official senangPay guide pages, Manual Integration API, Direct API, callbacks, return URLs, query status APIs, refund API, sandbox/live setup, Merchant ID, Secret Key, Hash Type, shopping cart plugins, e-commerce integrations, recurring payments, payout API, tokenisation, split settlements, and DOKU migration references. Use when working with senangPay hosted checkout, payment forms, callbacks, SHA256/MD5 hash verification, Direct API client sessions, JavaScript Web SDK, FPX bank lists, refunds, package capabilities, sandbox testing, or senangPay dashboard setup.
setup-stripe-malaysiaSet up, build, debug, review, and explain Stripe payment gateway integrations for Malaysia. Use when working with Stripe Checkout Sessions, Payment Intents, Payment Links, Elements, webhooks, Stripe.js, Stripe CLI, refunds, sandbox/live setup, MYR payments, cards, FPX, GrabPay, and production readiness.
setup-toyyibpaySet up, build, debug, review, and explain toyyibPay payment integrations using official toyyibPay API references, onboarding manuals, DuitNow QR notes, pricing/support pages, WooCommerce plugin notes, and WorkDo setup docs. Use when working with toyyibPay categories, bills, payment links, FPX, cards, DuitNow QR, callbacks, return URLs, MD5 callback verification, transaction lookups, inactive bills, sandbox/live setup, secret keys, category codes, WooCommerce setup, or ToyyibPay settlement checks.