https://github.com/techdivision/magento2-payone-mockable
Magento2 module which allowes to manipulate endpoint URIs for payone-gmbh/magento2 module
https://github.com/techdivision/magento2-payone-mockable
Last synced: 2 days ago
JSON representation
Magento2 module which allowes to manipulate endpoint URIs for payone-gmbh/magento2 module
- Host: GitHub
- URL: https://github.com/techdivision/magento2-payone-mockable
- Owner: techdivision
- Created: 2018-07-11T08:29:45.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-11T08:30:35.000Z (almost 8 years ago)
- Last Synced: 2025-12-14T12:12:10.523Z (6 months ago)
- Language: PHP
- Size: 2.93 KB
- Stars: 1
- Watchers: 9
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TechDivision/PayoneMockable
This module provides some plugins in order to manipulate API endpoints within the `payone-gmbh/magento2` (https://github.com/PAYONE-GmbH/magento-2)
module. This is necessary for mocking purpose in a local development environment or for additional testing systems, which are
not supported by PAYONE.
> **ATTENTION:**
> Please do not use this module in production environment. It is designed for testing purpose only!
## Getting Started
### Configuration
After installing the module you need to configure the endpoints for your PSP mock service by adding following values
into your `env.php`.
```php
'system' => [
'default' => [
'techdivision_payone_mockable' => [
'payone' => [
'client_api' => 'https://psp-mock.test/payone/client-api/',
'post_gateway' => 'https://psp-mock.test/payone/post-gateway/',
]
]
],
],
```
### Mock Service
This module was designed for https://github.com/techdivision/psp-mock, but it should also work for others.
## License
This project is licensed under the OSL 3.0 License.