Paypal Checkout window closes immediately in WKWebView(iOS)

Viewed 571

I am using Paypal Server Integration using an HTML page created at my end in iOS (Swift) and loading contents of this html file in WKWebView. It was wroking fine but suddenly the Paypal buttons starts working strangely as I click paypal button it opens checkout page and suddenly it closes the checkout popup automatically.

CheckOutPage.html

WKWebView.swift

We are using same checkout html code for website and it is working fine there. But the checkout is not working in iOS app.

Need help with this .....

HTML Page loaded

enter image description here

1 Answers
Related