Web Marketing Tool
Reseller
WMT .
AuthorizeNetCIM
Referred By: Web Marketing Tool
Login

AuthorizeNetCIM



Extends: AbstractBilling


AuthorizeNetCIM PHP Methods

addCreditCard($firstName, $lastName, $address, $city, $state, $zipcode, $country, $ccnum, $ccExp, $cvv) v5

Add a new credit card to pay with
PARAMETERS:
$firstName = string, Card holder first name (on card)
$lastName = string, Card holder last name (on card)
$address = string, buyer address
$city = string, buyer city
$state = string, buyer state
$zipcode = string, buyer zipcode
$country = string, buyer country
$ccnum = string, Credit card number
$ccExp = string, Credit card expiration date
$cvv = string, Card CVV
RETURN VALUE:
array = Authorized.net add credit card response as an array

cancel() v5

Cancel subscription
PARAMETERS:
NONE
RETURN VALUE:
array = Cancel subscription response

checkBillingAllowed() v5

Checks if billing payment is allowed.
PARAMETERS:
NONE
RETURN VALUE:
bool = True if the billing payment is allowed, throws error if no payment processor setup or billing agreement already paid

cleanCreditCard(string $cardNumber) v5

Format credit card number to make it valid
PARAMETERS:
$cardNumber = string, Credit card number
RETURN VALUE:
string = Formated credit card number

static deleteAuthorizeNetProfile(\WMT\SQL\Billing\Billing $billing, int $memberID) v5

Delete Authorized.net CIM subscription
PARAMETERS:
$billing = object
$memberID = int, Member ID
RETURN VALUE:
void

getBilling() v5

Gets billing object for the loaded abstract billing object
PARAMETERS:
NONE
RETURN VALUE:
object = \WMT\SQL\Billing\Billing

getBlankCreditCardArray() v5

Gets a blank credit card array including name on card, expiration date, card type and card number
PARAMETERS:
NONE
RETURN VALUE:
array = a blank credit card array including name on card, expiration date, card type and card number

getButton() v5

Get Authorized.net payment button as HTML
PARAMETERS:
NONE
RETURN VALUE:
string = Authorized.net payment button as HTML

getButtonIMG() v5

Gets button image URL
PARAMETERS:
NONE
RETURN VALUE:
string = button image URL

getCancelURL() v5

Gets cancel payment URL
PARAMETERS:
NONE
RETURN VALUE:
string = cancel payment URL

getCreditCard() v5

Gets payment credit card
PARAMETERS:
NONE
RETURN VALUE:
string = payment credit card

getCreditCardArray() v5

Gets credit card details as an array
PARAMETERS:
NONE
RETURN VALUE:
array = credit card details as an array

static getCreditCardNumber(\WMT\SQL\Billing\CreditCardToken $creditCardToken, \WMT\Container $container) v5

Gets credit card number for the loaded object
PARAMETERS:
$creditCardToken = object
$container = object
RETURN VALUE:
string = Credit card number

getCreditCardToken() v5

Gets credit card token key as an array
PARAMETERS:
NONE
RETURN VALUE:
array = credit card token key

getCreditCardType(string $str) v5

Gets credit card type. like (Visa, Mastercard... etc)
PARAMETERS:
$str = string, Credit card number
RETURN VALUE:
string = Credit card type

getIsAwaiting() v5

Gets manual payment status (approved | is awaiting approval)
PARAMETERS:
NONE
RETURN VALUE:
bool = True if the payment is awaiting approval, false otherwise

getPaymentProcessorSetup() v5

Gets payment processor setup object for the loaded object
PARAMETERS:
NONE
RETURN VALUE:
object = \WMT\SQL\Billing\PaymentProcessorSetup

getRecurMonths() v5

Gets number of recur months for the loaded billing object
PARAMETERS:
NONE
RETURN VALUE:
int = number of recur months for the loaded billing object

getRedirectURL() v5

Gets payment redirect URL
PARAMETERS:
NONE
RETURN VALUE:
string = payment redirect URL

getSubscriptionID() v5

Gets payment subscription ID
PARAMETERS:
NONE
RETURN VALUE:
string = payment subscription ID

getUpdateCreditCardButton() v5

Gets update credit card button as HTML
PARAMETERS:
NONE
RETURN VALUE:
string = update credit card button as HTML

getVisitorID() v5

Gets payment visitor ID
PARAMETERS:
NONE
RETURN VALUE:
int = Visitor ID

pay($cardNumber, $expirationYear, $expirationMonth, $cardCVV, $firstName, $lastName, $email, $phone, $address, $city, $state, $zipcode, $country, $rIP) v5

Gets payment token for Authorized.net CIM payment
PARAMETERS:
$cardNumber = string, Credit card number
$expirationYear = string, Card expiration year
$expirationMonth = string, Card expiration month
$cardCVV = string, Card CVV
$firstName = string, Card holder first name (on card)
$lastName = string, Card holder last name (on card)
$email = string, buyer email
$phone = string, buyer phone number
$address = string, buyer address
$city = string, buyer city
$state = string, buyer state
$zipcode = string, buyer zipcode
$country = string, buyer country
$rIP = string, buyer IP address
RETURN VALUE:
array = Authorized.net payment token as an array

payToken() v5

Process a payment using Authorized.net CIM
PARAMETERS:
NONE
RETURN VALUE:
array = Payment response array

setBilling() v5

Set billing object for the abstract billing
PARAMETERS:
NONE
RETURN VALUE:
void

setBillingPayment() v5

Set billing payment object for the abstract billing
PARAMETERS:
NONE
RETURN VALUE:
void

setPaymentProcessorSetup() v5

Sets payment processor setup
PARAMETERS:
NONE
RETURN VALUE:
void

status() v5

Gets payment status
PARAMETERS:
NONE
RETURN VALUE:
string = payment status

updateCreditCard(string $cardNumber, int $expirationYear, string $expirationMonth, string $cardCVV, string $firstName, string $lastName, string $address, string $city, string $state, string $zipcode, string $country) v5

Update a credit card for a payment paid using Authorized.net
PARAMETERS:
$cardNumber = string, New credit card number
$expirationYear = int, Card expirationg year
$expirationMonth = string, Card expiration month
$cardCVV = string, Card CVV
$firstName = string, Card holder first name (on card)
$lastName = string, Card holder last name (on card)
$address = string, buyer address
$city = string, buyer city
$state = string, buyer state
$zipcode = string, buyer zipcode
$country = string, buyer country
RETURN VALUE:
array = Authorized.net change card response as an array

__construct(\WMT\Container $container, \WMT\SQL\Billing\BillingAgreementPayment $billingAgreementPayment) v5

Initialize abstract billing utility object
PARAMETERS:
$container = object
$billingAgreementPayment = object
RETURN VALUE:
void

AuthorizeNetCIM PHP Variables

🔎︎ %l4610%




webmarketingtool.com Webutation DMCA.com Protection Status Authorize.net GoDaddy
Valid HTML! Valid CSS!


Reseller: WMT
|
Login
(502) 225-3237