We use in web2py.com/pdfbuy the API in gluon/contrib/stripe.py are designed to be called from the controller, not from the javascript.
On Friday, 25 May 2012 18:07:33 UTC-5, james c. wrote: > > Thanks for including Stripe APIs in Web2Py. > > Stripe provides from its' Web site a form and javascript template that > collects, clients browser, the credit card information, ships it off to > stripe for validation, and then returns the validated > credit card information as a token via a post to the Web2Py controller. > > This script looks like it is generating superfish related errors, and it > looks like there are errors related to where the script wants return the > token. > > Has anyone used the Stripe script with Web2Py? Or, was Stripe API for > Web2PY tested assuming a client form is just going to collect the credit > card information and return that to the controller? > > thanks in advance for any recommendations, James >