I recently implemented stripe checkout in my site which runs on 
Pythonanywhere. Initially, I followed the recipe in the manual, using 
/gluon/contrib/stripe.py. Worked in local test, but failed on my test site 
which is a free Pythonanywhere account, although PA say Stripe is 
whitelisted.

The officially documented Stripe API is different, and uses the Python 
stripe module. Changed my code to follow the api as descibed at 
https://stripe.com/docs/quickstart 

This version does work on free Pythonanywhere accounts.

According to Pythonanywhere support, the /gluon/contrib/stripe.py 
implementation does something that the proxy used for free PA accounts 
doesn't like.

Suggest the manual recipe refer to the stripe API docs.

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to