Currently I'm working in a Wpf project where I have to load a custom payment gateway window inside a
Wpf WebBrowser. When I submit the form inside the WebBrowser it should redirect to another UI. But, when I implement it and submit the form, there is nothing happening inside the WebBrowser. Actually the payment gateway is working with the browser but not working with the
Wpf WebBrowser.
When I load the payment gateway window in the WebBrowser, a popup is appearing with the message saying
Script Error
Line: 3811
Char: 4
Error: Expected identifier
Code: 0
URL : http://localhost:49866/Scripts/jquery-3.1.0.js
I've checked that file and I couldn't find any issues.
when I select continue running scripts on this page and fill up the data and submit. Nothing happened.
I ran the WebBrowser in the Silent mode and continue. Now, no error popup, but still nothing happened.
What will be the reason for this? Did anyone came across this? What can I do now?
Please help me on this.
Thanks in advance.
What I have tried:
webBrowser.GetType().InvokeMember("Silent", BindingFlags.Instance | BindingFlags.Public | BindingFlags.PutDispProperty, null, webBrowser, new object[] { silent });