I have this:
return stripe.Charge.create(
amount=amount,
currency=currency,
source=source, # obtained with Stripe.js
description=description
)
and the answers is that:
File "/home/pdonaire1/desarrollos/4geeks/mall4g/apps/orders/stripe.py", line 16, in stripe_charge_create
return stripe.Charge.create(
AttributeError: 'module' object has no attribute 'Charge'
Note: I'm using Django, but with the shell works excelent, y don't know why with django don't work.
Thanks.