#Rahim Dobani
1 messages · Page 1 of 1 (latest)
Can you help me with this?
I invite you to follow this guide:
https://stripe.com/docs/payments/save-and-reuse?platform=web&ui=elements
const {error} = await stripe.confirmSetup({
//Elements instance that was used to create the Payment Element
elements,
confirmParams: {
return_url: 'https://example.com/account/payments/setup-complete',
},
});
i have problem on this after payment details added to customer i dont want to return url how i can do this?
?
can anyone help me here?
i have problem on this after payment details added to customer i dont want to return url how i can do this?
You need to set a return_url, that's required.
I am getting client secret in url parameters, Is there any ohter way to get client secret without getting in return url parameter?
You can get the client_secret by fetching the SetupIntent