#monshery-react-errors

1 messages · Page 1 of 1 (latest)

grand sky
#

Is there a reason you're using stripe-js 1.15.0 with version 1.4.1 of react-stripe-js?

gilded axle
#

Read what i wrote again please

#

When i installed react-stripe and stripe-js those versions were the latests

#

Several days ago we updated the versions to 1.7.0 and 1.24.0

grand sky
#

Ahhh sorry - I mixed up the order

gilded axle
#

So to downgrade from 1.24 to 1.20 ?

#

OK trying ^1.20.3

#
    at decodeURIComponent (<anonymous>)
    at v3:1:133274
    at i (v3:1:33019)
    at D (v3:1:133204)
    at e.value (v3:1:294264)
    at new e (v3:1:264176)
    at Ho (v3:1:295543)
    at initStripe (stripe.esm.js:101:1)
    at stripe.esm.js:125:1```
#

Same error

#

The error stems from this code:
const promise = loadStripe(STRIPE_PUBLIC_KEY);

#

Karbi wakey wakey

grand sky
#

There are multiple people here, not just you - I'll help you as soon as I can, but you may have to wait a bit

gilded axle
#

Alrighty

grand sky
#

I'm actually seeing two of your here both reporting the same URI malformed error - I'm still doing some digging to find out what it could be. Thanks for your patience!

#

I'm not able to reproduce the same thing on my end - do you have a site I can visit to see the error reproduced?

gilded axle
#

I think its something with localhost

#

vs actual url of the website

grand sky
#

Is there anything in particular you're doing in your dev environment that may be out of the ordinary? I have a very basic dev setup to try an reproduce, so I'm wondering if you're doing something specific that is causing the error

gilded axle
#

I am not doing anything

#

i think its just an error of localhost

#

it doesnt happened in our live environments

#

only in localhosts

grand sky
#

Quick question - what's your account ID (just want to check something real quick)? Also, what browser are you using to test? Is this something you see happen consistently across chrome, firefox, and safari?

grand sky
#

@gilded axle Are you still around?

vital galleon
#

@gilded axle You here?