【问题标题】:Stripe Elements shipping info collectionStripe Elements 运输信息收集
【发布时间】:2020-09-18 10:25:18
【问题描述】:

如何使用 Stripe Elements 收集配送信息?我正在使用反应,似乎无法弄清楚如何获取包含运输信息的表格。我已经设法让卡元素使用付款意图进行付款,但我没有看到任何制作运输表格的示例。

【问题讨论】:

    标签: stripe-payments


    【解决方案1】:

    您不会使用 Elements 来收集运输信息,而是使用自己的 HTML 表单来完成。

    然后,当您准备好确认付款时,您会将配送信息传递给 Stripe.js:https://stripe.com/docs/js/payment_intents/confirm_card_payment#stripe_confirm_card_payment-data-shipping

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-01-25
      • 2019-10-02
      • 2013-07-09
      • 2015-02-14
      • 1970-01-01
      相关资源
      最近更新 更多