Does the new Stripe Payment element dmx-stripe-payment
have a setup confirmed event?
The previous dmx-stripe-card
is where this previously lived
I've tried to manually add, but that does not trigger.
Is there something different now?
Does the new Stripe Payment element dmx-stripe-payment
have a setup confirmed event?
The previous dmx-stripe-card
is where this previously lived
I've tried to manually add, but that does not trigger.
Is there something different now?
The confirmPayment
and confirmSetup
step return a promise which can be used in flows, it will throw an error or return the paymentIntent/setupIntent data which you then can directly use in follow up actions. The data is not on the component anymore.
I could bring the old behavior back if that is preferred. The event doesn't have any use if the data is not accessible on the component and with flows you have more control.
Thanks Patrick, using flows is fine.
It seems the redirect_url is required by the stripe api, however with a standard "card" transaction, no redirect is needed. I want to just evaluate what is returned by the Confirm setup, and take action.
Perhaps there is an option in the setup intent to handle this?