【发布时间】:2017-11-30 22:26:05
【问题描述】:
我从 STPCard 获得了 STPToken、卡 ID,但我无法从 Stripe 中的 STPCustomer 获得客户 ID。谁能告诉我如何获取客户 ID(例如:cus_asjdfhask234234ajsdf)。
【问题讨论】:
-
“无法获得客户 ID”是什么意思?你不知道怎么做,或者你得到的信息是无效的?
-
我不知道如何..请帮助
-
[STPAPIClient sharedClient] createTokenWithCard:cardParams completion:^(STPToken* token, NSError *error) 我使用上述方法得到了 STPToken 和 STPCard 详细信息,但是如何获取客户 ID?
-
* 客户的 Stripe ID,例如
cus_1234喜欢这个 id..它显示在 STPCustomer 类中,但我不知道如何获取该 id...请帮助
标签: ios objective-c stripe-payments strip