#grb

1 messages · Page 1 of 1 (latest)

hybrid birchBOT
mild sedge
#

But when running against the new Stripe account, payment methods created via @stripe/stripe-js and @stripe/react-stripe-js don't exist when our backend tries to use them.
So, if you're using a different Stripe account, those Payment Methods aren't going to be accessible. You would have to use the same account that created them

#

Unless I'm missing something that you haven't yet mentioned about your integration?

delicate blade
#

The backend and frontend are both running against the same Stripe API keys

mild sedge
#

You mention 2 Stripe accounts

delicate blade
#

Yes. I run backend and frontend both against the old account; everything works. I run them both against the new account; it breaks as described

mild sedge
#

It sounds like you're trying to do something with a Stripe account that doesn't have access to the Payment Methods. Each Payment Method object can only exist on one Stripe account at a time

delicate blade
#

It's the same account. Backend and frontend are running against a single Stripe account.

#

Nope, I'm running with public and secret keys from mixed accounts. Sigh. 30,000 hours of programming computers in my life, 2 hours trying to debug this, and I did double-check this at the very beginning... but apparently I mixed some keys up. Sorry to waste your time. Thanks