{"id":15527328,"url":"https://github.com/recca0120/payum-allpay","last_synced_at":"2025-06-30T03:34:23.270Z","repository":{"id":57036917,"uuid":"63962833","full_name":"recca0120/payum-allpay","owner":"recca0120","description":"The Payum extension. 歐付寶金流","archived":false,"fork":false,"pushed_at":"2019-07-31T06:06:30.000Z","size":2193,"stargazers_count":7,"open_issues_count":0,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-23T12:31:36.678Z","etag":null,"topics":["allpay","payum","payum-extension","php","taiwan"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/recca0120.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":"2016-07-22T15:13:49.000Z","updated_at":"2024-07-09T09:49:35.000Z","dependencies_parsed_at":"2022-08-23T21:00:26.586Z","dependency_job_id":null,"html_url":"https://github.com/recca0120/payum-allpay","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/recca0120/payum-allpay","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/recca0120%2Fpayum-allpay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/recca0120%2Fpayum-allpay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/recca0120%2Fpayum-allpay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/recca0120%2Fpayum-allpay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/recca0120","download_url":"https://codeload.github.com/recca0120/payum-allpay/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/recca0120%2Fpayum-allpay/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262704537,"owners_count":23351092,"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":["allpay","payum","payum-extension","php","taiwan"],"created_at":"2024-10-02T11:05:30.398Z","updated_at":"2025-06-30T03:34:23.250Z","avatar_url":"https://github.com/recca0120.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Allpay\n\n[![StyleCI](https://styleci.io/repos/63962833/shield?style=flat)](https://styleci.io/repos/63962833)\n[![Build Status](https://travis-ci.org/recca0120/payum-allpay.svg)](https://travis-ci.org/recca0120/payum-allpay)\n[![Total Downloads](https://poser.pugx.org/payum-tw/allpay/d/total.svg)](https://packagist.org/packages/payum-tw/allpay)\n[![Latest Stable Version](https://poser.pugx.org/payum-tw/allpay/v/stable.svg)](https://packagist.org/packages/payum-tw/allpay)\n[![Latest Unstable Version](https://poser.pugx.org/payum-tw/allpay/v/unstable.svg)](https://packagist.org/packages/payum-tw/allpay)\n[![License](https://poser.pugx.org/payum-tw/allpay/license.svg)](https://packagist.org/packages/payum-tw/allpay)\n[![Monthly Downloads](https://poser.pugx.org/payum-tw/allpay/d/monthly)](https://packagist.org/packages/payum-tw/allpay)\n[![Daily Downloads](https://poser.pugx.org/payum-tw/allpay/d/daily)](https://packagist.org/packages/payum-tw/allpay)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/recca0120/payum-allpay/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/recca0120/payum-allpay/?branch=master)\n[![Code Coverage](https://scrutinizer-ci.com/g/recca0120/payum-allpay/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/recca0120/payum-allpay/?branch=master)\n\nThe Payum extension to rapidly build new extensions.\n\n1. Create new project\n\n```bash\n$ composer create-project payum-tw/allpay\n```\n\n2. Replace all occurrences of `payum` with your vendor name. It may be your github name, for now let's say you choose: `allpay`.\n3. Replace all occurrences of `allpay` with a payment gateway name. For example Stripe, Paypal etc. For now let's say you choose: `allpay`.\n4. Register a gateway factory to the payum's builder and create a gateway:\n\n```php\n\u003c?php\n\nuse Payum\\Core\\PayumBuilder;\nuse Payum\\Core\\GatewayFactoryInterface;\n\n$defaultConfig = [];\n\n$payum = (new PayumBuilder)\n    -\u003eaddGatewayFactory('allpay', function(array $config, GatewayFactoryInterface $coreGatewayFactory) {\n        return new \\PayumTW\\Allpay\\AllpayGatewayFactory($config, $coreGatewayFactory);\n    })\n\n    -\u003eaddGateway('allpay', [\n        'factory'     =\u003e 'allpay',\n        'MerchantID'  =\u003e '2000132',\n        'HashKey'     =\u003e '5294y06JbISpM5x9',\n        'HashIV'      =\u003e 'v77hoKGq4kWxNNIS',\n        'sandbox'     =\u003e true,\n    ])\n\n    -\u003egetPayum();\n```\n\n5. While using the gateway implement all method where you get `Not implemented` exception:\n\n```php\n\u003c?php\n\nuse Payum\\Core\\Request\\Capture;\n\n$allpay = $payum-\u003egetGateway('allpay');\n\n$model = new \\ArrayObject([\n  // ...\n]);\n\n$allpay-\u003eexecute(new Capture($model));\n```\n\n## Resources\n\n* [Documentation](https://github.com/Payum/Payum/blob/master/src/Payum/Core/Resources/docs/index.md)\n* [Questions](http://stackoverflow.com/questions/tagged/payum)\n* [Issue Tracker](https://github.com/Payum/Payum/issues)\n* [Twitter](https://twitter.com/payumphp)\n\n## License\n\nSkeleton is released under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frecca0120%2Fpayum-allpay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frecca0120%2Fpayum-allpay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frecca0120%2Fpayum-allpay/lists"}