{"id":17175832,"url":"https://github.com/sc0vu/ecpay-node","last_synced_at":"2025-07-20T12:05:57.171Z","repository":{"id":57219354,"uuid":"95118624","full_name":"sc0Vu/ecpay-node","owner":"sc0Vu","description":"A wrapper for ecpay in nodejs.","archived":false,"fork":false,"pushed_at":"2017-10-13T14:52:19.000Z","size":10,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-06T07:06:15.516Z","etag":null,"topics":["ecpay"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sc0Vu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-22T13:29:45.000Z","updated_at":"2018-01-06T07:51:36.000Z","dependencies_parsed_at":"2022-08-29T02:12:06.344Z","dependency_job_id":null,"html_url":"https://github.com/sc0Vu/ecpay-node","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sc0Vu/ecpay-node","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sc0Vu%2Fecpay-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sc0Vu%2Fecpay-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sc0Vu%2Fecpay-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sc0Vu%2Fecpay-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sc0Vu","download_url":"https://codeload.github.com/sc0Vu/ecpay-node/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sc0Vu%2Fecpay-node/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266120329,"owners_count":23879298,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ecpay"],"created_at":"2024-10-14T23:57:52.344Z","updated_at":"2025-07-20T12:05:57.151Z","avatar_url":"https://github.com/sc0Vu.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ecpay-node\n\n[![NPM](https://nodei.co/npm/ecpay.png)](https://nodei.co/npm/ecpay/)\n\n[![Build Status](https://travis-ci.org/sc0Vu/ecpay-node.svg?branch=master)](https://travis-ci.org/sc0Vu/ecpay-node)\n[![Dependency Status](https://www.versioneye.com/user/projects/59e0284e15f0d723e3121ae0/badge.svg?style=flat-square)](https://www.versioneye.com/user/projects/59e0284e15f0d723e3121ae0)\n\nA wrapper for ecpay in nodejs.\n\nDepend on [allpay](https://www.npmjs.com/package/allpay) package library.\n\n# Usage\n\n```\nnpm install ecpay --save\n\nconst Ecpay = require('ecpay')\n\nconst PaymentService = new Ecpay({\n  merchantID: \"2000214\",\n  hashKey: \"5294y06JbISpM5x9\",\n  hashIV: \"v77hoKGq4kWxNNIS\",\n  mode: \"production\"\n})\n```\n\n# Example\n\nTransaction\n\n```\nPaymentService.aioCheckOut({\n  MerchantTradeNo: \"EC20171001000001\",\n  MerchantTradeDate: \"2017/10/01 00:00:00\",\n  TotalAmount: 199,\n  TradeDesc: \"HelloWorld\",\n  Items: [{\n    name: \"Cake\",\n    price: 199,\n    currency: \"NTD\",\n    quantity: 1\n  }],\n  ReturnURL: \"http://localhost/res\",\n  ChoosePayment: \"ALL\"\n}, function(err, result) {\n  // Do something here...\n});\n```\n\n# Development\n\n```\nclone \u0026\u0026 npm install\n```\n\n# Test\n\n```\nnpm test\n```\n\n# License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsc0vu%2Fecpay-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsc0vu%2Fecpay-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsc0vu%2Fecpay-node/lists"}