ecommerce_sanity_stripe icon indicating copy to clipboard operation
ecommerce_sanity_stripe copied to clipboard

Stripe Redirect Failed

Open manupranav opened this issue 2 years ago • 5 comments

When i click pay with stripe it show this error. TypeError: Cannot read properties of undefined (reading 'redirectToCheckout')

Screenshot (155)

manupranav avatar Oct 15 '22 08:10 manupranav

Here you should write data.id instead of data.url

umituysal avatar Dec 02 '22 17:12 umituysal

I'm getting the same error

Screen Shot 2022-12-15 at 12 18 29 PM

Here's my code: Screen Shot 2022-12-15 at 12 19 32 PM

Any thoughts?

claprincedesigns avatar Dec 15 '22 20:12 claprincedesigns

Yea same problem here I get a 401 error message and I'm trying to figure out what is causing this.

theDevJudge avatar Jan 05 '23 03:01 theDevJudge

hello im getting the same error, apparently they told me the method has been deprecated by stripe , the stripe.redirectToCheckout() is no longer working, what they told me is to use a redirect to the checkout page, im still trying to figure that one out.

Captura de pantalla 2023-01-12 a las 15 55 00

this is the answer of the staff in discord to my convo

in case you want to see the convo here is the link https://discord.com/channels/841573134531821608/841573134531821616/1062758538725834782

abg1995 avatar Jan 12 '23 14:01 abg1995

Yea same problem here I get a 401 error message and I'm trying to figure out what is causing this.

I am getting the same 401 error and cannot solve it

mgHariom avatar Apr 25 '23 12:04 mgHariom