#Rahim Dobani

1 messages · Page 1 of 1 (latest)

hidden badgeBOT
static ivy
#

Can you help me with this?

thick geode
static ivy
#

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?

thick geode
#

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.

static ivy
#

I am getting client secret in url parameters, Is there any ohter way to get client secret without getting in return url parameter?

thick geode
#

You can get the client_secret by fetching the SetupIntent