Paypal Recurring

Instantiate Recurring
$recurring = eden('paypal')->recurring('[API_USERNAME]', '[API_PASSWORD]', '[API_SIGNATURE]');
Recurring Methods
Method Arguments Returns Description
$recurring->cancel(); none Eden_Paypal_Recurring The action to be performed to the recurring payments profile set to Cancel
$recurring->getBilling(); none string Bills the buyer for the outstanding balance associated with a recurring payments profile..
$recurring->getResponse(); none string Create a recurring payments profile using direct payment associated with a debit or credit card.
$recurring->getStatus(); none string Cancels, suspends, or reactivates a recurring payments profile.
$recurring->reactivate(); none Eden_Paypal_Recurring The action to be performed to the recurring payments profile set to Reactivate
$recurring->setAmount($amount);
  1. integer
  2. - or float Item amount
Eden_Paypal_Recurring Set item amount
$recurring->setBillingFrequency($billingFrequency);
  1. integer Billing
  2. - frequency
Eden_Paypal_Recurring Set the billing frequency
$recurring->setCardNumber($cardNumber);
  1. string Credit
  2. - card number
Eden_Paypal_Recurring Set credit card number
$recurring->setCardType($cardType);
  1. string Credit
  2. - card type
Eden_Paypal_Recurring Set credit card type
$recurring->setCity($city);
  1. string City
Eden_Paypal_Recurring Set cardholder city
$recurring->setCountryCode($countryCode);
  1. string Country
  2. - Code
Eden_Paypal_Recurring Set cardholder country code
$recurring->setCurrency($currency);
  1. string Currency
  2. - code
Eden_Paypal_Recurring Set currency code
$recurring->setCvv2($cvv2);
  1. string 3
  2. - - digit cvv number
Eden_Paypal_Recurring Set Card Verification Value
$recurring->setDay(); none Eden_Paypal_Recurring Set unit to be used to calculate the billing cycle to Day
$recurring->setDescription($description);
  1. string Item
  2. - description
Eden_Paypal_Recurring Set item description
$recurring->setEmail($email);
  1. string Email
  2. - address
Eden_Paypal_Recurring Set cardholder email address
$recurring->setExpirationDate($expirationDate);
  1. string Credit
  2. - card expiration date
Eden_Paypal_Recurring Set credit card expiration date
$recurring->setFirstName($firstName);
  1. string First
  2. - name
Eden_Paypal_Recurring Set cardholder first name
$recurring->setLastName($lastName);
  1. string Last
  2. - name
Eden_Paypal_Recurring Set cardholder last name
$recurring->setMonth(); none Eden_Paypal_Recurring Set unit to be used to calculate the billing cycle to Month
$recurring->setNote($note);
  1. string The
  2. - reason for the change in status
Eden_Paypal_Recurring Set reason for the change in status
$recurring->setProfileId($profileId);
  1. string a
  2. - valid profile id
Eden_Paypal_Recurring Set Profile Id
$recurring->setSemiMonth(); none Eden_Paypal_Recurring Set unit to be used to calculate the billing cycle to SemiMonth
$recurring->setState($state);
  1. string State
Eden_Paypal_Recurring Set cardholder state
$recurring->setStatus($status);
  1. boolean
Eden_Paypal_Recurring Set to manage profile status
$recurring->setStreet($street);
  1. string Street
Eden_Paypal_Recurring Set cardholder street
$recurring->setWeek(); none Eden_Paypal_Recurring Set unit to be used to calculate the billing cycle to Week
$recurring->setYear(); none Eden_Paypal_Recurring Set unit to be used to calculate the billing cycle to Year
$recurring->setZip($zip);
  1. string Zip
  2. - code
Eden_Paypal_Recurring Set cardholder zip code
$recurring->suspend(); none Eden_Paypal_Recurring The action to be performed to the recurring payments profile set to Suspend

© 2012 Openovate Labs. All rights reserved.