You are viewing our Forum Archives. To view or take place in current topics click here.
Paypal Script error VB
Posted:

Paypal Script error VBPosted:

JTAGUK
  • TTG Addict
Status: Offline
Joined: Apr 30, 201014Year Member
Posts: 2,100
Reputation Power: 79
Status: Offline
Joined: Apr 30, 201014Year Member
Posts: 2,100
Reputation Power: 79
Information of the problem:

I have created a program for people to buy consoles via a program and when they click the console they want a form will open with a web browser to the PayPal transaction but I keep getting a script error which is shown in the image below

[ Register or Signin to view external links. ]
#2. Posted:
ObscureCoder
  • Resident Elite
Status: Offline
Joined: Jun 29, 201311Year Member
Posts: 211
Reputation Power: 13
Status: Offline
Joined: Jun 29, 201311Year Member
Posts: 211
Reputation Power: 13
You'll notice that you commonly get script errors with IE. You need to get webkit cairo for .net which just adds the errors to a log on the js console.

I think it's possible to suppress these with the Silent property in VB. Or you can use code to do so easily.
Google it.

I still recommend webkit cairo for .net as it conforms perfectly with web standards, unlike most IE versions.
#3. Posted:
JTAGUK
  • TTG Addict
Status: Offline
Joined: Apr 30, 201014Year Member
Posts: 2,100
Reputation Power: 79
Status: Offline
Joined: Apr 30, 201014Year Member
Posts: 2,100
Reputation Power: 79
ObscureCoder wrote You'll notice that you commonly get script errors with IE. You need to get webkit cairo for .net which just adds the errors to a log on the js console.

I think it's possible to suppress these with the Silent property in VB. Or you can use code to do so easily.
Google it.

I still recommend webkit cairo for .net as it conforms perfectly with web standards, unlike most IE versions.


I used this

WebBrowser1.ScriptErrorsSuppressed = True

but that didn't seem to help as when I click login to PayPal account it just unloads?

Also I'm not familiar with cairo for.net can you link me to a tutorial?
#4. Posted:
ObscureCoder
  • Resident Elite
Status: Offline
Joined: Jun 29, 201311Year Member
Posts: 211
Reputation Power: 13
Status: Offline
Joined: Jun 29, 201311Year Member
Posts: 211
Reputation Power: 13
I probably shouldn't have said Cairo as it seems they've changed the build name to just WebKit .net

Here's a reference:
[ Register or Signin to view external links. ]
#5. Posted:
JTAGUK
  • TTG Addict
Status: Offline
Joined: Apr 30, 201014Year Member
Posts: 2,100
Reputation Power: 79
Status: Offline
Joined: Apr 30, 201014Year Member
Posts: 2,100
Reputation Power: 79
thanks for your help but I just changed it so it opens in browser thanks anyway!

+rep
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.