Firebase 和 Stripe:存储用户的信用卡信息

Firebase and Stripe: Storing users credit card information

我正在编写一个 iOS 应用程序,该应用程序需要存储用户的信用卡信息以便他们进行更改,并且这样就可以在每次不输入卡的情况下进行支付。

我使用 Firebase 作为我的数据库,并使用 Stripe 进行购买。 Heroku 处理所有的条带令牌。

现在,我让用户每次想要付款时都必须输入一张卡,但我想安全地存储这些信息,这样他们就不必这样做了.

我可以将它存储在 Firebase 上吗?有没有更简单安全的方法来为每个用户存储信用卡信息?

Can I store it on Firebase?

当然可以,如果您准备好 PCI compliance

您最好的选择是为 Stripe 设置 subscriptions to manage monthly subscriptions or for in app purchases see the IOS API。