<?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 Re: inegration of authorize.net with salesforce in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/inegration-of-authorize-net-with-salesforce/m-p/15310#M8734</link>
    <description>&lt;P&gt;Sound like your are trying to use test account loginID and TransactionKey to the production server.&lt;/P&gt;&lt;P&gt;Change your post location to the test server &lt;A href="https://apitest.authorize.net/soap/v1/Service.asmx" target="_blank"&gt;https://apitest.authorize.net/soap/v1/Service.asmx&lt;/A&gt; ﻿&lt;/P&gt;</description>
    <pubDate>Wed, 27 Jul 2011 12:24:26 GMT</pubDate>
    <dc:creator>RaynorC1emen7</dc:creator>
    <dc:date>2011-07-27T12:24:26Z</dc:date>
    <item>
      <title>inegration of authorize.net with salesforce</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/inegration-of-authorize-net-with-salesforce/m-p/15308#M8733</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;i write a following class in salesforce for integration of salesforce with authorize.net.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Public class callExternalWS&lt;/P&gt;&lt;P&gt;&amp;nbsp;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; public void invokeExternalWs() &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; HttpRequest req = new HttpRequest();&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;req.setMethod('POST');&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;req.setEndpoint('&lt;A href="https://api.authorize.net/soap/v1/Service.asmx');" target="_blank"&gt;https://api.authorize.net/soap/v1/Service.asmx');&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;req.setHeader('Content-Type', 'text/xml; charset=utf-8');&lt;/P&gt;&lt;P&gt;&amp;nbsp;req.setHeader('SOAPAction', '&lt;A href="https://api.authorize.net/soap/v1/CreateCustomerProfile');" target="_blank"&gt;https://api.authorize.net/soap/v1/CreateCustomerProfile');&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;string b ='&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&amp;lt;soap:Envelope xmlns:soap="&lt;A href="http://schemas.xmlsoap.org/soap/envelope/" target="_blank"&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/A&gt;" xmlns:xsi="&lt;A href="http://www.w3.org/2001/XMLSchema-instance" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;" xmlns:xsd="&lt;A href="http://www.w3.org/2001/XMLSchema" target="_blank"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;"&amp;gt;&amp;lt;soap:Body&amp;gt;&amp;lt;CreateCustomerProfile xmlns="&lt;A href="https://api.authorize.net/soap/v1/" target="_blank"&gt;https://api.authorize.net/soap/v1/&lt;/A&gt;"&amp;gt;&amp;lt;merchantAuthentication&amp;gt;&amp;lt;name&amp;gt;4eU6Z2uy&amp;lt;/name&amp;gt;&amp;lt;transactionKey&amp;gt;74kZnM38y6PCz2x7&amp;lt;/transactionKey&amp;gt;&amp;lt;/merchantAuthentication&amp;gt;&amp;lt;profile&amp;gt;&amp;lt;merchantCustomerId&amp;gt;98765421&amp;lt;/merchantCustomerId&amp;gt;&amp;lt;description&amp;gt;sample merchant&amp;lt;/description&amp;gt;&amp;lt;email&amp;gt;sravni_g@dskvap.com&amp;lt;/email&amp;gt;&amp;lt;paymentProfiles&amp;gt;&amp;lt;CustomerPaymentProfileType&amp;gt;&amp;lt;customerType&amp;gt;individual&amp;lt;/customerType&amp;gt;&amp;lt;payment&amp;gt;&amp;lt;creditCard&amp;gt;&amp;lt;cardNumber&amp;gt;6011000000000012&amp;lt;/cardNumber&amp;gt;&amp;lt;expirationDate&amp;gt;2012-12&amp;lt;/expirationDate&amp;gt;&amp;lt;/creditCard&amp;gt;&amp;lt;/payment&amp;gt;&amp;lt;/CustomerPaymentProfileType&amp;gt;&amp;lt;/paymentProfiles&amp;gt;&amp;lt;/profile&amp;gt;&amp;lt;/CreateCustomerProfile&amp;gt;&amp;lt;/soap:Body&amp;gt;&amp;lt;/soap:Envelope&amp;gt;';&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;req.setBody(b);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Http http = new Http(); &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; try { &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;HTTPResponse res = http.send(req); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;System.debug(res.toString());&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.debug('STATUS:'+res.getStatus()); &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.debug('STATUS_CODE:'+res.getStatusCode());&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.debug('response:'+res.getBody()); &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/P&gt;&lt;P&gt;catch(System.CalloutException e)&lt;/P&gt;&lt;P&gt;{ &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; } &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; } &amp;nbsp;}﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;﻿&lt;/P&gt;&lt;P&gt;i got a response message like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&amp;lt;soap:Envelope xmlns:soap="&lt;A href="http://schemas.xmlsoap.org/soap/envelope/" target="_blank"&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/A&gt;" xmlns:xsi="&lt;A href="http://www.w3.org/2001/XMLSchema-instance" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;" xmlns:xsd="&lt;A href="http://www.w3.org/2001/XMLSchema" target="_blank"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;"&amp;gt;&amp;lt;soap:Body&amp;gt;&amp;lt;CreateCustomerProfileResponse xmlns="&lt;A href="https://api.authorize.net/soap/v1/" target="_blank"&gt;https://api.authorize.net/soap/v1/&lt;/A&gt;"&amp;gt;&amp;lt;CreateCustomerProfileResult&amp;gt;&amp;lt;resultCode&amp;gt;Error&amp;lt;/resultCode&amp;gt;&amp;lt;messages&amp;gt;&amp;lt;MessagesTypeMessage&amp;gt;&amp;lt;code&amp;gt;E00007&amp;lt;/code&amp;gt;&amp;lt;text&amp;gt;User authentication failed due to invalid authentication values.&amp;lt;/text&amp;gt;&amp;lt;/MessagesTypeMessage&amp;gt;&amp;lt;/messages&amp;gt;&amp;lt;customerProfileId&amp;gt;0&amp;lt;/customerProfileId&amp;gt;&amp;lt;/CreateCustomerProfileResult&amp;gt;&amp;lt;/CreateCustomerProfileResponse&amp;gt;&amp;lt;/soap:Body&amp;gt;&amp;lt;/soap:Envelope&amp;gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how to fix this one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;can any one help me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2011 12:09:24 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/inegration-of-authorize-net-with-salesforce/m-p/15308#M8733</guid>
      <dc:creator>sravani</dc:creator>
      <dc:date>2011-07-27T12:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: inegration of authorize.net with salesforce</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/inegration-of-authorize-net-with-salesforce/m-p/15310#M8734</link>
      <description>&lt;P&gt;Sound like your are trying to use test account loginID and TransactionKey to the production server.&lt;/P&gt;&lt;P&gt;Change your post location to the test server &lt;A href="https://apitest.authorize.net/soap/v1/Service.asmx" target="_blank"&gt;https://apitest.authorize.net/soap/v1/Service.asmx&lt;/A&gt; ﻿&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2011 12:24:26 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/inegration-of-authorize-net-with-salesforce/m-p/15310#M8734</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2011-07-27T12:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: inegration of authorize.net with salesforce</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/inegration-of-authorize-net-with-salesforce/m-p/15312#M8735</link>
      <description>&lt;P&gt;thank u for ur reply&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2011 13:12:31 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/inegration-of-authorize-net-with-salesforce/m-p/15312#M8735</guid>
      <dc:creator>sravani</dc:creator>
      <dc:date>2011-07-27T13:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: inegration of authorize.net with salesforce</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/inegration-of-authorize-net-with-salesforce/m-p/32519#M17074</link>
      <description>&lt;P&gt;Can anyone guide me up in integration of authroize.net with salesforce.I have created an Merchant account in authorize.net.Need Guidance in integration with salesforce&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Atif.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2013 07:50:20 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/inegration-of-authorize-net-with-salesforce/m-p/32519#M17074</guid>
      <dc:creator>Atif</dc:creator>
      <dc:date>2013-01-16T07:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: inegration of authorize.net with salesforce</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/inegration-of-authorize-net-with-salesforce/m-p/34514#M18958</link>
      <description>&lt;P&gt;Hi Sravani,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;from where you are providing amount and user information in this implement. Can you provide the code to implement?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jun 2013 09:31:08 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/inegration-of-authorize-net-with-salesforce/m-p/34514#M18958</guid>
      <dc:creator>reddy7799</dc:creator>
      <dc:date>2013-06-06T09:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: inegration of authorize.net with salesforce</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/inegration-of-authorize-net-with-salesforce/m-p/71873#M44305</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi I did integration with authorize.net but using XML not soap if you want help on XML way than I can. And what error you getting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And I saw in your code you have setheader&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;req.setHeader('Content-Type', 'text/xml; charset=utf-8');&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;instead of&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;req.setHeader('Content-Type', 'application/soap+xml charset=utf-8');&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Below is the link which help you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A href="http://api.authorize.net/soap/vi/Service.asmx?op=ARBUpdateSubscription" target="_blank" rel="noopener"&gt;api.authorize.net/soap/vi/Service.asmx?op=ARBUpdateSubscription&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please mark as solution if it helps you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 May 2020 20:20:47 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/inegration-of-authorize-net-with-salesforce/m-p/71873#M44305</guid>
      <dc:creator>sjddota</dc:creator>
      <dc:date>2020-05-08T20:20:47Z</dc:date>
    </item>
  </channel>
</rss>

