[web2py] Re: Stripe Info

2016-10-23 Thread Jaimee S
Thanks for the great responses guys. Could you provide a bit of pseudo code relating to adding the users payment amount to the table. I'm not sure about a few things. For instance, what if they click the buy button then presses back once the widget fires -- Resources: - http://web2py.com - h

[web2py] Re: Stripe Info

2016-10-23 Thread Joe Barnhart
There are several ways to use Stripe with web2py. You can use the standard Stripe javascript widget (which is what I do) all the way to building a custom form and handling the two-phase transaction cycle yourself (not recommended for a host of reasons). Using the Javascript widget, you will pa

[web2py] Re: Stripe Info

2016-10-23 Thread 黄祥
just an idea, why not create a table that store information about payment (date, min_amount, amount, user). and do the query over that table (sum(), count(), request.now.month). ref: http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer best regards, stifan -- Resources: