【问题标题】:Can I save multiple cards for one shopper using the BlueSnap Payment API?我可以使用 BlueSnap Payment API 为一位购物者保存多张卡吗?
【发布时间】:2016-06-07 13:49:36
【问题描述】:

我正在使用 vaulted shopper 请求在 BlueSnap 上保管信用卡数据。如何为同一个顾客保管多张卡?它会返回单个令牌还是每张卡返回不同的令牌?

【问题讨论】:

    标签: bluesnap


    【解决方案1】:

    BlueSnap 将卡片存放在购物者下方,并支持每位购物者多张卡片。以下是如何使用两张信用卡为 Shopper 保管的示例:

    <vaulted-shopper xmlns="http://ws.plimus.com">
       <first-name>FirstName</first-name>
       <last-name>LastName</last-name>
       <payment-sources>
          <credit-card-info>
             <credit-card>
                <card-number>4263982640269299</card-number>
                <security-code>837</security-code>
                <expiration-month>02</expiration-month>
                <expiration-year>2018</expiration-year>
             </credit-card>
          </credit-card-info>
          <credit-card-info>
             <credit-card>
                <card-number>374245455400126</card-number>
                <security-code>1234</security-code>
                <expiration-month>05</expiration-month>
                <expiration-year>2017</expiration-year>
             </credit-card>
          </credit-card-info>
       </payment-sources>
    </vaulted-shopper>
    

    请注意,在上面的代码中,credit-card-info 元素有 2 个 credit-card 元素。当使用这个 Vaulted Shopper 进行交易时,您需要通过 card-last-four-digitscard-type 告诉 BlueSnap 使用哪张卡进行特定交易。

    【讨论】:

      猜你喜欢
      • 2018-03-12
      • 1970-01-01
      • 1970-01-01
      • 2017-11-28
      • 2012-11-13
      • 1970-01-01
      • 2016-09-17
      • 1970-01-01
      • 2020-05-06
      相关资源
      最近更新 更多