[BUG]: No overload for confirmSetup with confirmation_token
reubenmoes opened this issue · 4 comments
reubenmoes commented
What happened?
const { error, setupIntent: confirmedSetupIntent } = await this.client.confirmSetup({
clientSecret,
confirmParams: {
confirmation_token: confirmationToken.id,
expand: ['payment_method']
},
redirect: 'if_required'
});
From the docs, confirmation_token is a valid parameter, and when testing, it successfully confirms the payment method. It looks like the types are just missing the overload for this.
Environment
VSCode
Reproduction
No response
fruchtose-stripe commented
Hi @reubenmoes, thanks for your report. I have passed on this issue for investigation.
stale commented
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
fruchtose-stripe commented
Hi @reubenmoes, this has been addressed in #606, which is part of release v3.4.1.
awalker-stripe commented
Closing since it looks like it's been resolved in #606! Please feel free to reopen if there's any further issues with this.