From 5715320a6a9c01b598a61319919fade4d9df150a Mon Sep 17 00:00:00 2001 From: Giorgos Kontopoulos Date: Thu, 11 Apr 2019 19:03:24 +0300 Subject: [PATCH] Add more details to readme --- README.md | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6328141..cb11020 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,28 @@ # 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) +``` -- GitLab