#viper_convrseai

1 messages · Page 1 of 1 (latest)

summer kiteBOT
rustic gust
#

i'm using stripe react library for the form and using it

#

Hi! Let me help you with this.

#

Is anything broken in your checkout flow?

mint cape
#

i'm trying to figure out the same, i have an api from where i'm getting the client secret for a payment intent and using that in the react component which is given in stripe document's example

not able to understand why it is showing blocked by client for this url

rustic gust
mint cape
#

ok but what if i want to keep it enabled?

rustic gust
#

Then you can keep it enabled. It sometimes does this, but it works.

#

Does it also error in production?

mint cape
#

i'm just migrating to stripe, so haven't pushed the code in production

#

it worked, the example in document has a logical error it seems

rustic gust
mint cape
#

const {error: submitError} = await elements.submit();
if (submitError) {
// Show error to your customer
setErrorMessage(submitError.message);
return;
}

this is there in the github code example but not in stripe docs

this caused issue for me to understand if my code is working or not!!

Anyways thanks

rustic gust
#

What is the issue here?