Fix using correct payment intent id

This commit is contained in:
PCoder 2020-12-31 16:23:44 +05:30
parent 7db0594778
commit 12c9140b3a

View file

@ -228,7 +228,7 @@ def handle_webhook(request):
try: try:
incomplete_pm = IncompletePaymentIntents.objects.get( incomplete_pm = IncompletePaymentIntents.objects.get(
payment_intent_obj.id) payment_intent_id=payment_intent_obj.id)
request = "" request = ""
soc = "" soc = ""
card_details_response = "" card_details_response = ""