Credit Card

The payment method for accepting credit cards. Utilises a payment gateway.

Class Methods

The following methods can be invoked on instances of this class.

process(array arrPaymentData)

Processes the transaction using the values in $arrPaymentData

getGatewayClassId(string strGateway)

Retrieves the class id for a specific gateway

renderReceiptData(array arrReceipt)

Renders the receipt data

getReceiptCreditCardType(array arrReceipt)

Returns the type of credit card used for a specific receipt

getIconSmall()

Returns an icon for the third party application

getSvgIcon()

Returns an svg icon id

getPaymentFormPublic()

Returns the form for the public to process payments

getPaymentFormAdmin()

Returns the form for the public to process payments

getConfigurationForm()

Returns the form for configuring this payment method

getRequiresPaymentMessage()

Returns information about required payment

onOrderComplete()

Called when the order process is completed

getPaymentMethodId()

Returns the payment method id in the database

getConfiguration()

Returns the configuration options for the payment method

handleReceiptData(mixed arrPaymentData, array arrReceipt)

Prepares the payment data for the receipt

__call(mixed strName, array arrArguments)

Magic function to trap calls to undefined functions and throw an exception rather than
a fatal error.

__callStatic(mixed strName, array arrArguments)

Magic function to trap static calls to undefined functions and throw an exception rather
than a fatal error.

classGetFolder()

Returns the folder where the class exists

__set_state(mixed arrValues)

classGetFolderResources()

Returns the folder where the class's resources exist

classGetSrcFile()

Returns the folder where the class exists

classGetSrcHash()

Returns the folder where the class exists

classGetReflection()

Returns the reflection data for the current class

classGetReflectionAnnotation(string strField)

Returns a specific class annotation for the current class



Gateways

MiraPay
MiraPay payment gateway integration.

NetRegistry
NetRegistry payment gateway integration.

Orbital
Orbital payment gateway integration.

Relay Pay
Relay Pay payment gateway integration.