Can I integrate Stripe With Firebase and iOS?

I asked Google about how to do this - iOS to Stripe. I have a project that uses an online database, and I'm doing it solo (it's almost done), so I used Firebase. I was fortunate enough to find this BaaS, and the time has passed, I only need to integrate the payment function in this iOS application, and I'm done. I am not a web developer / backend developer, and I focus only on iOS development, so the problem is that I cannot start implementing the payment function.

I did not consider using Braintree because I know that I need a server for this, so I chose Stripe because it is much simpler, and I knew little that a server was needed for this.

Here is what I have done so far in my research:

  • I found a tutorial on Raywenderlich.com - iOS for Strip using Python, but it does not teach how to configure the server and the encoding of python itself.

  • I found this StripeFire Node.js library on GitHub - but its last commit was 2 years ago, so I believe it is dead?

  • I read about using herokuapps to host my backends for this project, so I started subscribing to this site, and still I can’t use it, because I'm still figuring out the whole process of connecting to the strip from iOS.

  • I read about Zapier to integrate FIREBASE + Stripe, it's not free, but I'm still considering it, although I haven't figured out how to use it for iOS yet.

  • Finally, this is by far the best tutorial I have found - APP CODE Tutorial - iOS on the web server and on the strip - - This is my last hope, but I sent this question first before continuing, because I use Firebase, and I thought that there could be simple ways to connect Firebase to Sripe, and this tutorial does not use Firebase. This tutorial is really understandable, and it uses PHP for the server side, I somehow have knowledge on deploying PHP files on free hosting servers on the Internet. Do you think this method is okay?

So ... the main goal of this question is to find out the best way and the easiest way for an iOS person who knows little about server things (I only know PHP and file hosting on some hosting sites), how to install payment functionality in my application, and in at the same time, the payment / order record will be saved in Firebase.

Thanks.

+7
ios swift stripe-payments firebase zapier
source share
3 answers

Now you can fully implement in Firebase without a server when the Cloud functions for Firebase are launched. It shows an example of Stripe on Github.

+5
source share

I had the same question. Looking for solutions in every forum. I started writing in Reddit and got a solution. I did not realize it.

firebase -> auth0 -> webtask -> stripe - this is one way to implement a real server without a server

Reddit message about true reserve-free payment implementation

Also, @ user5156051, I have a question about how you implemented the solution without a PayPal server. I could not find the way. When I checked with a PayPal engineer, they mentioned that you need to have your own server to complete the payment.

Sending Email Using PayPal Engineer

+1
source share

You can take a look at this organization. We are creating an iOS application that runs on firebase, and we are opening a tool for applications and cloud functions (Firebase Functions / Google Cloud Functions). Iamgoogbad

0
source share

All Articles