Merge branch 'webhooks' of github.com:Gluejar/regluit into webhooks

Conflicts:
	payment/stripelib.py
pull/1/head
Raymond Yee 2012-10-31 08:27:39 -07:00
commit a973015f04
1 changed files with 3 additions and 0 deletions

View File

@ -729,7 +729,10 @@ class Processor(baseprocessor.Processor):
elif resource == 'charge':
# we need to handle: succeeded, failed, refunded, disputed
if action == 'succeeded':
from regluit.payment.signals import transaction_charged
logger.info("charge.succeeded webhook for {0}".format(ev_object.get("id")))
# figure out how to pull related transaction if any
elif action == 'failed':
pass
elif action == 'refunded':