ios - 如何创建 STPCard Stripe ios?

标签 ios swift stripe-payments

我有一张客户保存的卡的 token ,当我想使用 strip 查看所有客户保存的卡时,如何检索此卡的详细信息?

最佳答案

好吧,您只是无法通过其 token 检索卡详细信息。该 token 仅用于支付一次。 现在为了存储客户卡,您需要在 stripe 创建客户帐户 .. 然后向客户注册您的卡 .. 您可以通过客户 ID 检索所有向客户注册的卡 ..

选中此项以创建客户 .. https://stripe.com/docs/api#customers

检查此以与客户创建卡.. https://stripe.com/docs/api#create_card

这就是整个过程..我最近实现了..

关于ios - 如何创建 STPCard Stripe ios?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44085269/

相关文章:

ssl - 由于缺少本地证书路径,Laravel Cashier 无法连接到 Homestead 中的 Stripe

ios - 当用户单击 alertview 时从 sqlite 数据库中删除一条记录

ios - 呈现 View Controller 上的模态视图 Controller

ios - 如何识别 ImageView 中不同位置的不同操作?

ios - UIImagePickerController教程?

ios - 如何在 swift 中解析 json(将 json 字符串转换为字符串)

xcode - Realm - 模块文件是由旧版本的编译器创建的

php - Stripe 结账 : Pass metadata on Session object creation and receive it in checkout. session.completed 事件

swift - 如何将第一个表格 View 单元格设为静态,然后使用 swift 从第二个单元格加载数据

node.js - 使用 Stripe 向银行账户汇款 | Node JS