Submit the paymentBeta
Add a button to complete checkout.
Check if the session is ready![](https://b.stripecdn.com/docs-statics-srv/assets/fcc3a1c24df6fcffface6110ca4963de.svg)
Before submitting the payment, make sure that all required data is present by checking canConfirm. If you’re missing data, you can see what’s missing by checking confirmationRequirements.
Render a pay button![](https://b.stripecdn.com/docs-statics-srv/assets/fcc3a1c24df6fcffface6110ca4963de.svg)
Call confirm when the customer is ready to complete checkout, such as in response to clicking a pay button.