Forums

Stripe error No such token: None

I'm using python anywhere to get my local site online. The site requires people to give there credit card before they can register. Everything works locally but when I build it on Python Anywhere then go to register I get this error.

InvalidRequestError at /register Request req_AdeMmUYTM0OMwl: No such token: None

Do I get this error because I'm using a free python anywhere account?

I am wondering if I need to change my code for python anywhere?

Here is my view. Sorry to ask such a hard to answer question. However, any insight would be much appreciated.

https://gist.github.com/narchiii/a7bed18133dc5e125c2c2ccc432f1408

In case it helps anyone I figured it out. I had stored my static files in the wrong directory.

That sounds odd! Glad you worked it out, anyway.