We're using the PHP API (net\authorize\api\contract\v1) and we've been running transactions and at times get no response from Authorize.net. It works the majority of the time, but in a 24 hour period we've had 8 instances of no response.
I initialize the $response var with = null and then after I call for a response it is set by
$this->response = $this->controller->executeWithApiResponse($this->configHandle->getUrl());
Then I test:
if ($this->response != null) { ... } else { // response is NULL $this->returnArray['error'] = true; $this->returnArray['error_code'] = false; }
It's pretty simple so I really don't have an exact error for the failure. I catch this in my PHP processing after the fact.
I have read about others having connection problems, so I'm wondering if we're suffereing from the same thing.
Is Authorize.net aware of a prolem we should know about?
Thanks,
Don
12-14-2016 12:24 PM
Hi Don,
We're not aware of any specific problem, but since you're sending packets across the internet, it's not impossible that one or two of those packets go missing from time to time. Your request is traveling over a bunch of networks that neither you or us have control over. If they drop a packet on the way to Authorize.Net, or a packet is lost on the response's way back, the end result is going to be the same from your perspective: No response to your transaction.
This should be rare, but there's virtually nothing you can do to keep it from happening. What you can do, however, is implement some strategies to minimize any problematic effects.
12-16-2016 01:37 PM