#rag-firebase-android
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- rag_j_n, 1 day ago, 8 messages
Hello! If you're integrating directly with Stripe and have specific questions I can help, but if you're using a firebase extension you'll likely need to talk to them
rag-firebase-android
I use Firebase So I found out the Stripe Extension they offer but I am keep getting lost with their cloud function thing
Which specific part?
after configuring the extension, it generated these functions
now what's next?
there is a link in the extension
how it works
so when I clicked it
it goes to this github repo
it says "web SDK"
Okay let's take a step back here - I'd recommend you start by first reading through how a normal Stripe Android integration would work end to end (https://stripe.com/docs/payments/accept-a-payment?platform=android)
Once you understand that, you can replace the server calls with calls to the firebase extension (and you can reference this video https://youtu.be/nw7rOijQKo8?t=1935 if you want some more guidance on how it all comes together)
yah so in this section
they have mentioned a server side right, I don't need a server since I have the Firebase ?
for the add an endpoint section
Firebase already generated a link to me I guess I have to add that endpoint url for webhooks
if I got these parts correctly?
Yeah the firebase cloud functions would be what you use instead of calling your own server
No you definitely need that - that's where you'd call out to your firebase cloud function to get the information you need
so I have to push this as a function manually to the Firebase clound functions ?
I'm not sure what you mean by push this manually, but you would have to call the firebase function form your app
ok so the extension only created these 6 functions only
I don't see a function called "payment-sheet" in there
these are 6 functions
This is why I recommended that you watch that video - it's not going to be an exact one-to-one mapping because our docs are meant for folks who are itnegrating directly
You need to look through the functions and see which of them are returning the information you need
oh yah this video I watched it too
in this video he pulled out a Firebase code from somewhere else
and also that video doesn't use the extension
they directly deploy the functions from the CLI tool
So that's why I was confused whether to use the extension or the firebase cli tool they have used in the video tutorial
you can see this piece of code is not even in the stripe doc
it's from somewhere else, the code is in the provided github link though, but it's not maintained and archived
stripe code
At this point I think you need to push on the folks that own/maintain the firebase extension for more clarity - from what I can see, the extension DOES create ephemeral keys (https://github.com/invertase/stripe-firebase-extensions/blob/2ad018aeb45564fce06540a952253715aba1ef79/firestore-stripe-payments/functions/src/index.ts#L274) but this isn't an extension that we own or maintain, so I'm not really sure what they recommend here in terms of which specific function to use/when to use it
yeah you'd need to talk to them about this