I am able to get a response from the paytm page which is valid HTML when I hit the /theia/processTransaction API.
Once I click the login button on the paytm payment page, I get the below error: Refused to display 'https://accounts-uat.paytm.com/oauth2/login/otp?response_type=code&scope=paytm&theme=pg-otp&redirectUri=https://securegw-stage.paytm.in/theia/oauthResponse&loginData=3xdouy0ysyvijkaokq2v:easypa39248810104558:WEB:undefined:MANUAL:E5402105B61053829144648F59EEF1F8.easypa392488101045583xdouy0ysyvijkaokq2v&clientId=paytm-pg-client-staging' in a frame because it set 'X-Frame-Options' to 'deny'.
How to I get around this?
I managed to figure it out. Paytm does not allow us to launch its gateway in an iframe.