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

StripeCard



Extends: AbstractBilling


StripeCard 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

getButton() v5

Gets Stripe payment button as HTML
PARAMETERS:
NONE
RETURN VALUE:
string = Stripe 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 Credit card number
PARAMETERS:
NONE
RETURN VALUE:
string = Credit card number

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
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

Process a payment using Stripe
PARAMETERS:
$cardNumber = string, Credit card number
$expirationYear = string, 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)
$email = string, Card holder email
$phone = string, Card holder phone number
$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
$rIP = string, Card holder IP Address
RETURN VALUE:
array = Stripe payment response as an array

payToken() v5

Create an process Stripe payment token
PARAMETERS:
NONE
RETURN VALUE:
array = Stripe 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
PARAMETERS:
$cardNumber = string, Credit card number
$expirationYear = int, Card expiration year
$expirationMonth = string, Card expiration month
$cardCVV = string, Card CVV
$firstName = string, Card holder first name
$lastName = string, Card holder last name
$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 = Stripe update credit 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

StripeCard PHP Variables

🔎︎ %l4610%




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


Reseller: WMT
|
Login
(502) 225-3237