#globulen_firebase

1 messages ยท Page 1 of 1 (latest)

daring pineBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1281319801121276098

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

winged vector
#

Hi ๐Ÿ‘‹

We can provide specific guidance to specific questions about integrating with Stripe APIs but we do not have firebase-specific knowledge here.

hushed rain
#

ok i thought adding firebase into the question would help with context

winged vector
#

It does, but that also means we won't be able to help with firebase specific issues ๐Ÿ˜…

hushed rain
#

that makes sense

#

let me see then

#

do you know what would make the stripe api in firebase make the web app not open at all

rare edge
#

Oh I can chat here too

hushed rain
#

nvm they got it

rare edge
winged vector
#

That further suggests we won't be able to offer any help here.

#

I can suggest how you format your API requests to Stripe APIs but we have no knowledge of building firebase web apps

rare edge
silent lake
#

Hi there ๐Ÿ‘‹ jumping in as my teammate needed to step away, can you tell me more about that issue? What requests are you making, what are you expecting to see, what are you seeing instead?

rare edge
#

One second I'll grab the code and stuffs in a bit

daring pineBOT
#

globulen_firebase

rare edge
#

Even doing

#
const { initPaymentSheet, presentPaymentSheet } = useStripe();
#

Makes the site completely unable to render

silent lake
#

What errors do you see when the site won't render? Anything thrown to the browser console?

rare edge
#

and I get

Web Bundling failed 704ms node_modules/expo/AppEntry.js (1 module)
Unable to resolve "../../Utilities/Platform" from "node_modules/react-native/Libraries/Components/TextInput/TextInputState.js"

#

In terminal

#

Doing some deep diving into the error it seems to be some kind of version incompatability going on

silent lake
#

Hm, offhand I don't recognize those errors. I don't really know much about the Firebase framework, which of our libraries are you importing into your project?

rare edge
#

I've also tried using @stripe/firestore-stripe-payments

silent lake
#

That later one is no longer maintained by Stripe, it's maintained by invertase now. I'd suggest opening an issue against their repo if you're running into problems with that package:
https://github.com/invertase/stripe-firebase-extensions/issues

Looking at one of the errors you shared, are you also using Expo for this project? If so, what Expo SDK are you using?

GitHub

Repository of Firebase Extensions built by Stripe. - Issues ยท invertase/stripe-firebase-extensions

rare edge
#

That's probably it

#

I am currently using the version of the extention provided by stripe