Return URLs and IP server
The success, failure and cancellation URLs and the IP you declare in the epay, how they are excluded from cache and what you do without fixed IP.
The bank sends the result of each payment back to e-shop via three URLs. The plugin displays them ready at the top of the configuration page. There's no special webhook.
| Element | Price you declare |
|---|---|
| Website url | The address of e-shop |
| Referrer url | https://το-domain-σας/checkout/ |
| Success page | https://το-domain-σας/wc-api/OBS_Piraeusbank_Gateway?peiraeus=success |
| Failure page | https://το-domain-σας/wc-api/OBS_Piraeusbank_Gateway?peiraeus=fail |
| Cancel page | https://το-domain-σας/wc-api/OBS_Piraeusbank_Gateway?peiraeus=cancel |
| Response method | GET or POST |
| Server IP Address | Server IP |

Check the IP#
The IP that shows the plugin is the server address as viewed by PHP. In shared hosting, cloud or behind CDN Outgoing IP may be different. Ask the hosting company which IPs use the outgoing calls and declare it. IP error means error 1041 (Invalid IP address).
If the hosting does not give a fixed IP, set HTTP proxy with a fixed IP in the fields HTTP Proxy Hostname and HTTP Proxy Port and state the proxy IP.
Do not block the answer#
- Exclude it
/wc-api/OBS_Piraeusbank_Gatewayby page cache, CDN and firewall (WAF). - Do not apply to this maintenance mode, mandatory connection or rules that cut URL parameters.
- If you change domain or go from https to https, send URLs back to epay.
Send a request; the plugin and the article are automatically completed.