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

Dwolla



Extends: AbstractBilling


Dwolla PHP Methods

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

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

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

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

getDwollaButton($apItemName, $apPrice, $dwollaUsername, $referrer, $apMembership, $tAffID = 0) v5

Gets Dwolla payment button as HTML
PARAMETERS:
$apItemName = string, product name
$apPrice = float, Product price (payment amount)
$dwollaUsername = string, Dwolla username
$referrer = int, Referrer ID
$apMembership = int, Membership ID
$tAffID = int, Member ID
RETURN VALUE:
string = Dwolla payment button as HTML

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

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

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

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

Dwolla PHP Variables

🔎︎ %l4610%




DMCA.com Protection Status Authorize.net
Valid HTML! Valid CSS!


Reseller: WMT
|
Login
(502) 225-3237