I want to make a redirect after i configure IframeConfigProvider. I have the cgi_url on config.xml and call it inside getConfig() at IframeConfigProvider and still i cant make the redirect.
After a press the "Place Order" button -i get a success page .
I know i have the block who call to iframe.phtml and i suppose its need to be use after IframeConfigProvider is set and call inside /etc/frontend/di.xml.
I really googling out and check braintree and razorpay extension but i cant really get a clearly answer.
Note: there is a topic who related to my question Magento 2 - Custom payment module but i'm not sure the solution because i cant make the connection to iframe.phtml and IframeConfigProvider().
I even try to config my sarig-method.js but still - none of the action really works.
(sorry about the gist but i cant really paste my code here with the special tags)