Module used in shop extentions decide the state of an order
This package is auto-updated.
Last update: 2021-05-08 14:31:17 UTC
Module used in shop extentions to read/load default credentials
Using composer to install the package
composer require wirecard/extentions-order-state-module
The tests should serve as executable documentation.
There are two types of test doubles which narrow down the scope of each test: the shop system and the persona.
- Mallory - is a malicious user who never pays
- AlwaysFailingShopSystem - no matter what you do, it fails
- PurchaseShopSystem - it goes along with any order, but it is set up to purchase
- AuthorizationShopSystem - it does along with any order, but it is set up to authorization payments
- CustomShopSystem - a configurable shop system which you can set to either purchase or authorization, but to which you can also add custom states