Commit 9b84461a authored by PCoder's avatar PCoder

Add logger messages

parent 04003757
......@@ -1403,6 +1403,7 @@ def do_provisioning(request, stripe_api_cus_id, card_details_response,
:return:
"""
logger.debug("do_provisioning")
user = request.get('user', None)
# Create user if the user is not logged in and if he is not already
......
......@@ -139,6 +139,8 @@ def handle_webhook(request):
invoice_obj.billing_reason == subscription_update""")
logger.debug("Start provisioning")
try:
logger.debug("Looking for subscription %s" %
invoice_obj.subscription)
stripe_subscription_obj = stripe.Subscription.retrieve(
invoice_obj.subscription)
try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment