HTMLViewer.Loadpage method

I am trying to get the following script to execute using the HTML Viewers Loadpage method, but all I am getting is a bunch of syntax errors.

Any clues what I am doing wrong. HTML and Java are definitely alien to me.

[quote=121579:@chris benton]I am trying to get the following script to execute using the HTML Viewers Loadpage method, but all I am getting is a bunch of syntax errors.

Any clues what I am doing wrong. HTML and Java are definitely alien to me.[/quote]

Your HTML is not complete. It most probably would not work in a standard browser. Where did you find this code ? What are you trying to do ?

If you are trying to interface with the Stripe payment see :
https://forum.xojo.com/8387-implementing-stripe-js
https://forum.xojo.com/13075-stripe-add-on-for-in-app-payments-subscriptions-see-new-listing

As implied, trying to integrate Stripe into a web app, but I am struggling to understand what tools, methods and keywords Xojo has to offer to allow me to do this. With my limited understanding of HTML and JS makes the task harder. The sample came from Stripe’s web site. If you look at the following linkhttps://stripe.com/docs/api#create_charge I cannot work out how to integrate this into a Xojo web app.

Have you looked at the two links I posted ?

Matthew Combatti is selling a Stripe class for$15 at http://www.xojodevspot.com/applications/easyshop/easyshop.php?cat.2

May save you a lot of aggravation…

Thanks a heap Michel, you are worth your weight in gold.