The problem was with appconfig.ini; I had moved the Stripe tokens into it, 
but left them surrounded by quotes.

On Monday, December 12, 2016 at 9:04:24 PM UTC-5, Scott Hunter wrote:
>
> I have 2 appliances on a pythonanywhere web app, one a clone of the other, 
> both with a Stripe payment page.  One of them works, the other does not; 
> when the form gets submitted, the one that fails shows the following on the 
> browser console:
>
>     [Error] Failed to load resource: the server responded with a status of 
> 401 (Unauthorized) (tokens, line 0)
>
> and shows the URL https://api.stripe.com/v1/tokens
>
> Stripe Support says I should "manually" use Stripe.js, but it looks like 
> gluon.contrib.stripe is already doing this.
>
> This has been working up until this past September (hasn't been tried 
> since then until today).
>
> Running web2py Version 2.14.6-stable+timestamp.2016.05.10.00.21.47
>
> Any thoughts as to what might be the problem, or even better, how to fix 
> it?
>
> - Scott
>

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to