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:
It's been a while since this thread had seen any traffic but I was trying
to deploy on dreamhost and ran into the same problem. I found this which
solved it:
https://github.com/web2py/web2py/issues/1413
In passenger_wsgi.py, web2py overwrites stdout with stderr but Passenger
needs stdout to ta
Hi,
I've read through the stripe documents and i had a few questions.
I see how it's possible to integrate stripe into web2py, but i don't see
how you can have an open amount which would allow the user to pay however
much they choose. For instance, i would like the users to pay whatever
amoun
On Thursday, October 20, 2016 at 9:11:52 AM UTC-4, Scott Hunter wrote:
>
> Your fields are of type string (the default); so either make string
> representations of your lists or declare the fields as lists of strings.
>
> Or, if you are trying to use this data to define *multiple* records,
> some
Thank You Anthony.
You give me another idea...
On Thursday, October 20, 2016 at 6:17:50 PM UTC+3, Anthony wrote:
>
> On Wednesday, October 19, 2016 at 9:15:21 AM UTC-4, Tribo Eila wrote:
>>
>> Hi,
>>
>> supposed:
>> db.define_table('color', Field('blue'),Field('yellow'),Field('red'))
>>
>> COLOR
Perfect!
Thank You very much.
On Thursday, October 20, 2016 at 4:11:52 PM UTC+3, Scott Hunter wrote:
>
> Your fields are of type string (the default); so either make string
> representations of your lists or declare the fields as lists of strings.
>
> Or, if you are trying to use this data to d
Thanks so much Silva,
I have declared the code below in default.py
auth.add_group('induvidual', 'induvidual group')
auth.add_group('non_induvidual','induvidual')
if db(db.auth_user.account_type == 'Non Induvidual'):
auth.add_membership(non_induvidual, user_id)
elif db(db.auth_user.account_typ
Hi,
Suppose a batch of tasks of 3 categories such that *cat1 > cat2 > cat3*
and a group of sheduler's processes to perform these as soon as they are
queued.
How do i instruct workers to pick cat1 tasks first and then cat2 tasks
(only if no cat1 task is present in the queue) and finally cat3
10 matches
Mail list logo