oxid-esales / amazon-pay-module
AmazonPay module for OXID
Package info
github.com/OXID-eSales/amazon-pay-module
Type:oxideshop-module
pkg:composer/oxid-esales/amazon-pay-module
Requires
- ext-json: *
- amzn/amazon-pay-api-sdk-php: ^2.5
- aws/aws-php-sns-message-validator: ^1.8
- viison/address-splitter: ^0.3.4
Requires (Dev)
- mockery/mockery: ^1.5
- oxid-esales/oxideshop-ce: ^7.0
- oxid-esales/testing-library: dev-b-7.0.x
- phpmd/phpmd: ^2.11
- phpstan/phpstan: ^1.10
- squizlabs/php_codesniffer: 3.*
- vlucas/phpdotenv: *
Conflicts
- oxid-esales/oxideshop-ce: < 7.0
Replaces
- dev-b-7.0.x
- v3.2.1-rc.1
- v3.2.0
- v3.2.0-rc.1
- v3.1.8-rc.2
- v3.1.8-rc.1
- v3.1.7
- v3.1.7-rc.3
- v3.1.7-rc.2
- 3.1.7-rc.1
- v3.1.6
- v3.1.6-rc.7
- v3.1.6-rc.6
- v3.1.6-rc.5
- v3.1.6-rc.4
- v3.1.6-rc.3
- v3.1.6-rc.2
- v3.1.6-rc.1
- v3.1.5
- v3.1.5-rc1
- v2.2.1-rc.1
- v2.2.0
- v2.1.9-rc.2
- v2.1.9-rc.1
- v2.1.8
- v2.1.8-rc.2
- v2.1.8-rc.1
- v2.1.7
- v2.1.7-rc.9
- v2.1.7-rc.8
- v2.1.7-rc.7
- v2.1.7-rc.6
- v2.1.7-rc.4
- v2.1.7-rc.3
- v2.1.7-rc.2
- v2.1.7-rc.1
- v2.1.6
- v2.1.6-rc.1
- v2.1.5
- v2.1.4
- v2.1.4-rc.3
- v2.1.4-rc.2
- 2.1.4-rc.1
- v2.1.3
- 2.1.3-rc.11
- v2.1.3-rc.10
- v2.1.3-rc.9
- v2.1.3-rc.8
- v2.1.3-rc.7
- v2.1.3-rc.6
- v2.1.3-rc.5
- v2.1.3-rc.4
- v2.1.3-rc.3
- v2.1.3-rc.2
- v2.1.3-rc.1
- v2.1.2
- v2.1.2-rc.2
- v2.1.2-rc.1
- v2.1.1
- v2.1.1-rc.3
- v2.1.1-rc.2
- v2.1.1-rc.1
- v2.1.0
- v2.1.0_RC2
- v2.1.0_RC1
- v2.0.2
- v2.0.0
- v1.6.3-rc.1
- v1.6.2
- v1.6.2-rc.3
- v1.6.2-rc.2
- v1.6.1
- v1.6.1-rc.1
- v1.6.0
- v1.6.0-rc.6
- v1.6.0-rc.5
- v1.6.0-rc.4
- v1.6.0-rc.3
- v1.6.0-rc.2
- v1.6.0-rc.1
- v1.2.0
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- v1.1.0-rc.1
- 1.0.21
- 1.0.20
- 1.0.18
- 1.0.17
- 1.0.16
- 1.0.15
- 1.0.14
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 0.0.2
- dev-b-6.0.x
- dev-b-6.3.x
- dev-dependabot/github_actions/docker/setup-qemu-action-4
- dev-b-7.0.x_PSAPC-330_phpunit
- dev-b-6.3.x_phpunit
- dev-b-6.3.x_PSAPC-331_logging
- dev-b-7.0.x_PSCAPC-331_logging
- dev-b-6.0.x_PSAPC-331_logging
- dev-b-7.0.x_PSAPC-332_popup_button
- dev-b-6.0.x_PSAPC-327
- dev-b-6.3.x_PSAPC-327
- dev-b-6.3.x_use_customer_delivery_address
- dev-b-7.0.x_use_customer_delivery_address
- dev-master
This package is auto-updated.
Last update: 2026-06-02 13:02:44 UTC
README
Amazon Pay integration for OXID eShop 6.0 and above.
Documentation
- Official German Amazon Pay for OXID 6.0 documentation
- Official German Amazon Pay for OXID 6.1 to 6.5 documentation
- Official German Amazon Pay for OXID from 7.0 documentation
- Official English Amazon Pay for OXID 6.0 documentation
- Official English Amazon Pay for OXID 6.1 to 6.5 documentation
- Official English Amazon Pay for OXID from 7.0 documentation
Branch Compatibility
- b-7.0.x module branch is compatible with OXID eShop compilation 7.0, 7.1, 7.2, 7.3, 7.4
- b-6.3.x module branch is compatible with OXID eShop compilation 6.1, 6.2, 6.3, 6.4, 6.5
- b-6.0.x module branch is compatible with OXID eShop compilation 6.0
Install for OXID
- see Official documentation
Limitations
List of Limitations could be found in
- german Documentation Limitations
- english Documentation Limitations
Running tests
Static analysis (CI and local)
These run without an OXID shop installation. Just check the module out and run:
composer install
composer phpcs # code style
composer phpmd # mess detection
composer phpstan # static analysis
composer static # all of the above
The same checks run automatically on every push/pull request via .github/workflows/development.yml.
Integration tests (local only)
The tests under tests/Integration/ exercise the module against a running OXID eShop
(they use oxNew(), the OXID registry, the database, and — for AmazonClientTest —
the live Amazon Pay sandbox). They are not part of the CI; run them locally against
an installed shop with the module active.
Requirements:
- A working OXID eShop 7.0 installation with this module enabled.
- A
tests/.envfile with valid Amazon Pay sandbox credentials (MODULE_AMAZON_PAY_STORE_ID,MODULE_AMAZON_PAY_MERCHANT_ID, …). Seetests/.env.examplefor the full list of variables. oxid-esales/testing-library(already declared inrequire-dev).
Run from the shop root:
vendor/bin/phpunit -c vendor/oxid-esales/amazon-pay-module/tests/phpunit.xml \
--bootstrap=source/bootstrap.php \
--testsuite=Integration
With coverage:
XDEBUG_MODE=coverage vendor/bin/phpunit -c vendor/oxid-esales/amazon-pay-module/tests/phpunit.xml \
--bootstrap=source/bootstrap.php \
--testsuite=Integration \
--coverage-html=vendor/oxid-esales/amazon-pay-module/tests/reports/coverage
Develop javascript
- we are using grunt
- currently grunt is not installed in php container
- so install it on your host system: https://gruntjs.com/getting-started
sudo npm install -g grunt-clicd source/modules/osc/amazonpay/resources- npm install grunt --save-dev
- using: grunt
cd source/modules/osc/amazonpay/resourcesgrunt# this command compiles the sass => out/src/css/* and the out/src/js/*