【问题标题】:How to get token id from Stripe function using ionic 3?如何使用 ionic 3 从 Stripe 函数获取令牌 ID?
【发布时间】:2019-08-13 03:09:47
【问题描述】:

我想在 ionic 3 中使用条带实现支付网关 我得到了条带的响应,但我想存储该令牌。 如何访问它?

    this.stripe.createCardToken(this.card)
    .then(token => console.log(token))
    .catch(error => console.error(error));

response from strip

【问题讨论】:

    标签: angular typescript ionic3 strip


    【解决方案1】:

    您返回的token 正在记录令牌。这就是您需要在服务器中存储和使用的内容才能进行收费。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-01-15
      • 2021-09-07
      • 1970-01-01
      • 2017-04-13
      • 1970-01-01
      • 2022-12-05
      • 2016-06-21
      • 2020-05-05
      相关资源
      最近更新 更多