We need to use Stripe webhooks to listen to Stripe event: payment succesful and payment failed. Event data should be stored in database. https://stripe.com/docs/webhooks