Squiz Matrix
4.12.2
|
Additional Inherited Members | |
Data Fields inherited from Asset | |
$id = 0 | |
$version = '' | |
$name = '' | |
$short_name = '' | |
$status | |
$languages = '' | |
$charset = '' | |
$force_secure = '0' | |
$created | |
$created_userid | |
$updated | |
$updated_userid | |
$published | |
$published_userid | |
$status_changed | |
$status_changed_userid | |
$_is_cacheable = FALSE | |
$vars = Array() | |
$_available_keywords = Array() | |
$data_path_suffix = '' | |
$data_path = '' | |
$data_path_public = '' | |
$_ser_attrs = FALSE | |
Protected Member Functions inherited from Payment_Gateway | |
_getName ($short_name=FALSE, $contextid=NULL) | |
appendPendingOrderAuditLog ($msg) | |
setPendingOrderMerchantReference ($ref_no) | |
Definition at line 33 of file payment_gateway_datacash.inc.
__construct | ( | $assetid = 0 | ) |
Constructor
int | $assetid | the asset id to be loaded |
Definition at line 56 of file payment_gateway_datacash.inc.
_createAdditional | ( | & | $link | ) |
Perform any additional processing required during the creation of this asset
Datacash Payment Gateway creates a bodycopy asset when they are created
array | &$link | information used to create the initial link |
Definition at line 73 of file payment_gateway_datacash.inc.
_createBodycopy | ( | $link_value, | |
$content | |||
) |
Create Bodycopy
string | $link_value | the link value of the link between this Datacash Payment Gateway asset and the new bodycopy |
string | $content | the content to put into the bodycopy |
Definition at line 91 of file payment_gateway_datacash.inc.
_getAllowedLinks | ( | ) |
Returns an array of all the permitted link type, the type asset and the cardinality
Definition at line 116 of file payment_gateway_datacash.inc.
authorizePayment | ( | $datacash_ref, | |
$pares | |||
) |
Authorize the payment when the user is redirected from the Access Control Server (ACS) after completing the Card Holder Verification process
string | $datacash_ref | the Datacash reference number |
string | $pares | the Payment Authentication Response (PARes) returned by the Access Control Server (ACS) |
Definition at line 522 of file payment_gateway_datacash.inc.
getAvailableKeywords | ( | ) |
Return the available keywords
The return value is in the form:
Array( 'keyword' => 'name', )
Definition at line 138 of file payment_gateway_datacash.inc.
getBodycopy | ( | $link_value | ) |
Return the bodycopy linked to this page
Definition at line 350 of file payment_gateway_datacash.inc.
getCancelButtonKeywordReplacement | ( | ) |
Cancel Button keyword replacement
Definition at line 964 of file payment_gateway_datacash.inc.
getCardCv2KeywordReplacement | ( | ) |
Card CV2 keyword replacement
Definition at line 785 of file payment_gateway_datacash.inc.
getCardExpiryMonthKeywordReplacement | ( | ) |
Card Expiry Month keyword replacement
Definition at line 734 of file payment_gateway_datacash.inc.
getCardExpiryYearKeywordReplacement | ( | ) |
Card Expiry Year keyword replacement
Definition at line 751 of file payment_gateway_datacash.inc.
getCardHolderVerificationFormKeywordReplacement | ( | ) |
Card Holder Verification Form keyword replacement
Definition at line 980 of file payment_gateway_datacash.inc.
getCardIssueNumberKeywordReplacement | ( | ) |
Card Issue Number keyword replacement
Definition at line 768 of file payment_gateway_datacash.inc.
getCardNumberKeywordReplacement | ( | ) |
Card Number keyword replacement
Definition at line 672 of file payment_gateway_datacash.inc.
getCardStartMonthKeywordReplacement | ( | ) |
Card Start Month keyword replacement
Definition at line 700 of file payment_gateway_datacash.inc.
getCardStartYearKeywordReplacement | ( | ) |
Card Start Year keyword replacement
Definition at line 717 of file payment_gateway_datacash.inc.
getErrorMessage | ( | ) |
Get the error message under HTML format
Definition at line 1165 of file payment_gateway_datacash.inc.
getPostcodeKeywordReplacement | ( | ) |
Postcode keyword replacement
Definition at line 870 of file payment_gateway_datacash.inc.
getProcessingErrorKeywordReplacement | ( | ) |
Processing Error keyword replacement
Definition at line 915 of file payment_gateway_datacash.inc.
getResetButtonKeywordReplacement | ( | ) |
Reset Button keyword replacement
Definition at line 948 of file payment_gateway_datacash.inc.
getStreetAddress1KeywordReplacement | ( | ) |
Street Address 1 keyword replacement
Definition at line 802 of file payment_gateway_datacash.inc.
getStreetAddress2KeywordReplacement | ( | ) |
Street Address 2 keyword replacement
Definition at line 819 of file payment_gateway_datacash.inc.
getStreetAddress3KeywordReplacement | ( | ) |
Street Address 3 keyword replacement
Definition at line 836 of file payment_gateway_datacash.inc.
getStreetAddress4KeywordReplacement | ( | ) |
Street Address 4 keyword replacement
Definition at line 853 of file payment_gateway_datacash.inc.
getSubmitButtonKeywordReplacement | ( | ) |
Submit Button keyword replacement
Definition at line 932 of file payment_gateway_datacash.inc.
getTransactionAmountKeywordReplacement | ( | ) |
Transaction Amount keyword replacement
Definition at line 887 of file payment_gateway_datacash.inc.
getTransactionCurrencyKeywordReplacement | ( | ) |
Transaction Currency keyword replacement
Definition at line 902 of file payment_gateway_datacash.inc.
isError | ( | ) |
Check if the transaction has error
Definition at line 1152 of file payment_gateway_datacash.inc.
onRequestKeywords | ( | & | $broadcaster, |
$vars = Array() |
|||
) |
Add valid keywords for this asset to an array of keywords when asked
object | &$broadcaster | the asset that triggered the event |
array | $vars | the vars that get submitted by the broadcaster we add keywords to the $vars['keywords'] array |
Definition at line 179 of file payment_gateway_datacash.inc.
printBody | ( | ) |
Basic output function. root of output process
Definition at line 193 of file payment_gateway_datacash.inc.
printBodycopy | ( | $link_value | ) |
Prints the front-end interface for this asset
Definition at line 304 of file payment_gateway_datacash.inc.
processPayment | ( | $card_info | ) |
Process credit card details to gateway
array | $card_info | Submitted credit card information |
Definition at line 368 of file payment_gateway_datacash.inc.
returnToCaller | ( | $state = 'SUCCESS' , |
|
$is_in_frame = FALSE |
|||
) |
Returns back to e-commerce form, which called gateway
string | $state | state to return |
Definition at line 610 of file payment_gateway_datacash.inc.