Commit 5715320a authored by GiorgosK's avatar GiorgosK

Add more details to readme

parent efbde5c6
# Winbank Piraeus Redirect Payment for Drupal 8 Commerce
Install as usual and go to `Commerce > configuration > payment > payment gateways` and add method and choose Winbank from the options provided and fill in the required fields
# Testing
Start the mock server
Start the mock server and if the payment is set to test it will communicate with the mock server
```
cd web/modules/contrib/commerce_winbank
npm run mock
```
and if the payment is set to test it will communicate with the mock server
mock url can also be changed from the UI
The mock urls can be changed from the UI settings
# Technical information for testing account
You need to send Piraeus Bank the following
```
Web site URL: https://yourdomain.com
Referrer URL: https://yourdomain.com/commerce_winbank/callback
Success URL: https://yourdomain.com/commerce_winbank/callback?action=success
Failure URL: https://yourdomain.com/commerce_winbank/callback?action=failure
Backlink URL: https://yourdomain.com/commerce_winbank/callback?action=cancel
IP address: x.x.x.x
Answer method: POST
Installments: No (Currently not implemented)
Payment method: to appear or not appear (check manual)
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment