Authorize.Net Direct

Instantiate Direct
$direct = eden('authorizenet')->direct('[API_LOGIN]', '[TRANSACTION_KEY]');
Direct Methods
Method Arguments Returns Description
$direct->setAmount($amount);
  1. *integer|float
  2. - Transaction amount
Eden_Authorizenet_Direct Set transaction amount
$direct->getResponse(); none void Demonstrates the Direct Post Method return this
$direct->setReturnUrl($url);
  1. *string
Eden_Authorizenet_Direct Set return URL
$direct->setAddress($address);
  1. *string
Eden_Authorizenet_Direct Set customer address
$direct->setAddressLabel($addressLabel);
  1. *string
Eden_Authorizenet_Direct Set address label
$direct->setCardNumber($cardNumber);
  1. *string
Eden_Authorizenet_Direct Set customer card number
$direct->setCardNumberLabel($cardNumberLabel);
  1. *string
Eden_Authorizenet_Direct Set card number label
$direct->setCity($city);
  1. *string
Eden_Authorizenet_Direct Set customer city
$direct->setCityLabel($cityLabel);
  1. *string
Eden_Authorizenet_Direct Set city label
$direct->setCountry($country);
  1. *string
Eden_Authorizenet_Direct Set customer country
$direct->setCountryLabel($countryLabel);
  1. *string
Eden_Authorizenet_Direct Set country label
$direct->setCvv($cvv);
  1. *string
Eden_Authorizenet_Direct Set customer cvv
$direct->setCvvLabel($cvvLabel);
  1. *string
Eden_Authorizenet_Direct Set cvv label
$direct->setExpiration($date);
  1. *string
Eden_Authorizenet_Direct Set customer exipiration date
$direct->setExpirationLabel($expirationLabel);
  1. *string
Eden_Authorizenet_Direct Set expiration date label
$direct->setFirstName($firstName);
  1. *string
Eden_Authorizenet_Direct Set customer first name
$direct->setFirstNameLabel($firstNameLabel);
  1. *string
Eden_Authorizenet_Direct Set first name label
$direct->setLastName($lastName);
  1. *string
Eden_Authorizenet_Direct Set customer last name
$direct->setLastNameLabel($lastNameLabel);
  1. *string
Eden_Authorizenet_Direct Set last name label
$direct->setState($state);
  1. *string
Eden_Authorizenet_Direct Set customer state
$direct->setStateLabel($stateLabel);
  1. *string
Eden_Authorizenet_Direct Set state label
$direct->setSubmitButton($submitButton);
  1. *string
Eden_Authorizenet_Direct Set submit button value
$direct->setZip($zip);
  1. *string
Eden_Authorizenet_Direct Set customer zip
$direct->setZipLabel($zipLabel);
  1. *string
Eden_Authorizenet_Direct Set zip label

© 2012 Openovate Labs. All rights reserved.