06-21-2018 01:28 AM
Can you add more detail about the original transaction?
What fields did you submit with it?
06-21-2018 03:53 PM
I am already found an issue.
There is wrong documentation for Refund Transaction section in API.
If you are using Card-Present, you have also include "retail" element as in capture transactions.
But in API docs and samples this is absent.
Thanks
06-22-2018 02:52 AM
I am having the same error, implemented the solution you suggest, but still getting the same error.
Here is the XML of my request:
<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<createTransactionRequest xmlns=\"AnetApi/xml/v1/schema/AnetApiSchema.xsd\">\n<merchantAuthentication>\n<name>55hrBV6y45t</name>\n<transactionKey>*********/transactionKey>\n</merchantAuthentication>\n<transactionRequest>\n<transactionType>refundTransaction</transactionType>\n<amount>3.00</amount>\n<payment>\n<creditCard>\n<cardNumber>3215</cardNumber>\n<expirationDate>XXXX</expirationDate>\n</creditCard>\n</payment>\n<refTransId>40927146067</refTransId>\n<order>\n<invoiceNumber>273985</invoiceNumber>\n<description/>\n</order>\n<customer/>\n<billTo>\n<address/>\n<city/>\n<state>n/a</state>\n<zip/>\n<country/>\n</billTo>\n<cardholderAuthentication>\n<authenticationIndicator/>\n<cardholderAuthenticationValue/>\n</cardholderAuthentication>\n<retail>\n<marketType>2</marketType>\n</retail>\n<userFields>\n<userField>\n<name>x_currency_code</name>\n<value>USD</value>\n</userField>\n</userFields>\n</transactionRequest>\n</createTransactionRequest>\n"
I get back this error:
"Transactions of this market type cannot be processed on this system"
I tried passing a 1 in as the market type too but same error message.
Any ideas?
Thanks,
Kurt
09-08-2018 02:25 PM