Authorize.Net Recurring

Instantiate Recurring
$recurring = eden('authorizenet')->recurring('[API_LOGIN]', '[TRANSACTION_KEY]');
Recurring Methods
Method Arguments Returns Description
$recurring->create(); none array Create Authomated Recurring subscription account
$recurring->remove(); none array Remove Authomated Recurring subscription account
$recurring->setAccountNumber($accountNumber);
  1. *string
Eden_Authorizenet_Recurring Set account number
$recurring->setAccountType($accountType);
  1. *string
Eden_Authorizenet_Recurring Set account type
$recurring->setAmount($amount); none Eden_Authorizenet_Recurring Set amount
$recurring->setBank($bankName);
  1. *string
Eden_Authorizenet_Recurring Set bank name
$recurring->setBillingAddress($address);
  1. *string
Eden_Authorizenet_Recurring Set Billing address
$recurring->setBillingCity($city);
  1. *string
Eden_Authorizenet_Recurring Set Billing city
$recurring->setBillingCompany($company);
  1. *string
Eden_Authorizenet_Recurring Set Billing company
$recurring->setBillingFirstName($name);
  1. *string
Eden_Authorizenet_Recurring Set Billing first name
$recurring->seBillingtLastName($name);
  1. *string
Eden_Authorizenet_Recurring Set Billing last name
$recurring->setBillingState($state);
  1. *state
Eden_Authorizenet_Recurring Set Billing city
$recurring->setBillingZip($zip);
  1. *zip
Eden_Authorizenet_Recurring Set Billing city
$recurring->setCardNumber($cardNumber);
  1. *string
Eden_Authorizenet_Recurring Set card Number
$recurring->setCustomerEmail($email);
  1. *string
Eden_Authorizenet_Recurring Set customer email
$recurring->setCustomerFax($fax);
  1. *string
Eden_Authorizenet_Recurring Set customer fax number
$recurring->setCustomerId($id);
  1. *string
Eden_Authorizenet_Recurring Set customer id
$recurring->setCustomerPhone($phone);
  1. *string
Eden_Authorizenet_Recurring Set customer phone number
$recurring->setDate($date); none Eden_Authorizenet_Recurring Set start date
$recurring->setECheck(); none Eden_Authorizenet_Recurring Set echeck
$recurring->setExpiration($expirationDate);
  1. *string
Eden_Authorizenet_Recurring Set expiration Date
$recurring->setIntervalLength($length); none Eden_Authorizenet_Recurring The measurement of time, in association with the Interval Unit, that is used to define the frequency of the billing occurrences. If the Interval Unit is "months," can be any number between one (1) and 12. If the Interval Unit is "days," can be any number between seven (7) and 365.
$recurring->setNameOnAccount($nameOnAccount);
  1. *string
Eden_Authorizenet_Recurring Set name on account
$recurring->setOrderDescription($description);
  1. *string
Eden_Authorizenet_Recurring Set order invoice number
$recurring->setOrderInvoiceNumber($order);
  1. *integer
Eden_Authorizenet_Recurring Set order invoice number
$recurring->setRoutingNumber($routingNumber);
  1. *string
Eden_Authorizenet_Recurring Set routing number
$recurring->setShippingAddress($address);
  1. *string
Eden_Authorizenet_Recurring Set shipping address
$recurring->setShippingCity($city);
  1. *string
Eden_Authorizenet_Recurring Set shipping city
$recurring->setShippingCompany($company);
  1. *string
Eden_Authorizenet_Recurring Set shipping company
$recurring->setShippingFirstName($firstName);
  1. *string
Eden_Authorizenet_Recurring Set shipping first name
$recurring->setShippingLastName($lastName);
  1. *string
Eden_Authorizenet_Recurring Set shipping last name
$recurring->setShippingState($state);
  1. *string
Eden_Authorizenet_Recurring Set shipping state
$recurring->setShippingZip($zip);
  1. *string
Eden_Authorizenet_Recurring Set shipping zip
$recurring->setSubscriptionId($id);
  1. *string
Eden_Authorizenet_Recurring Set subscription id
$recurring->setSubscriptionName($name); none Eden_Authorizenet_Recurring Set subscription name
$recurring->setToDays(); none Eden_Authorizenet_Recurring Set interval unit to days
$recurring->setToMonths(); none Eden_Authorizenet_Recurring Set interval unit to months
$recurring->setTotalOccurrences($total); none Eden_Authorizenet_Recurring Number of billing occurrences or payments for the subscription. To submit a subscription with no end date (an ongoing subscription), this field must be submitted with a value of “9999.” If a trial period is specified, this number should include the Trial Occurrences.
$recurring->setToYears(); none Eden_Authorizenet_Recurring Set interval unit to years
$recurring->setTrialOccurrences($trial); none Eden_Authorizenet_Recurring Number of billing occurrences or payments in the trial period. If a trial period is specified, this number must be included in the Total Occurrences.
$recurring->setTrialAmount($amount); none Eden_Authorizenet_Recurring Set trial amount
$recurring->update(); none array Update Authomated Recurring subscription account

© 2012 Openovate Labs. All rights reserved.