We need to use EVO for payment in Angular 7 application.
Evo pages will be loaded inside an iframe as follows.
<iframe id="iframe_id"
style="border: 0px"
width="100%" height="600px"
[src]="url"
(load)="iframeContentLoaded()"
scrolling="no">
</iframe>
We have to provide success and cancel URLs for this EVO. Once EVO processing has completed, it redirects to success URL, however the success url is being loaded in the iframe.
for example:
successUrl: http://localhost:4200/autoinsurance/#success
cancelUrl: http://localhost:4200/autoinsurance/#failure
Now success route component will be loaded in the iframe itself, however we need to load outside of that iframe.
Could somebody provide suggestion to achieve it?