# After the payment sheet is dismissed after the error, your app can check the latest payment intent status. If the payment intent status is canceled, then your app can prompt about the cancelation and shouldn't display Pay button