eWAY

Class Methods

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

getGatewayTitle()

getGatewayURL()

getErrorMessage(mixed strErrorCodes)

charge(mixed arrTransaction, mixed arrReceipt)

getConfigurationForm()

Returns the gateway custom config form (if it has one)

getRequiresRemotePostIframe()

Returns whether or not to use an iframe for posting

getPaymentForm(mixed strButtonValue)

getRecurringBillingForm(mixed strButtonValue)

getCreditCardType(string strCreditCardNumber)

Determines the type of the credit card used

getCustomerAddressFull(mixed arrTransaction, mixed bAddress, mixed bSuburb, mixed bPostcode, mixed bCountry)

Returns the full customer address, including suburb, postcode and country

refundIsSupported()

Returns if refunding transations is supported by the payment gateway

recurringBillingIsSupported()

Determines if recurring billing is supported by the payment gateway

recurringBillingGet(array arrEntity)

Retrieves the details of a recurring billing account

recurringBillingSave(array arrEntity)

Saves the details of a recurring billing account

recurringBillingCharge(array arrTransaction, mixed arrReceipt)

Charges a recurring billing account

renderReceiptData(array arrReceipt)

Renders the receipt data

validateLUHN(mixed strCardNumber)

Validates a number according to Luhn check algorithm
This function checks given number according Luhn check algorithm.

__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