Flutter web: Webview with payment gateway not working

Viewed 370

I have created a flutter web app running in chrome, in which I have used webview for calling the payment gateway(which we have set in the backend server).

  • In that URL after entering card details we redirect it to moyasar url at that time it throws an error as follows:-

Refused to display 'https://api.moyasar.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.

enter image description here enter image description here

1 Answers

Looks like you are displaying the URL in an iframe. Make sure you are displaying the URL directly on the web view component.

Related