{"_id":"@aigens/aigens-sdk-fiuu-payments","_rev":"2-68c9b7cda773d82d334699e3b5f544da","name":"@aigens/aigens-sdk-fiuu-payments","dist-tags":{"latest":"5.0.1"},"versions":{"5.0.0":{"name":"@aigens/aigens-sdk-fiuu-payments","version":"5.0.0","keywords":["capacitor","plugin","native"],"author":"","license":"MIT","_id":"@aigens/aigens-sdk-fiuu-payments@5.0.0","maintainers":[{"name":"aigens","email":"peter.liu@aigens.com"}],"homepage":"https://github.com/aigens/aigens-sdk-core#readme","bugs":{"url":"https://github.com/aigens/aigens-sdk-core/issues"},"dist":{"shasum":"826213202e00e5ec6bd2915d2e72009c431ee8e3","tarball":"https://registry.npmjs.org/@aigens/aigens-sdk-fiuu-payments/-/aigens-sdk-fiuu-payments-5.0.0.tgz","fileCount":26,"integrity":"sha512-WOEjksHVctEhymMPMka//9mJCc2vbBWzOzS/Gd/CRT5iGnvta0R6kbZqjpPIJ5oWVVy5kqnL2SSmFm9apZRCig==","signatures":[{"sig":"MEQCIHL80BoQ+Z7DdgQJgN84KBuACZuwJE8hoW78ag2K4pVHAiAO5EiWPPNK+IuTva0GKGlc7YEi+eVhg16KwjYRne5Cdg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34033},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"c80bc26251f4974cc03d32a5f927a34f9230f2c1","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api AigensFiuuPaymentsPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"aigens","email":"peter.liu@aigens.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/aigens/aigens-sdk-core.git","type":"git"},"_npmVersion":"10.8.2","description":"Aigens SDK Fiuu-payments","directories":{},"_nodeVersion":"20.19.2","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.31.0","rimraf":"^3.0.2","rollup":"^2.32.0","prettier":"~2.2.0","swiftlint":"^1.0.1","typescript":"~4.8","@capacitor/ios":"^5.0.0","@capacitor/core":"^5.0.0","@capacitor/docgen":"^0.2.0","@capacitor/android":"^5.0.0","@ionic/eslint-config":"^0.3.0","prettier-plugin-java":"~1.0.0","@ionic/prettier-config":"^1.0.1","@ionic/swiftlint-config":"^1.1.2"},"peerDependencies":{"@capacitor/core":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/aigens-sdk-fiuu-payments_5.0.0_1762159563156_0.15830743691438065","host":"s3://npm-registry-packages-npm-production"}},"5.0.1":{"name":"@aigens/aigens-sdk-fiuu-payments","version":"5.0.1","description":"Aigens SDK Fiuu-payments","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":"","license":"MIT","repository":{"type":"git","url":"git+https://github.com/aigens/aigens-sdk-core.git"},"bugs":{"url":"https://github.com/aigens/aigens-sdk-core/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","docgen":"docgen --api AigensFiuuPaymentsPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build"},"devDependencies":{"@capacitor/android":"^5.0.0","@capacitor/core":"^5.0.0","@capacitor/docgen":"^0.2.0","@capacitor/ios":"^5.0.0","@ionic/eslint-config":"^0.3.0","@ionic/prettier-config":"^1.0.1","@ionic/swiftlint-config":"^1.1.2","eslint":"^8.31.0","prettier":"~2.2.0","prettier-plugin-java":"~1.0.0","rimraf":"^3.0.2","rollup":"^2.32.0","swiftlint":"^1.0.1","typescript":"~4.8"},"peerDependencies":{"@capacitor/core":"^5.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"_id":"@aigens/aigens-sdk-fiuu-payments@5.0.1","gitHead":"5f3222d4bd299e57d35f68ff8968c4f5b482d094","homepage":"https://github.com/aigens/aigens-sdk-core#readme","_nodeVersion":"20.19.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-wuDvgzuSogJ1GK4C/AndePgAHaF2TBnRfklS88JcWkOpR3xmuzIvNhsyytLDUxk0ik/nAmpSFE0JNPB35oN8Lw==","shasum":"e9454092b8c6f317113f1f6603b21955e0ef188b","tarball":"https://registry.npmjs.org/@aigens/aigens-sdk-fiuu-payments/-/aigens-sdk-fiuu-payments-5.0.1.tgz","fileCount":26,"unpackedSize":35521,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD7IZdEQ0IspI8Cd8BmGEMxDm9LPfVjIOImz6dN+93bJQIhANqO/0Vp6zZmWt1/g7ZARCCW56THt+WEk1GkQTKIkYPW"}]},"_npmUser":{"name":"aigens","email":"peter.liu@aigens.com"},"directories":{},"maintainers":[{"name":"aigens","email":"peter.liu@aigens.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/aigens-sdk-fiuu-payments_5.0.1_1762504542223_0.6371618982722702"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-03T08:46:03.000Z","modified":"2025-11-07T08:37:34.354Z","5.0.0":"2025-11-03T08:46:03.342Z","5.0.1":"2025-11-07T08:37:34.159Z"},"bugs":{"url":"https://github.com/aigens/aigens-sdk-core/issues"},"license":"MIT","homepage":"https://github.com/aigens/aigens-sdk-core#readme","keywords":["capacitor","plugin","native"],"repository":{"type":"git","url":"git+https://github.com/aigens/aigens-sdk-core.git"},"description":"Aigens SDK Fiuu-payments","maintainers":[{"name":"aigens","email":"peter.liu@aigens.com"}],"readme":"# aigens-sdk-utils\n\nAigens SDK Fiuu Payments\n\n\n## google pay transactionResult Json \n\n```json\n\n=========================================\nSample transaction result in JSON string:\n=========================================\n\n{\n  \"StatCode\": \"00\",\n  \"StatName\": \"captured\",\n  \"TranID\": \"30959687\",\n  \"Amount\": \"1.10\",\n  \"Domain\": \"\",\n  \"VrfKey\": \"\",\n  \"Channel\": \"credit\",\n  \"OrderID\": \"1741853136969\",\n  \"Currency\": \"MYR\",\n  \"ErrorCode\": null,\n  \"ErrorDesc\": null,\n  \"ProcessorResponseCode\": \"000\",\n  \"ProcessorCVVResponse\": null,\n  \"SchemeTransactionID\": \"123456\",\n  \"MerchantAdviceCode\": null,\n  \"ECI\": null,\n  \"3DSVersion\": \"2.2\",\n  \"ACSTransactionID\": null,\n  \"3DSTransactionID\": null\n}\n\nParameter and meaning:\n\n\"StatCode\" - \"00\" for Success, \"11\" for Failed, \"22\" for Pending. \n\n\"Amount\" - The transaction amount\n\"OrderID\" - The transaction order ID\n\"Channel\" - The card type use\n\"TranID\" - The transaction ID generated by Fiuu\n\"Domain\" - Your Merchant ID\n\n\"VrfKey\" - You can verify payment using this formula -> VrfKey = md5(Amount+secret_key+Domain+TranID+StatCode)\n\n* Note 1: secret_key = Your account Secret Key in https://portal.fiuu.com/\n* Note 2: The other parameters and values not described above are for recorded purpose only\n\n=====================================\n* Sample error result in JSON string:\n=====================================\n\n{\n    \"status\":false,\n    \"error_code\":\"P03\",\n    \"error_desc\":\"Your payment info format not correct.\"\n}\n\n{\n    \"error_code\" = A01;\n    \"error_desc\" = \"Fail to detokenize Google Pay Token given\";\n    status = 0;\n}\n\n{\n  \"status\": false,\n  \"error_code\": null,\n  \"error_desc\": \"Your transaction has been denied due to merchant account issue.\"\n}\n\nError info:\n\nError P03 - Your payment info format not correct   \n1) Need makesure all required parameters filled correctly.\n2) Need set mp_extended_vcode = true if enabled extended Verify Payment.\n\nError A01 - \"Fail to detokenize Google Pay Token given\" - Error starting a payment process due to several possible reasons, please contact Fiuu support if the error unresolved.\n1) Misconfigure GooglePay setup\n2) API credentials (username, password, merchant id, verify key)\n3) Payment Server Offline.\n\n\"Your transaction has been denied due to merchant account issue.\"\nOR\n\"This merchant is having trouble accepting your payment at the moment.Try installing the latest version of the merchant's app or use a different payment method. [OR_BIBED_13]\"\n1) Need check mp_sandbox_mode, mp_merchant_ID & mp_verification_key\n2) mp_sandbox_mode = true , need use Sandbox mp_merchant_ID & mp_verification_key\n3) mp_sandbox_mode = false or if did not send mp_sandbox_mode , need use Production/Dev mp_merchant_ID & mp_verification_key\n4) Check Requirements for Production Environment notes for production/dev testing\n\n\n```\n\n## Install\n\n```bash\nnpm install @aigens/aigens-sdk-adyen-payments\nnpx cap sync\n```\n\n## API\n\n<docgen-index>\n\n* [`appPayment(...)`](#apppayment)\n* [Interfaces](#interfaces)\n\n</docgen-index>\n\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### appPayment(...)\n\n```typescript\nappPayment(options: FiuuPaymentOptions) => Promise<{ transactionResult?: string; }>\n```\n\n| Param         | Type                                                              |\n| ------------- | ----------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#fiuupaymentoptions\">FiuuPaymentOptions</a></code> |\n\n**Returns:** <code>Promise&lt;{ transactionResult?: string; }&gt;</code>\n\n--------------------\n\n\n### Interfaces\n\n\n#### FiuuPaymentOptions\n\n| Prop                          | Type                  |\n| ----------------------------- | --------------------- |\n| **`mp_merchant_ID`**          | <code>string</code>   |\n| **`mp_verification_key`**     | <code>string</code>   |\n| **`mp_amount`**               | <code>string</code>   |\n| **`mp_order_ID`**             | <code>string</code>   |\n| **`mp_currency`**             | <code>string</code>   |\n| **`mp_country`**              | <code>string</code>   |\n| **`mp_sandbox_mode`**         | <code>boolean</code>  |\n| **`mp_bill_description`**     | <code>string</code>   |\n| **`mp_bill_name`**            | <code>string</code>   |\n| **`mp_bill_email`**           | <code>string</code>   |\n| **`mp_bill_mobile`**          | <code>string</code>   |\n| **`mp_company`**              | <code>string</code>   |\n| **`mp_gpay_channel`**         | <code>string[]</code> |\n| **`mp_closebutton_display`**  | <code>boolean</code>  |\n| **`mp_enable_fullscreen`**    | <code>boolean</code>  |\n| **`mp_extended_vcode`**       | <code>boolean</code>  |\n| **`mp_hide_googlepay`**       | <code>boolean</code>  |\n| **`appleMerchantIdentifier`** | <code>string</code>   |\n\n</docgen-api>\n","readmeFilename":"README.md"}