PayCreditCard
PayCreditCard PHP Methods
static checkAccess(\WMT\SQL\Visit\Visitor $visitor, \WMT\SQL\Billing\Billing $billing, \WMT\Container $container, $billingAgreementPayment) v5
Checks pay using credit card status.
PARAMETERS:
$visitor = object
$billing = object
$container = object
$billingAgreementPayment = object
RETURN VALUE:
string = shows error message if the member is not login and the payment requires login. or if the invoice already paidstatic checkInvoice(\WMT\SQL\Visit\Visitor $visitor, $invoice, \WMT\Container $container, \WMT\MySQL $mysqli) v5
Checks if an invoice is valid. if the invoice is valid and not paid it redirects to pay using credit card, if it's valid and paid, it redirects to view the invoice details. if not valid it returns false.
PARAMETERS:
$visitor = object
$invoice = object
$container = object
$mysqli = objectPayCreditCard PHP Variables
🔎︎ %l4610%