شعار Setup Ipay88

Setup Ipay88

المجتمع
afu-it
setup-ipay88

إعداد عمليات الدفع عبر iPay88 Malaysia وإنشاؤها وتصحيح أخطائها ومراجعتها وشرحها، بالاستناد إلى OPSG Technical Specification v1.6.4.4 الخاص بـ iPay88 وأداة اختبار التوقيع الرسمية من iPay88. يشمل ذلك تحويل ePayment عبر POST إلى entry.asp، وتوقيع الطلب والاستجابة باستخدام HMAC-SHA512، وSignatureType، والتعامل مع ResponseURL مقارنةً بـ BackendURL، وإقرار RECEIVEOK، وإعادة الاستعلام عبر enquiry.asp، وإعادة الاستعلام باستخدام خدمة الويب SOAP المسماة TxDetailsInquiry، وقيم PaymentId، ورموز Status، ورسائل الخطأ، وAppdeeplink للمحافظ الإلكترونية، وإعداد Merchant Code وMerchant Key. استخدم هذه المهارة عند العمل مع iPay88 (التي تعمل الآن تحت اسم NTT DATA Payment Services Malaysia) أو FPX أو البطاقات أو Boost أو Touch 'n Go أو ShopeePay، أو عند الانتقال من SHA256 إلى HMAC-SHA512، أو معالجة أخطاء عدم تطابق التوقيع، أو إعادة محاولات الإرسال إلى الخادم الخلفي، أو الاستعداد للإطلاق الفعلي.

Add to TypingMind

نظرة عامة

الناشرafu-it
المستودعmalaysia-payment-gateway
اسم المهارةsetup-ipay88
النجوم
74
التفريعات
11
الملفات المرفقة
4
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 4

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها afu-it على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Setup Ipay88 في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/afu-it/malaysia-payment-gateway/tree/main/setup-ipay88
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

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-ipay88 .claude/skills/setup-ipay88
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Setup Ipay88 في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Setup Ipay88 تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Setup Ipay88 بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

iPay88 Malaysia Payment Gateway

Use this skill for iPay88 Malaysia (OPSG, "Online Payment Switching Gateway") integration work.

Source

iPay88 does not publish its developer docs on an iPay88 domain. This skill is built from iPay88's own Technical Specification v1.6.4.4 (11 Sep 2024), obtained from a community mirror, plus official pages on payment.ipay88.com.my (signature tester, webservice WSDL) and iPay88's archived support FAQ. Where the mirror and an official page differ, the official page wins. Merchants receive the current spec from iPay88 Support; confirm against it.

Read references/ipay88-api.md before giving factual API guidance or writing integration code. It has the endpoint catalogue, every request/response field, the HMAC-SHA512 string-to-sign for request and response, the Xfield1 open question, backend post and RECEIVEOK rules, both re-query forms, status values and error messages.

Read references/account-setup.md for merchant onboarding, the Merchant Checklist, Request URL registration, IP whitelisting, test amounts, go-live notice, report login, env var names and payment method activation.

Read references/source-map.md to see which source backs which fact and what is not documented.

Core Workflow

  1. Confirm iPay88 has issued the Merchant Code and Merchant Key, registered the Request URL, and whitelisted the server IPs for ResponseURL and BackendURL.
  2. Create a local pending order with a unique RefNo (max 30 chars), the expected amount and MYR.
  3. Build the HMAC-SHA512 request Signature server-side, keyed with the Merchant Key.
  4. Render an auto-submitting HTML form that POSTs to https://payment.ipay88.com.my/epayment/entry.asp with every request field present (optional fields may be empty but must exist).
  5. On ResponseURL (browser POST): verify Signature, amount, currency and RefNo; show the result page. Treat it as UX plus a settlement path, never as trusted input without verification.
  6. On BackendURL (server POST, success only): verify the same way, settle idempotently, then print exactly RECEIVEOK with no HTML.
  7. Before fulfilment, or when no post arrives, re-query enquiry.asp (reply 00 = paid) or the SOAP webservice (Version 4, Status 1 = paid).
  8. Settle once, whichever of ResponseURL, BackendURL or re-query arrives first.

Core Facts

  • Payment page: POST https://payment.ipay88.com.my/epayment/entry.asp (HTML form post, not a JSON API).
  • Re-query: https://payment.ipay88.com.my/epayment/enquiry.asp with MerchantCode, RefNo, Amount; plain-text reply.
  • Webservice requery: https://payment.ipay88.com.my/epayment/webservice/TxInquiryCardDetails/TxDetailsInquiry.asmx, operation TxDetailsInquiryCardInfo, Version = 4. SOAPAction "https://www.mobile88.com/epayment/webservice/TxDetailsInquiryCardInfo" (official WSDL); a plain form POST to .../TxDetailsInquiry.asmx/TxDetailsInquiryCardInfo also works.
  • No separate sandbox host is documented. Testing runs on the production host with a real merchant account, from the registered Request URL, using MYR 1.00.
  • SignatureType = HMACSHA512. iPay88 moved from SHA256 to HMAC-SHA512 in spec v1.6.4.4; SHA256 integrations are deprecated.
  • Request signature (official tester): HMAC_SHA512(key=MerchantKey, MerchantKey + MerchantCode + RefNo + Amount + Currency), Amount with "." and "," removed, lowercase hex, 128 chars.
  • The spec also appends Xfield1 to the request string. With an empty Xfield1 both forms are identical. See the open question in references/ipay88-api.md.
  • Response signature: HMAC_SHA512(key=MerchantKey, MerchantKey + MerchantCode + PaymentId + RefNo + Amount + Currency + Status).
  • Response Status: 1 success, 0 fail. Webservice requery adds 6 pending and 20 authorised; an unknown RefNo returns empty Status with Errdesc Record not found.
  • BackendURL receives success only; iPay88 posts to ResponseURL and BackendURL at the same time; retries backend up to 3 times without RECEIVEOK.
  • PaymentId is optional; blank lets the customer choose on the iPay88 page. Numeric values are in iPay88's separate "Appendix I.pdf" (MYR) and "Appendix II.pdf" (multi-currency), issued by iPay88 Support.
  • Refunds, recurring and tokenisation: sold as products, but no public API. The WSDL shows refund, capture and token fields on requery results only.
  • Support: support@ipay88.com.my. Merchant report: https://payment.ipay88.com.my/ePayment/report.

Critical Rules

  • Keep the Merchant Key server-side only; never put it in browser code, even though the signature is posted from the browser.
  • Compute the signature over the exact Amount string you post (for example 1,278.99 becomes 127899).
  • Verify the response Signature with a constant-time compare; also compare Amount, Currency, RefNo and MerchantCode with the local order.
  • Never fulfil from ResponseURL alone without signature and amount checks; the browser can be tampered with or closed.
  • The backend page must not depend on session or login state, and must output only RECEIVEOK after a successful update.
  • Make settlement idempotent across ResponseURL, BackendURL and re-query; both posts arrive at once.
  • Do not reuse a RefNo that was already paid ("Duplicate reference number").
  • No backend post on failure: handle failed and abandoned payments with ResponseURL and re-query.
  • For Appdeeplink (mobile app to e-wallet), no response data returns to the app; use the webservice requery and BackendURL.
  • Use HTTP_REFERER from https://payment.ipay88.com.my only as an extra check, never as proof.

Completion Criteria

An iPay88 integration is done only when:

  1. The request form posts every field, with SignatureType=HMACSHA512 and a signature that matches the official tester page.
  2. ResponseURL and BackendURL both verify the response signature, amount, currency and RefNo.
  3. BackendURL prints only RECEIVEOK after a durable update and has no session code.
  4. Settlement is idempotent across both posts and re-query.
  5. A re-query (enquiry.asp or webservice) runs before fulfilment or as fallback for missing posts.
  6. Tests cover bad signature, wrong amount, duplicate posts, Status=0, re-query Record not found/Incorrect amount, and a paid MYR 1.00 test.
  7. Deployment docs list IPAY88_MERCHANT_CODE, IPAY88_MERCHANT_KEY, ResponseURL, BackendURL, and the IPs whitelisted with iPay88.

Loophole Review Loop

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

  1. List trust boundaries: checkout page, browser form post, iPay88 payment page, bank/e-wallet, ResponseURL, BackendURL, re-query call, database, fulfilment job.
  2. Check bypasses: forged ResponseURL post, replayed success post, amount edited in the form, signature built over a different amount format, Xfield1 mismatch, SHA256 left in place, duplicate RefNo, backend post and response post racing, missing RECEIVEOK causing retries, session-dependent backend page, failed payment never posted to backend, e-wallet deeplink with no response data, pending (6) treated as paid.
  3. Add fixes: server-side signing, signature and amount checks on both URLs, constant-time compare, unique RefNo, row lock or unique constraint on settlement, re-query before fulfilment, plain RECEIVEOK, sessionless backend route.
  4. Re-read references/ipay88-api.md sections relevant to any gap.
  5. State remaining uncertainty: the spec came from a mirror, the Xfield1 rule, PaymentId values, refund and recurring products, and anything only iPay88 Support can confirm.

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Setup Ipay88؟

إعداد عمليات الدفع عبر iPay88 Malaysia وإنشاؤها وتصحيح أخطائها ومراجعتها وشرحها، بالاستناد إلى OPSG Technical Specification v1.6.4.4 الخاص بـ iPay88 وأداة اختبار التوقيع الرسمية من iPay88. يشمل ذلك تحويل ePayment عبر POST إلى entry.asp، وتوقيع الطلب والاستجابة باستخدام HMAC-SHA512، وSignatureType، والتعامل مع ResponseURL مقارنةً بـ BackendURL، وإقرار RECEIVEOK، وإعادة الاستعلام عبر enquiry.asp، وإعادة الاستعلام باستخدام خدمة الويب SOAP المسماة TxDetailsInquiry، وقيم PaymentId، ورموز Status، ورسائل الخطأ، وAppdeeplink للمحافظ الإلكترونية، وإعداد Merchant Code وMerchant Key. استخدم هذه المهار...

لماذا تستخدم Setup Ipay88 على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Setup Ipay88 عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Setup Ipay88 في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/afu-it/malaysia-payment-gateway/tree/main/setup-ipay88. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Setup Ipay88؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Setup Ipay88؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Setup Ipay88 معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Setup Ipay88 مجانية؟

نشرها afu-it على GitHub. راجع المستودع للاطلاع على شروط الترخيص. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇