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
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
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:
3 matches
Mail list logo