#mattwt - 3ds message
1 messages · Page 1 of 1 (latest)
this.stripe.confirmCardSetup(response.data.client_secret, {
payment_method: {
card: this.elements.cardNumberElement,
}
}, {
handleActions: false
}).then(this.setOutcome);
setOutcome: function (result) {
if(result.setupIntent.next_action && result.setupIntent.next_action.type === 'redirect_to_url') {
.... show my message to the user then handle next_action
} else {
...
}```
.... show my message to the user "then handle next_action" <- does stripe have a JS function to handle the popup (I had to pass handleActions: false to confirmCardSetup so that I can display my message before stripe handles the next action (3d popup)
Ah ok I see now