So guys I ve reached a point that i cannot solve.
My problem is that I m creating a booking flow where slots can be chosen by a patient in order to book a doctor.
What I m trying to do is that once the patient is booking the patient, he/she will go to an external Stripe link and once he/she paid will land on a confirmation page (of my website).
Flow:
- Patient choose doctor’s slot
- Patient goes on an external stripe link
- Patient land on confirmation page
What I want to do is to create the booking in the db only when the user actually land on the final page and not before (cause in case the patient drop in the checkout)
How can I do according to you guys?
Thanks
