付款网关回调网址会加载到Iframe itslef中

时间:2019-07-04 08:33:50

标签: angular angular7

我们需要在Angular 7应用程序中使用EVO进行支付。

Evo页面将按如下方式加载到iframe中。

<iframe id="iframe_id" 
      style="border: 0px" 
      width="100%" height="600px" 
      [src]="url" 
      (load)="iframeContentLoaded()"
      scrolling="no">
</iframe>

我们必须提供成功并取消此EVO的URL。 EVO处理完成后,它将重定向到成功URL,但是成功URL会加载到iframe中。

例如:

successUrl:http://localhost:4200/autoinsurance/#success
cancelUrl:http://localhost:4200/autoinsurance/#failure

现在成功路线组件将加载到iframe本身中,但是我们需要在该iframe之外加载。

有人可以提出建议吗?

0 个答案:

没有答案
相关问题