是否有可能整合Stripe与Firebase和iOS? [英] Is it possible to integrate Stripe With Firebase and with iOS?

查看:408
本文介绍了是否有可能整合Stripe与Firebase和iOS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在谷歌上查询如何做到这一点 - iOS到Stripe。我有一个使用在线数据库的项目,我一直在做独奏(几乎完成),所以我使用了Firebase。我很幸运地发现这个BaaS,时间流逝,我只需要将支付功能集成到这个iOS应用程序,我就完成了。我不是一个Web开发人员/后端开发,我只专注于iOS开发,所以问题是,我不能开始实施支付功能。



我didn'不要考虑使用Braintree,因为我知道它需要一个服务器,所以我选择了Stripe,因为它简单得多,而且我也知道它也需要一个服务器。



以下是我在研究中所做的工作:


  1. 我发现一个 Raywenderlich.com上的教程 - 使用Python的iOS去除它并没有教会如何设置服务器和编码python本身。

  2. 我发现这个 StripeFire Node.js库在GitHub - 但它的最后一次提交是2年前,所以我相信它已经死了?


  3. 我读了关于使用herokuapps来托管我的这个项目的后端的东西,所以我开始在这个网站上注册,到目前为止,我还是无法使用它,因为我仍然在搞清楚从iOS上连接到分段的整个过程。


  4. 我读过关于Zapier集成FIREBASE + Stripe的,这不是免费的,但是我仍然在考虑它,即使我还不知道如何在iOS上使用它。

  5. $ b
  6. 最后,这是迄今为止,我发现的最好的教程 - APP CODE教程 - iOS到Web服务器和条纹 ---这是我的最后一个希望,但我之前发布了这个问题,因为我正在使用Firebase,我认为可能有简单的方法将Firebase连接到Sripe,本教程不使用Firebase。这个教程是真正可以理解的,它使用PHP的服务器端,我不知何故有部署PHP文件的免费托管服务器在网络上的知识----你认为这样可以吗?


所以...这个问题的主要目的是让我知道一个不太了解iOS的人最好的方法和简单的方法关于服务器端的东西(我只知道一些托管网站上的PHP和托管文件)如何将支付功能添加到我的应用程序,同时支付/订单的记录将保存到Firebase中。



谢谢。 解决方案

您现在可以在没有服务器的情况下完全在Firebase中实现 Firebase云端函数已经启动。 Github上有一个Stripe示例。


I've been querying on Google on how to do this - iOS to Stripe. I got a project that uses an online database and I've been doing it solo (it's almost done) so I used Firebase. I was so lucky to find this BaaS and time passed, I only need to integrate a payment feature to this iOS app and I am done. I am not a web developer/backend dev and I only focus on iOS development, so the problem is that I can't start implementing a payment feature.

I didn't consider using Braintree, for I know that it requires a server, so I chose Stripe since it's much simpler, and little did I know that it also requires a server.

Here's what I did so far in my research:

  1. I found a tutorial on Raywenderlich.com - iOS to Strip using Python, but it doesn't teach how to setup the server and coding python itself.

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

  3. I read about using herokuapps to host my backend stuff for this project, so I began signing up on that site, and so far I can't use it because I'm still figuring out the whole process of hooking up to stripe from iOS.

  4. I read about the Zapier to integrate FIREBASE + Stripe, it's not free, but I'm still considering it even though I got no idea yet how to use it for iOS.

  5. Lastly, this is by far, the best tutorial I found - APP CODE Tutorial - iOS to Web Server and To Stripe --- this is my last hope but I posted this question first before I proceed because I am using Firebase and I thought there might be easy ways to hookup Firebase to Sripe, and this tutorial doesn't use Firebase. This tutorial is really understandable and it's using PHP for the server side, I somehow have the knowledge in deploying PHP files to free hosting servers on the web ---- Do you think this way is okay?

So... the main purpose of this question is for me to know the best way and easy way for an iOS person who doesn't know much about server side stuff (I only know PHP and hosting files on some hosting sites) how to put a payment functionality to my app and at the same time the record of the payment/orders will be saved to Firebase.

Thanks.

解决方案

You can implement entirely in Firebase without a server now that Cloud Functions for Firebase has launched. There's a Stripe example up on Github.

这篇关于是否有可能整合Stripe与Firebase和iOS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆