I am currently trying to integrate the Paymetric, Payment gateway using the iframes as mentioned in their document. However when I try to integrate it, after getting the URL to be rendered in their iframe. I am getting the below error "JSON unexpected token u at position 0". Has someone faced a similar issue, can someone help me here, please? I am trying to integrate this with Angular.
I got to know in my initial research that this comes as it is trying to parse a JSON which is undefined. I also observed that this URL when we hit in the browser directly renders the iframe content , but not within the Iframe.
Anyone who has integrated worldpay/paymetric payment gateway with Angular framework in I frame mode. Any help or leads would be much appreciated,
Please do let me know if any further inputs are needed to provide the help.