Add logger messages
This commit is contained in:
parent
04003757dc
commit
9b84461a29
2 changed files with 3 additions and 0 deletions
|
@ -1403,6 +1403,7 @@ def do_provisioning(request, stripe_api_cus_id, card_details_response,
|
||||||
:return:
|
:return:
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
logger.debug("do_provisioning")
|
||||||
user = request.get('user', None)
|
user = request.get('user', None)
|
||||||
|
|
||||||
# Create user if the user is not logged in and if he is not already
|
# 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""")
|
invoice_obj.billing_reason == subscription_update""")
|
||||||
logger.debug("Start provisioning")
|
logger.debug("Start provisioning")
|
||||||
try:
|
try:
|
||||||
|
logger.debug("Looking for subscription %s" %
|
||||||
|
invoice_obj.subscription)
|
||||||
stripe_subscription_obj = stripe.Subscription.retrieve(
|
stripe_subscription_obj = stripe.Subscription.retrieve(
|
||||||
invoice_obj.subscription)
|
invoice_obj.subscription)
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue