【发布时间】:2016-06-07 13:49:36
【问题描述】:
我正在使用 vaulted shopper 请求在 BlueSnap 上保管信用卡数据。如何为同一个顾客保管多张卡?它会返回单个令牌还是每张卡返回不同的令牌?
【问题讨论】:
标签: bluesnap
我正在使用 vaulted shopper 请求在 BlueSnap 上保管信用卡数据。如何为同一个顾客保管多张卡?它会返回单个令牌还是每张卡返回不同的令牌?
【问题讨论】:
标签: bluesnap
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-digits 和 card-type 告诉 BlueSnap 使用哪张卡进行特定交易。
【讨论】: