cancel
Showing results for 
Search instead for 
Did you mean: 

Issues upgrading to API2

Hello All,

 

We use a bit of an antiquated system for charging.  We use SOAP via cURL.  

 

I'm working on updating our API from:

https://api.authorize.net/soap/v1/Service.asmx

TO 

https://api2.authorize.net/soap/v1/Service.asmx

 

I thought this would be a simple change, put a number 2 in the URL. :)

 

However, when testing this I'm not able to get a response back using the api2 URL.

 

Below is a screen shot showing two different transactions.  The top section has our current api.authorize.net API call which is successful.  The bottom section has the api2.authorize.net change which was unsuccessful, error 500.  

 

Any help on this would be appriciated.

 

Thanks!

-Will

 

API DIfference

willm
Member
1 ACCEPTED SOLUTION

Accepted Solutions
4 REPLIES 4

https://api2.authorize.net/soap/v1/Service.asmx?op=CreateCustomerProfile

not sure if it make any different but it show

<CreateCustomerProfile xmlns="https://api.authorize.net/soap/v1/">
RaynorC1emen7
Expert

Thanks Raynor.

 

I changed my call to:

curl_command: c:\sesame\curl.exe -s -H "Content-Type: text/xml; charset=utf-8" -H "SOAPAction:" --insecure  -d @- -X POST "https://api2.authorize.net/soap/v1/Service.asmx"

xml_request: <?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <soap:Body>
	<CreateCustomerProfileTransaction xmlns="https://api.authorize.net/soap/v1/">
	<merchantAuthentication>
		<name>7J45wEfd3a</name>
		<transactionKey>5T24v4z9neFq2J47</transactionKey>
	</merchantAuthentication>
   <transaction>
<profileTransPriorAuthCapture>
		<amount>0.5000</amount>
		<transId>20011032823</transId>
</profileTransPriorAuthCapture>
		</transaction>
	</CreateCustomerProfileTransaction>
	</soap:Body>
</soap:Envelope>

This worked, thank you.  

 

So do I really need to update our API to api2.authorize.net?  

here the faq. short answer, no. long answer, should be better for the uptime

https://community.developer.authorize.net/t5/The-Authorize-Net-Developer-Blog/Akamai-SureRoute-Techn...

Very helpful, thanks Raynor!