I am building a custom payment module that will redirect to a payment gateway page and want to know that how the data is flowing in the magento 2 architecture and how to send the data to an external payment gateway in magento 2.
Solved! Go to Solution.
Thanks for the Xdebug and also i want to send the order details to an external payment gateway please help me with that.
The plain \Zend_Http_Client
The plain curl_exec:
I am having a problem with the place order button, whenever i am pressing it, it's redirecting to itself and also there are some variables inside the url like ?form-key etc.
Thanks for the support it has been resolved but one last question.
When i am pressing place order button it is redirecting me to the cart.
Try to use capture payment action rather than authorize in config.xml file as following: