PHPackages                             detain/myadmin-amazon-payments - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. detain/myadmin-amazon-payments

ActiveMyadmin-plugin[Payment Processing](/categories/payments)

detain/myadmin-amazon-payments
==============================

Amazon handling plugin for MyAdmin

v2.0.0(7y ago)4780[1 PRs](https://github.com/myadmin-plugins/amazon-payments/pulls)LGPL-2.1-onlyPHPPHP &gt;=5.0.0CI failing

Since Jul 10Pushed 1w agoCompare

[ Source](https://github.com/myadmin-plugins/amazon-payments)[ Packagist](https://packagist.org/packages/detain/myadmin-amazon-payments)[ RSS](/packages/detain-myadmin-amazon-payments/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)Dependencies (8)Versions (4)Used By (0)

MyAdmin Amazon Payments Plugin
==============================

[](#myadmin-amazon-payments-plugin)

[![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)[![Latest Stable Version](https://camo.githubusercontent.com/b84792618d4962a717845a126a261678a9ac3a71f5a300b9c94522b749ba80bb/68747470733a2f2f706f7365722e707567782e6f72672f64657461696e2f6d7961646d696e2d616d617a6f6e2d7061796d656e74732f76657273696f6e)](https://packagist.org/packages/detain/myadmin-amazon-payments)[![Total Downloads](https://camo.githubusercontent.com/97f321f155d06d68b1268013170159a190a9bd9201fcee51640e1f5d2a29f11e/68747470733a2f2f706f7365722e707567782e6f72672f64657461696e2f6d7961646d696e2d616d617a6f6e2d7061796d656e74732f646f776e6c6f616473)](https://packagist.org/packages/detain/myadmin-amazon-payments)[![License](https://camo.githubusercontent.com/2d0dd5fd7a6d239da19b0ea5da856f4f9ef0b530acc7e776708337c738046b5a/68747470733a2f2f706f7365722e707567782e6f72672f64657461696e2f6d7961646d696e2d616d617a6f6e2d7061796d656e74732f6c6963656e7365)](https://packagist.org/packages/detain/myadmin-amazon-payments)

An 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.

Features
--------

[](#features)

- Amazon Pay wallet and address book widget rendering
- OAuth 2.0 access token verification and user profile retrieval
- Configurable sandbox and live environment support
- Event-driven architecture via Symfony EventDispatcher hooks
- Admin settings panel for Client ID, Seller ID, and environment toggling

Requirements
------------

[](#requirements)

- PHP &gt;= 5.0
- ext-soap
- ext-curl
- symfony/event-dispatcher \*@stable

Installation
------------

[](#installation)

Install via Composer:

```
composer require detain/myadmin-amazon-payments
```

Configuration
-------------

[](#configuration)

The plugin registers the following settings through the MyAdmin settings system:

SettingDescription`amazon_checkout_enabled`Enable or disable Amazon Checkout`amazon_sandbox`Toggle sandbox/test environment`amazon_client_id`Your Amazon Pay Client ID`amazon_seller_id`Your Amazon Pay Seller IDUsage
-----

[](#usage)

The plugin hooks into MyAdmin's event system automatically. Once installed, it registers:

- **system.settings** -- Adds Amazon payment configuration fields to the admin panel.
- **function.requirements** -- Registers the `amazon_obtain_profile`, `amazon_wallet_widget`, and `amazon_addressbook_widget` helper functions.

### Widget Functions

[](#widget-functions)

```
// Render the Amazon address book widget
$html = amazon_addressbook_widget();

// Render the Amazon wallet/payment widget
$html = amazon_wallet_widget();
```

### Profile Retrieval

[](#profile-retrieval)

```
// Validate an access token and retrieve the Amazon user profile
amazon_obtain_profile();
```

Running Tests
-------------

[](#running-tests)

```
composer install
vendor/bin/phpunit
```

License
-------

[](#license)

This package is licensed under the [LGPL-2.1](https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html) license.

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance64

Regular maintenance activity

Popularity22

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~632 days

Total

2

Last Release

2598d ago

Major Versions

v0.9.0 → v2.0.02019-04-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/b1036e0717211b8030b83cbe729e8ba6ba442fdbd5285fb97a39d7dcfe339342?d=identicon)[detain](/maintainers/detain)

---

Top Contributors

[![detain](https://avatars.githubusercontent.com/u/1364504?v=4)](https://github.com/detain "detain (53 commits)")

---

Tags

amazonmyadminpaymentpluginspamAbuseadministration

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/detain-myadmin-amazon-payments/health.svg)

```
[![Health](https://phpackages.com/badges/detain-myadmin-amazon-payments/health.svg)](https://phpackages.com/packages/detain-myadmin-amazon-payments)
```

###  Alternatives

[google/recaptcha

Client library for reCAPTCHA, a free service that protects websites from spam and abuse.

3.6k89.1M222](/packages/google-recaptcha)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
