我正在使用他们的支付API与BlueSnap集成,并希望为每笔交易分配我自己的交易ID。BlueSnap可以做到这一点吗?
是的
BlueSnap 支持为每笔交易分配商家特定的交易 ID。
为此,您需要在card-transaction
元素中包含 merchant-transaction-id
元素。
例如:
<card-transaction xmlns="http://ws.plimus.com">
<card-transaction-type>AUTH_CAPTURE</card-transaction-type>
<merchant-transaction-id>myUniqueMerchantTransactionId</merchant-transaction-id>
<recurring-transaction>ECOMMERCE</recurring-transaction>
<soft-descriptor>DescTest</soft-descriptor>
<amount>11.00</amount>
<currency>USD</currency>
<card-holder-info>
<first-name>test first name</first-name>
<last-name>test last name</last-name>
</card-holder-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>
</card-transaction>
您还可以在此处的文档中看到:http://developers.bluesnap.com/v2.0/docs/auth-capture#section-auth-capture-with-merchant-transaction-id