In the sandbox testing that i did with the api Refund Transaction I apply this code:
<createTransactionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd">
<merchantAuthentication>
<name>736wH2t3XXX</name>
<transactionKey>942pV3HXXXX</transactionKey>
</merchantAuthentication><refId>851112</refId>
<transactionRequest>
<transactionType>refundTransaction</transactionType>
<amount>51.94</amount>
<currencyCode>USD</currencyCode>
<payment>
<creditCard>
<cardNumber>0012</cardNumber>
<expirationDate>XXXX</expirationDate>
</creditCard>
</payment>
<refTransId>80000323511</refTransId>
<order>
<invoiceNumber>45891</invoiceNumber>
<description>Qty 1</description>
</order><lineItems><lineItem>
<itemId>24496</itemId>
<name>ProductDesc332965</name>
<description></description>
<quantity>1</quantity>
<unitPrice>49.00</unitPrice>
<taxable>true</taxable>
</lineItem></lineItems><tax>
<amount>2.94</amount>
</tax></transactionRequest></createTransactionRequest>
with the sandbox in live mode it will not work.. I get E00027 - 54 with this error response:
This error may occur for merchants on the HSBC or FDI Australia processors when setting <strong>validationMode</strong> to <strong>liveMode</strong> as these processors do not support authorization reversals. We recommend HSBC and FDI Australia merchants set <strong>validationMode</strong> to <strong>testMode</strong> instead
so I switch live to test on the sandbox and it processes the code just fine, but it is not recorded in the sandbox
Well what i am trying do is post the refund and then read the sandbox to give feedback to the user that it was accepted on all the Item's returned. if it is not stored I can't really test the code
What am i doing wrong? or if this is a Auth bug then how do i get around this. Thanks for the help.
HSBC and FDI Australia Merchants causes the problem?