{"id":34000416,"url":"https://github.com/myadmin-plugins/amazon-payments","last_synced_at":"2026-04-06T07:02:50.673Z","repository":{"id":45194700,"uuid":"96819126","full_name":"myadmin-plugins/amazon-payments","owner":"myadmin-plugins","description":"MyAdmin Amazon Payments Plugin","archived":false,"fork":false,"pushed_at":"2026-03-19T15:56:20.000Z","size":41,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-20T08:10:04.755Z","etag":null,"topics":["amazon","myadmin","payment","plugin"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/myadmin-plugins.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-07-10T20:38:26.000Z","updated_at":"2026-03-19T15:59:31.000Z","dependencies_parsed_at":"2023-01-21T15:16:41.382Z","dependency_job_id":null,"html_url":"https://github.com/myadmin-plugins/amazon-payments","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/myadmin-plugins/amazon-payments","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myadmin-plugins%2Famazon-payments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myadmin-plugins%2Famazon-payments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myadmin-plugins%2Famazon-payments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myadmin-plugins%2Famazon-payments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/myadmin-plugins","download_url":"https://codeload.github.com/myadmin-plugins/amazon-payments/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myadmin-plugins%2Famazon-payments/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31463015,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["amazon","myadmin","payment","plugin"],"created_at":"2025-12-13T09:26:28.037Z","updated_at":"2026-04-06T07:02:50.662Z","avatar_url":"https://github.com/myadmin-plugins.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MyAdmin Amazon Payments Plugin\n\n[![Tests](https://github.com/detain/myadmin-amazon-payments/actions/workflows/tests.yml/badge.svg)](https://github.com/detain/myadmin-amazon-payments/actions/workflows/tests.yml)\n[![Latest Stable Version](https://poser.pugx.org/detain/myadmin-amazon-payments/version)](https://packagist.org/packages/detain/myadmin-amazon-payments)\n[![Total Downloads](https://poser.pugx.org/detain/myadmin-amazon-payments/downloads)](https://packagist.org/packages/detain/myadmin-amazon-payments)\n[![License](https://poser.pugx.org/detain/myadmin-amazon-payments/license)](https://packagist.org/packages/detain/myadmin-amazon-payments)\n\nAn Amazon Payments integration plugin for the [MyAdmin](https://github.com/detain/myadmin) control panel. This package provides support for processing payments through Amazon Pay, including wallet and address book widgets, OAuth-based profile retrieval, and configurable sandbox/live environment switching.\n\n## Features\n\n- Amazon Pay wallet and address book widget rendering\n- OAuth 2.0 access token verification and user profile retrieval\n- Configurable sandbox and live environment support\n- Event-driven architecture via Symfony EventDispatcher hooks\n- Admin settings panel for Client ID, Seller ID, and environment toggling\n\n## Requirements\n\n- PHP \u003e= 5.0\n- ext-soap\n- ext-curl\n- symfony/event-dispatcher ^5.0\n\n## Installation\n\nInstall via Composer:\n\n```sh\ncomposer require detain/myadmin-amazon-payments\n```\n\n## Configuration\n\nThe plugin registers the following settings through the MyAdmin settings system:\n\n| Setting                    | Description                          |\n|----------------------------|--------------------------------------|\n| `amazon_checkout_enabled`  | Enable or disable Amazon Checkout    |\n| `amazon_sandbox`           | Toggle sandbox/test environment      |\n| `amazon_client_id`         | Your Amazon Pay Client ID            |\n| `amazon_seller_id`         | Your Amazon Pay Seller ID            |\n\n## Usage\n\nThe plugin hooks into MyAdmin's event system automatically. Once installed, it registers:\n\n- **system.settings** -- Adds Amazon payment configuration fields to the admin panel.\n- **function.requirements** -- Registers the `amazon_obtain_profile`, `amazon_wallet_widget`, and `amazon_addressbook_widget` helper functions.\n\n### Widget Functions\n\n```php\n// Render the Amazon address book widget\n$html = amazon_addressbook_widget();\n\n// Render the Amazon wallet/payment widget\n$html = amazon_wallet_widget();\n```\n\n### Profile Retrieval\n\n```php\n// Validate an access token and retrieve the Amazon user profile\namazon_obtain_profile();\n```\n\n## Running Tests\n\n```sh\ncomposer install\nvendor/bin/phpunit\n```\n\n## License\n\nThis package is licensed under the [LGPL-2.1](https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyadmin-plugins%2Famazon-payments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmyadmin-plugins%2Famazon-payments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyadmin-plugins%2Famazon-payments/lists"}