#brambilla128
1 messages · Page 1 of 1 (latest)
Hello! I assume you're using the PaymentElement? We default to always redirecting after client-side confirmation because some payment method types require it
For some payment types (like card) that don't require the redirect, you can pass redirect: if_required (https://stripe.com/docs/js/payment_intents/confirm_payment#confirm_payment_intent-options-redirect)
Yes I'm using the PaymentElement, and in theory I'm using the automatic_payment_methods: { enabled: true }
I say in theory cause my payment element is loading like this
The title and button are mine
https://github.com/GabrielEduardoBrambilla/Rocket-food-frontend/tree/master/src/components/Stripe here is my stripe element implementation
The stripe component is being used in src\pages\order
Yeah if you're using payment element you'll want to read the link I sent you about redirection