AuthorizeNet
AuthorizeNet PHP Methods
cancel() v5
Cancel A.net subscription
PARAMETERS:
NONE
RETURN VALUE:
array = Cancel A.net response as an array cancel() v5
Cancel subscription
PARAMETERS:
NONE
RETURN VALUE:
array = Cancel subscription response cancelARB(string $subscriptionID) v5
Cancel Authorized.net ARB subscription
PARAMETERS:
$subscriptionID = string, Subscription ID
RETURN VALUE:
array = Cancel A.net response as an array checkAuthorize(string $transactionID) v5
Check authorized.net transaction ID status
PARAMETERS:
$transactionID = string, authorized.net transaction ID
RETURN VALUE:
string = authorized.net transaction ID status 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 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
Gets A.net payment button as HTML
PARAMETERS:
NONE
RETURN VALUE:
string = A.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 getCreditCardArray() v5
Gets credit card details as an array
PARAMETERS:
NONE
RETURN VALUE:
array = credit card details as an array getCreditCardArray() v5
Gets a list of credit card details
PARAMETERS:
NONE
RETURN VALUE:
array = Credit card details as an array 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 getStatus($transactionID) v5
Gets payment status
PARAMETERS:
$transactionID = string, A.net transaction ID
RETURN VALUE:
string = Payment status 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
Process a payment using Authorized.net
PARAMETERS:
$cardNumber = string, Credit card number
$expirationYear = string, Card expirationg year
$expirationMonth = string, Credit expiration month
$cardCVV = string, Credit card CVV
$firstName = string, Card holder first name (on card)
$lastName = string, Card holder last name (on card)
$email = string, buyer email address
$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 response as an 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 A.net
PARAMETERS:
$cardNumber = string, New credit card number
$expirationYear = int, Card expirationg year
$expirationMonth = string, Card expirationg month
$cardCVV = string, Card CVV
$firstName = string, Card holder first name (on card)
$lastName = string, Card holder last name (on card)
$address = string, Card holder address
$city = string, Card holder city
$state = string, Card holder state
$zipcode = string, Card holder zipcode
$country = string, Card holder country
RETURN VALUE:
array = Credit card update 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:
voidAuthorizeNet PHP Variables
🔎︎ %l4610%