diff --git a/datacenterlight/views.py b/datacenterlight/views.py index 3a295089..226985cf 100644 --- a/datacenterlight/views.py +++ b/datacenterlight/views.py @@ -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 diff --git a/webhook/views.py b/webhook/views.py index 5760b0dd..2d2ce371 100644 --- a/webhook/views.py +++ b/webhook/views.py @@ -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: