如果我使用直接Stripe集成的Shopify(不是zdhopify支付),如何从Shopify webhook获取Stripe费用ID?

时间:2014-06-13 18:45:46

标签: shopify stripe-payments

我调查了Shopify api,我无法找到以下信息: 我可以用来从条纹中获取CC电荷的ID。

我们正在尝试将Stripe用于延期交货情况,因此在通过Shopify对Stripe授权信用卡后,我们希望获得Stripe费用ID,以便我们稍后可以直接通过Stripe向其收费。我们通过支付网关(而不是Shopify付款)直接与Stripe集成。

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

2 个答案:

答案 0 :(得分:0)

根据文档,没有像这样的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.

答案 1 :(得分:0)

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

来自Shopify API文档:

  

交易属性

     

<强>授权
  与事务关联的授权代码。

     

<强>网关
  通过发布交易的网关的名称。

     

<强> ID
  事务的唯一数字标识符。

     

<强>样
  交易类型:授权,捕获,销售,无效,退款