Reply
Highlighted
Member
Posts: 3
Registered: ‎11-13-2018

Empty response object for AuthorizeNetARB_Response Object

I started getting these recently.

I saw the problems with the cert.pem in '15, and I've updated it.  no luck.

 

This was working code, so it looks like it's a cert problem, but I have to solution.  Any ideas?  thanks,

 

AuthorizeNetARB_Response Object
(
[xml] =>
[response] =>
)

Highlighted
Member
Posts: 3
Registered: ‎11-13-2018

Re: Empty response object for AuthorizeNetARB_Response Object


// Create the subscription.
$request = new AuthorizeNetARB;
$response = $request->createSubscription($subscription);
$subscription_id = $response->getSubscriptionId();

 

$out = array(
'message' => "done",
'subscriptionid' => $subscription_id,
'messagecode'=>$response->getMessageCode(),
'messagetext'=>$response->getMessageText(),
'refid'=>$response->getRefId(),
'resultcode'=>$response->getResultCode()
);

 

 

Highlighted
Member
Posts: 3
Registered: ‎11-13-2018

Re: Empty response object for AuthorizeNetARB_Response Object

any updates?