# the best solution is to always redirect so you don't have to consider the success case from the resolved promise of confirmPayment, only the errors.
# which is the default(https://stripe.com/docs/js/payment_intents/confirm_payment#confirm_payment_intent-options-redirect)