I have created a whatsapp bot and integrated stripe payment in my bot. After ordering items I will get a payment link from stripe to do the payment. After payment is completed stripe will send a request to my server (payment callback) endpoint, then I will get a thank you message. So now when ever after the payment from stripe the payment callback request is repeqadly coming. It should hit my bot endpoint only once for after every payment. I dont know why it is hitting repeatdly can someone help me with this issur?
I used test account of stripe and added my server url in stripe account webhook and subscribed to invoice_successful and invoice_failed events. What Im expecting is when ever i made a payment, the request from stripe should only hit once and i should get the thank you message only once.