<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Unable to process refundTransaction. in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Unable-to-process-refundTransaction/m-p/61189#M35679</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to perform&amp;nbsp;refundTransaction with the below request.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="https://api.authorize.net/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;&amp;lt;soapenv:Body&amp;gt;&amp;lt;createTransactionRequest &amp;gt;&amp;lt;merchantAuthentication&amp;gt;&amp;lt;name&amp;gt;NAME&amp;lt;/name&amp;gt;&amp;lt;transactionKey&amp;gt;KEY&amp;lt;/transactionKey&amp;gt;&amp;lt;/merchantAuthentication&amp;gt;&amp;lt;refId&amp;gt;123456&amp;lt;/refId&amp;gt;&amp;lt;transactionRequest&amp;gt;&amp;lt;transactionType&amp;gt;refundTransaction&amp;lt;/transactionType&amp;gt;&amp;lt;amount&amp;gt;5.00&amp;lt;/amount&amp;gt;&amp;lt;payment&amp;gt;&amp;lt;creditCard&amp;gt;&amp;lt;cardNumber&amp;gt;1111&amp;lt;/cardNumber&amp;gt;&amp;lt;expirationDate&amp;gt;2018-12&amp;lt;/expirationDate&amp;gt;&amp;lt;/creditCard&amp;gt;&amp;lt;/payment&amp;gt;&amp;lt;refTransId&amp;gt;40009461284&amp;lt;/refTransId&amp;gt;&amp;lt;/transactionRequest&amp;gt;&amp;lt;/createTransactionRequest&amp;gt;&amp;lt;/soapenv:Body&amp;gt;&amp;lt;/soapenv:Envelope&amp;gt; &lt;/PRE&gt;&lt;P&gt;and I'm getting the following as response&lt;/P&gt;&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&amp;lt;ErrorResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;&amp;lt;messages&amp;gt;&amp;lt;resultCode&amp;gt;Error&amp;lt;/resultCode&amp;gt;&amp;lt;message&amp;gt;&amp;lt;code&amp;gt;E00004&amp;lt;/code&amp;gt;&amp;lt;text&amp;gt;The name of the requested API method is invalid.&amp;lt;/text&amp;gt;&amp;lt;/message&amp;gt;&amp;lt;/messages&amp;gt;&amp;lt;/ErrorResponse&amp;gt;&lt;/PRE&gt;&lt;P&gt;could you all please help me where I'm doing it wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;P&gt;Mohammed Uzair&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jan 2018 14:49:24 GMT</pubDate>
    <dc:creator>mohduzairauth</dc:creator>
    <dc:date>2018-01-11T14:49:24Z</dc:date>
    <item>
      <title>Unable to process refundTransaction.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Unable-to-process-refundTransaction/m-p/61189#M35679</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to perform&amp;nbsp;refundTransaction with the below request.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="https://api.authorize.net/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;&amp;lt;soapenv:Body&amp;gt;&amp;lt;createTransactionRequest &amp;gt;&amp;lt;merchantAuthentication&amp;gt;&amp;lt;name&amp;gt;NAME&amp;lt;/name&amp;gt;&amp;lt;transactionKey&amp;gt;KEY&amp;lt;/transactionKey&amp;gt;&amp;lt;/merchantAuthentication&amp;gt;&amp;lt;refId&amp;gt;123456&amp;lt;/refId&amp;gt;&amp;lt;transactionRequest&amp;gt;&amp;lt;transactionType&amp;gt;refundTransaction&amp;lt;/transactionType&amp;gt;&amp;lt;amount&amp;gt;5.00&amp;lt;/amount&amp;gt;&amp;lt;payment&amp;gt;&amp;lt;creditCard&amp;gt;&amp;lt;cardNumber&amp;gt;1111&amp;lt;/cardNumber&amp;gt;&amp;lt;expirationDate&amp;gt;2018-12&amp;lt;/expirationDate&amp;gt;&amp;lt;/creditCard&amp;gt;&amp;lt;/payment&amp;gt;&amp;lt;refTransId&amp;gt;40009461284&amp;lt;/refTransId&amp;gt;&amp;lt;/transactionRequest&amp;gt;&amp;lt;/createTransactionRequest&amp;gt;&amp;lt;/soapenv:Body&amp;gt;&amp;lt;/soapenv:Envelope&amp;gt; &lt;/PRE&gt;&lt;P&gt;and I'm getting the following as response&lt;/P&gt;&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&amp;lt;ErrorResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;&amp;lt;messages&amp;gt;&amp;lt;resultCode&amp;gt;Error&amp;lt;/resultCode&amp;gt;&amp;lt;message&amp;gt;&amp;lt;code&amp;gt;E00004&amp;lt;/code&amp;gt;&amp;lt;text&amp;gt;The name of the requested API method is invalid.&amp;lt;/text&amp;gt;&amp;lt;/message&amp;gt;&amp;lt;/messages&amp;gt;&amp;lt;/ErrorResponse&amp;gt;&lt;/PRE&gt;&lt;P&gt;could you all please help me where I'm doing it wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;P&gt;Mohammed Uzair&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2018 14:49:24 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Unable-to-process-refundTransaction/m-p/61189#M35679</guid>
      <dc:creator>mohduzairauth</dc:creator>
      <dc:date>2018-01-11T14:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to process refundTransaction.</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Unable-to-process-refundTransaction/m-p/61190#M35680</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've found out the issue. The issue is with xml&amp;nbsp;&lt;SPAN&gt;START_ELEMENT.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Below&amp;nbsp;is the working code&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;String soapXML  = '&amp;lt;?xml version="1.0" ?&amp;gt;';
        soapXML += '&amp;lt;createTransactionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;';
            soapXML += '&amp;lt;merchantAuthentication&amp;gt;';
                soapXML += '&amp;lt;name&amp;gt;Name&amp;lt;/name&amp;gt;';
                soapXML += '&amp;lt;transactionKey&amp;gt;Key&amp;lt;/transactionKey&amp;gt;';
            soapXML += '&amp;lt;/merchantAuthentication&amp;gt;';
            soapXML += '&amp;lt;refId&amp;gt;123456&amp;lt;/refId&amp;gt;';
            soapXML += '&amp;lt;transactionRequest&amp;gt;';
                soapXML += '&amp;lt;transactionType&amp;gt;refundTransaction&amp;lt;/transactionType&amp;gt;';
                soapXML += '&amp;lt;amount&amp;gt;5.00&amp;lt;/amount&amp;gt;';
                soapXML += '&amp;lt;payment&amp;gt;';
                    soapXML += '&amp;lt;creditCard&amp;gt;';
                        soapXML += '&amp;lt;cardNumber&amp;gt;1111&amp;lt;/cardNumber&amp;gt;';
                        soapXML += '&amp;lt;expirationDate&amp;gt;'+ expDate +'&amp;lt;/expirationDate&amp;gt;';
                    soapXML += '&amp;lt;/creditCard&amp;gt;';
                soapXML += '&amp;lt;/payment&amp;gt;';
                soapXML += '&amp;lt;refTransId&amp;gt;40009461284&amp;lt;/refTransId&amp;gt;';
            soapXML += '&amp;lt;/transactionRequest&amp;gt;';
        soapXML += '&amp;lt;/createTransactionRequest&amp;gt;';&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Jan 2018 15:39:05 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Unable-to-process-refundTransaction/m-p/61190#M35680</guid>
      <dc:creator>mohduzairauth</dc:creator>
      <dc:date>2018-01-11T15:39:05Z</dc:date>
    </item>
  </channel>
</rss>

