DoesNotExist at /thankyou/11

ApplicationModel matching query does not exist. I am using the stripe payment gateway for payments. I want to get a thankyou massage from the stripe please help me, anyone, where is the issue I am sharing screenshots

enter image description here here is my live site

def thank_you(request, id=0):
    if request.method == 'GET' and id != 0:
        status = stripe.PaymentIntent.retrieve(request.GET['payment_intent'])
        updateStatus = ApplicationModel.objects.filter(user_id =
        updateStatus.payment_status = status['status']
        return render(request, 'thankyou.html')
Back to Top