Paypal Payment Stopped Working

Our paypal payment has suddenly stopped working. When customers click on place order on the checkout, instead of going to the paypal page they remains on the site and are being redirected to the order success page. We have checked that there is no issue with Paypal on their side.
Can anyone help in fixing this issue or point to what could be the issue?

Please check if IFrame mode is not enabled in the PayPal payment method settings

I dont see any iFrame option in the paypal settings on the cs-cart backend. I even checked paypal login page on paypal but couldn't find any such settings. Can you let me know where to find the iFrame settings?

Please check if IFrame mode is not enabled in the PayPal payment method settings

What CS-Cart version do you use?

I dont see any iFrame option in the paypal settings on the cs-cart backend. I even checked paypal login page on paypal but couldn't find any such settings. Can you let me know where to find the iFrame settings?

version 4.7.3

At first, try to apply the following fix

https://gist.github.com/incrize/afa73c98348ea82ab3bdb4469e29f371