问题描述
我正在构建一个使用Firebase作为后端的iOS应用程序,并希望在没有外部服务器的情况下实现Stripe。我已经检出了这个帖子: - 并显示以下有关Stripe支付流程/网关的流程:
$ b $ ol
关于Zapier,我已经联系了Firebase ,他们告诉我Zapier不再支持这个过程。
另外:与Braintree不同,它需要生成令牌服务器端,Stripe的密钥与我的帐户相关联。理论上来说,我可以使用Firebase的REST API来将Stripe与外部服务器整合在一起,是正确的吗?
任何帮助真的很感激,谢谢!
> Stripe的API库或其之一。
6似乎正在描述webhooks,而 可能 可能只需连线直到,但最终您需要某种应用程序来处理服务器上的费用。
I'm building an iOS application using Firebase as my backend and want to implement Stripe without an external server.I've already checked out this post: Firebase payment gateways? — and it shows the following process regarding Stripe's payment process/gateway:
- User initiates transaction on your site
- Client code sends them to Stripe to enter their CC info
- Client code obtains a token representing the secure transaction
- A server process is notified by stripe when the transaction is validated
- The server submits the payment authorization with the token
- Stripe sends a transaction receipt to the server process or Zapier, which would be stored back in Firebase
I've already contacted Firebase regarding Zapier and they told me that Zapier doesn't support this process anymore.Also: Unlike Braintree, which requires to generate a token server-side, Stripe's key is associated with my account.
Theoretically then, I would be able to integrate Stripe with no external server using Firebase's REST API, correct?
Any help is really appreciated, thanks!
Step 4, 5 and ~6 still require a server-side application running one of Stripe's API libraries or one of their third-party integrations.
6 seems to be describing webhooks, and it might be possible to just wire Stripe webhooks right up to a Firebase 'save' URL, but ultimately you need some kind of application to process the charges on a server.
这篇关于在iOS上与Firebase进行条带集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!