I have the following issue, I generate payment module from the website: http://cedcommerce.com/magento-2-module-creator/payment-module
After deploying it and install it on my Magento 2 site, I can see the new payment module in the admin panel and on the checkout page. now I am trying to make a redirect to the secure page of the gateway payment by overriding the method
getOrderPlaceRedirectUrl like that:
Now I expect that on the checkout page when I select the new payment I will be redirected to the secure page of the gateway payment, but it didn't happen, I am using Magento 2.1.