#DevSoldier-react

1 messages · Page 1 of 1 (latest)

tranquil fractal
#

Hi! Are you using stripe-js or react-stripe-js? And which version?

pine python
#

I'm using import { loadStripe } from "@stripe/stripe-js";

#

"@stripe/stripe-js": "^1.22.0",

tranquil fractal
#

Do you have a URL so I can try to reproduce? Or this is on your local machine?

pine python
#

I build the site on netfliy and send you a link if that helps. However, at the moment it's local and in private repository for a client

#

I can build*

tranquil fractal
#

If you can that would be great yes!

pine python
#

Ok, 2 mins. Thanks

#

Before you visit the site

#

To get to the part you need you need to do an "instant online quote"

#

So, on the homepage, click "instant boiler quote" in the hero

#

question one answer "GAS"

#

question two answer "Combi"

#

question three answer "Broken Boiler"

#

question four answer "Kitchen"

#

question five answer "Semi-Detached"

#

question six answer "3" bedrooms

#

question 7 answer "1" bathroom

#

question 8 answer "Wall"

#

question 9 leave the input box empty and click "view prices"

#

It will fetch a load of quotes that return as cards. Click on "choose" for any of them and that will reproduce the error. The "choose" button is essentially the buy button

tranquil fractal
#

Thanks, I managed to reproduce! Give me a few minutes to investigate.

pine python
#

Thanks

tranquil fractal
#

Found the issue! There's a typo. It's redirectToCheckout and not redirectToCheckOut. The o is lowercase.

pine python
#

Ah! Typos are the story of my life

#

Thanks, I should have spotted that myself

tranquil fractal
#

No worries, it also took me a while to notice 🙂