Set completed_at value

This commit is contained in:
PCoder 2020-12-31 16:29:18 +05:30
parent 52d1fb6a0e
commit f48a5cfe71

View file

@ -268,6 +268,7 @@ def handle_webhook(request):
gp_details=gp_details,
billing_address_data=billing_address_data
)
incomplete_pm.completed_at = datetime.datetime.now()
except (IncompletePaymentIntents.DoesNotExist,
IncompletePaymentIntents.MultipleObjectsReturned) as ex:
logger.error(str(ex))