Hi
I have intergrate ARB method
// Load the library file.
$path = authnet_sdk_path('autoload.php');
define("AUTHORIZENET_API_LOGIN_ID", $loginID);
define("AUTHORIZENET_TRANSACTION_KEY", $transactionKey);
$subscription = new AuthorizeNet_Subscription;
$subscription->name = $user->name;
$subscription->intervalLength = $intervalLength;
$subscription->intervalUnit = $intervalUnit;
$subscription->startDate = $startDate;
$subscription->totalOccurrences = "9999"; //"12";
$subscription->amount = $amount;
$subscription->creditCardCardNumber = $card_num; //"6011000000000012";
$subscription->creditCardExpirationDate= $exp_date;
$subscription->creditCardCardCode = $cardcode;
$subscription->billToFirstName = $first_name;
$subscription->billToLastName = $last_name;
// Create the subscription.
$request = new AuthorizeNetARB;
$responseSb = $request->createSubscription($subscription);
r($responseSb);
OUTPUT >>
AuthorizeNetARB_Response Object ( [xml] => [response] => )
I have unable create to Subscription and no error found.
please give me solution,
10-13-2015 05:54 AM
Please following the instructions in the thread below to provide information to further troubleshoot this issue.
Richard
10-14-2015 06:12 PM