[web2py] Re: Issues w/ Stripe?

2016-12-12 Thread Dave S


On Monday, December 12, 2016 at 6:04:24 PM UTC-8, 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?
>
>
Does each appliance need it's own Stripe identifier/token/mumblemumble ?

- Scott
>

/dps
 

-- 
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.


[web2py] Re: Issues w/ Stripe?

2016-12-13 Thread Scott Hunter
It does not appear to have any notion of an appliance; they are just 
different URLs on the same domain.  I didn't use the backup appliance until 
the real one stopped working.

- Scott

On Monday, December 12, 2016 at 10:49:30 PM UTC-5, Dave S wrote:
>
>
>
> On Monday, December 12, 2016 at 6:04:24 PM UTC-8, 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?
>>
>>
> Does each appliance need it's own Stripe identifier/token/mumblemumble ?
>
> - Scott
>>
>
> /dps
>  
>

-- 
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.


[web2py] Re: Issues w/ Stripe?

2016-12-13 Thread Scott Hunter
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.


[web2py] Re: Issues w/ Stripe?

2016-12-13 Thread Dave S


On Tuesday, December 13, 2016 at 2:50:02 AM UTC-8, Scott Hunter wrote:
>
> The problem was with appconfig.ini; I had moved the Stripe tokens into it, 
> but left them surrounded by quotes.
>

It sounded like a token issue; glad it was simple to fix, and that you 
sorted it!

/dps
 

>
> 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.