QBMS退款字段CreditCardTransID无效

时间:2014-08-29 15:58:09

标签: xml coldfusion-9 quickbooks qbxml

我正在使用QBMS付款 https://developer-static.intuit.com/qbSDK-current/Common/newOSR/index.html

我正面临退款api的问题。 CustomerCreditCardTxnVoidOrRefundRq 它总是给我错误: 字段CreditCardTransID无效。

这是我的请求的样子

<CustomerCreditCardTxnVoidOrRefundRq>
        <TransRequestID>#attributes.transID#</TransRequestID>
        <CreditCardTransID>#attributes.authID#</CreditCardTransID>
        <Amount>#attributes.amount#</Amount>
        <ForceRefund>true</ForceRefund>
</CustomerCreditCardTxnVoidOrRefundRq>

但我正在将此字段映射到我付款时收到的回复 CustomerCreditCardChargeRq

<CustomerCreditCardChargeRs statusCode="INTTYPE" statusSeverity="STRTYPE" statusMessage="STRTYPE">
        <CreditCardTransID >STRTYPE</CreditCardTransID> <!-- optional -->
        <AuthorizationCode >STRTYPE</AuthorizationCode> <!-- optional -->
        <!-- AVSStreet may have one of the following values: Pass, Fail, NotAvailable -->
        <AVSStreet >ENUMTYPE</AVSStreet> <!-- optional -->
        <!-- AVSZip may have one of the following values: Pass, Fail, NotAvailable -->
        <AVSZip >ENUMTYPE</AVSZip> <!-- optional -->
        <!-- CardSecurityCodeMatch may have one of the following values: Pass, Fail, NotAvailable -->
        <CardSecurityCodeMatch >ENUMTYPE</CardSecurityCodeMatch> <!-- optional -->
        <MerchantAccountNumber >STRTYPE</MerchantAccountNumber> <!-- optional -->
        <ReconBatchID >STRTYPE</ReconBatchID> <!-- optional -->
        <PaymentGroupingCode >INTTYPE</PaymentGroupingCode> <!-- optional -->
        <!-- PaymentStatus may have one of the following values: Unknown, Completed -->
        <PaymentStatus >ENUMTYPE</PaymentStatus> <!-- optional -->
        <TxnAuthorizationTime >DATETIMETYPE</TxnAuthorizationTime> <!-- optional -->
        <TxnAuthorizationStamp >INTTYPE</TxnAuthorizationStamp> <!-- optional -->
        <ClientTransID >STRTYPE</ClientTransID> <!-- optional -->
</CustomerCreditCardChargeRs>

任何帮助表示赞赏!

由于

0 个答案:

没有答案