We're trying to write our own payment gateway plugin for store, using version 1.6.5
The payment gateway in question is the Croatian Webteh form (off-site) and we're having an issue with the landing page after the card gets processed on their server and the order payment status info gets sent back.
Webteh gives us the following parameters in GET after a succesful payment:
Where exactly (route) does store handle returns from the payment gateway? Webteh has a fixed url in their administration panel where it redirects successful payments - what should we redirect to? Our webshop is set up at http://www.example.com/webshop/. Should it be /webshop/checkout3?
We can't seem to figure out where purchase_return method is called.