【问题标题】:how can I get Stripe charge id from a Shopify webhook if I am using Shopify with direct Stripe integration (not zdhopify payments)?如果我将 Shopify 与直接 Stripe 集成(不是 zdhopify 付款)一起使用,如何从 Shopify webhook 获取 Stripe 费用 ID?
【发布时间】:2014-06-13 18:45:45
【问题描述】:

我调查了 Shopify api,但找不到以下信息: 我可以用来从 Stripe 获取 CC 费用的 id。

我们正在尝试将 Stripe 用于延期交货的情况,因此在通过 Shopify 在 Stripe 上授权信用卡后,我们希望有一个 Stripe 收费 ID,以便我们以后可以直接通过 Stripe 收费。我们通过支付网关(不是 Shopify 支付)使用与 Stripe 的直接集成。

Shopify 在授权卡时向 Stripe 发送请求后是否可以获得 Stripe 费用 ID?

【问题讨论】:

    标签: shopify stripe-payments


    【解决方案1】:

    根据文档,不可能有这样的 ID...如果您有其他感觉,那就太好了!

    payment_details
    { "avs_result_code" : "null" }
    { "credit_card_bin" : "null" }
    { "cvv_result_code" : "null" }
    { "credit_card_number" : "•••• •••• •••• 4242" }
    { "credit_card_company" : "Visa" }
    An object containing information about the payment. It has the following properties:
    
    avs_result_code: The Response code from AVS the address verification system. The code is a single letter; see this chart for the codes and their definitions.
    credit_card_bin: The issuer identification number (IIN), formerly known as bank identification number (BIN) ] of the customer's credit card. This is made up of the first few digits of the credit card number.
    credit_card_company: The name of the company who issued the customer's credit card.
    credit_card_number: The customer's credit card number, with most of the leading digits redacted with Xs.
    cvv_result_code: The Response code from the credit card company indicating whether the customer entered the card security code, a.k.a. card verification value, correctly. The code is a single letter or empty string; see this chart for the codes and their definitions.
    

    【讨论】:

      【解决方案2】:

      也许Transaction 包含您要查找的内容?

      来自 Shopify API 文档:

      事务属性

      授权
      与交易关联的授权码。

      网关
      发出交易的网关的名称。

      id
      交易的唯一数字标识符。

      亲切
      交易种类:授权、捕获、出售、作废、退款

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2022-11-07
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2017-08-01
        • 2021-02-26
        • 2018-02-18
        相关资源
        最近更新 更多