Step 2: Handle payment confirmation
“Create a /success page that shows a thank-you message after payment. Also set up a listener so Stripe can tell my app whenever a payment actually goes through. When that happens, save the customer's email and the amount they paid. Make sure the listener checks that the message is really from Stripe (using the secret Stripe gives me for this), so nobody can fake a payment.”