X-Cart - Seamless payment which doesn't refreshes the checkout page
I want to achieve seamless payment functionality which doesn't refreshes the page and keeps the user on the same page and processes the payment when clicking on 'place order' button?
Also at which stage is the order created because soon after that I need to call an external service which is going to return me a url which I will hit in background to confirm the payment. This url will then return back to the xcart site after processing payment but now the order at x-cart remains incomplete and its completed at my service end only.
How to process further when I can only get the payment details on a specific url, so that the order completes in xcart site aswell. What should be the success url, failure url and cancel url?
__________________
Regards,
Aneel Sarwar
X-Cart version: 5.2.10
Windows: 7
Modules: Free version modules
|