cancel
Showing results for 
Search instead for 
Did you mean: 

Not sure about dealing with this Error Code on a refund.

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 &lt;strong&gt;validationMode&lt;/strong&gt; to &lt;strong&gt;liveMode&lt;/strong&gt; as these processors do not support authorization reversals. We recommend HSBC and FDI Australia merchants set &lt;strong&gt;validationMode&lt;/strong&gt; to &lt;strong&gt;testMode&lt;/strong&gt; 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?   
bbolt51
Member
1 ACCEPTED SOLUTION

Accepted Solutions

Figured the issue out.  

View solution in original post

bbolt51
Member
2 REPLIES 2

Figured the issue out.  

bbolt51
Member

Please close this issue by clicking the SOLVED by link on your last post   

marine2026
Trusted Contributor