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
Solved! Go to Solution.
06-14-2016 02:10 PM
here the faq. short answer, no. long answer, should be better for the uptime
06-14-2016 03:17 PM
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/">
06-14-2016 02:28 PM
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?
06-14-2016 02:55 PM
here the faq. short answer, no. long answer, should be better for the uptime
06-14-2016 03:17 PM
Very helpful, thanks Raynor!
06-14-2016 03:23 PM