#wadofthejah-firebase-stripe

1 messages ยท Page 1 of 1 (latest)

rancid cedar
#

Hello ๐Ÿ‘‹
Are you seeing any errors while running getProducts(...)?

tacit socket
rancid cedar
#

Hmm. thinking...
also, just a nitpick but if you're using await do you really need those .then(..) calls there?
I've not seen anyone use it like that before ๐Ÿ˜„

tacit socket
#

I was getting an error using @stripe/firestore-stripe-payments
but I imported next-tranpile-modules and error went away

#
const withTM = require("next-transpile-modules")([
  "@stripe/firestore-stripe-payments",
]); // pass the modules you would like to see transpiled
const nextConfig = withTM({
  reactStrictMode: true,
});
tacit socket
rancid cedar
#

haha no worries. all good!

tacit socket
#

as you can see products show up and they are active so idk why empty

rancid cedar
#

gotcha. and if you use getStripePayments you're seeing the payments successfully right?

#

ah wait

#

that's a different one

#

as you can tell, I don't usually work with firebase a lot ๐Ÿ˜„

tacit socket
#

naw your all good Lol its not my expertise either

rancid cedar
#

can you print out payments for me?

tacit socket
#

yep I already did and this is what I got

rancid cedar
#

hmm the only other thing that I can think of is if the request is querying a different account > collection entirely

#

can you double check the firebase config to make sure its going to the right sandbox?

tacit socket
#

ill try restarting my app ive done it before but lets just see

#

NOOOO WAYY

#

it worked

#

WHAT

rancid cedar
#

๐ŸŽ‰

tacit socket
#

I am working with another friend on the project and we initially made firebase config with his acc and then we changed to mine to get blaze plan and I really thought I had changed the config but it wasnt

rancid cedar
#

Ah I see.
I'm glad that worked ๐Ÿ™‚

tacit socket
#

thanks for your time really appreciate it