|
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 32 of file payment_gateway_dps.inc.
| __construct | ( | $assetid = 0 | ) |
Constructor
| int | $assetid | the asset id to be loaded |
Definition at line 47 of file payment_gateway_dps.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 64 of file payment_gateway_dps.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 82 of file payment_gateway_dps.inc.
| _getAllowedLinks | ( | ) |
Returns an array of all the permitted link type, the type asset and the cardinality
Definition at line 107 of file payment_gateway_dps.inc.
| getAvailableKeywords | ( | ) |
Return the available keywords
The return value is in the form:
Array(
'keyword' => 'name',
)
Definition at line 129 of file payment_gateway_dps.inc.
| getBodycopy | ( | $link_value | ) |
Return the bodycopy linked to this page
Definition at line 320 of file payment_gateway_dps.inc.
| getCancelButtonKeywordReplacement | ( | ) |
Cancel Button keyword replacement
Definition at line 897 of file payment_gateway_dps.inc.
| getCardCv2KeywordReplacement | ( | ) |
Card CV2 keyword replacement
Definition at line 718 of file payment_gateway_dps.inc.
| getCardExpiryMonthKeywordReplacement | ( | ) |
Card Expiry Month keyword replacement
Definition at line 667 of file payment_gateway_dps.inc.
| getCardExpiryYearKeywordReplacement | ( | ) |
Card Expiry Year keyword replacement
Definition at line 684 of file payment_gateway_dps.inc.
| getCardIssueNumberKeywordReplacement | ( | ) |
Card Issue Number keyword replacement
Definition at line 701 of file payment_gateway_dps.inc.
| getCardNameKeywordReplacement | ( | ) |
Card Name keyword replacement
Definition at line 617 of file payment_gateway_dps.inc.
| getCardNumberKeywordReplacement | ( | ) |
Card Number keyword replacement
Definition at line 589 of file payment_gateway_dps.inc.
| getCardStartMonthKeywordReplacement | ( | ) |
Card Start Month keyword replacement
Definition at line 633 of file payment_gateway_dps.inc.
| getCardStartYearKeywordReplacement | ( | ) |
Card Start Year keyword replacement
Definition at line 650 of file payment_gateway_dps.inc.
| getErrorMessage | ( | ) |
Get the error message under HTML format
Definition at line 1066 of file payment_gateway_dps.inc.
| getPostcodeKeywordReplacement | ( | ) |
Postcode keyword replacement
Definition at line 803 of file payment_gateway_dps.inc.
| getProcessingErrorKeywordReplacement | ( | ) |
Processing Error keyword replacement
Definition at line 848 of file payment_gateway_dps.inc.
| getResetButtonKeywordReplacement | ( | ) |
Reset Button keyword replacement
Definition at line 881 of file payment_gateway_dps.inc.
| getStreetAddress1KeywordReplacement | ( | ) |
Street Address 1 keyword replacement
Definition at line 735 of file payment_gateway_dps.inc.
| getStreetAddress2KeywordReplacement | ( | ) |
Street Address 2 keyword replacement
Definition at line 752 of file payment_gateway_dps.inc.
| getStreetAddress3KeywordReplacement | ( | ) |
Street Address 3 keyword replacement
Definition at line 769 of file payment_gateway_dps.inc.
| getStreetAddress4KeywordReplacement | ( | ) |
Street Address 4 keyword replacement
Definition at line 786 of file payment_gateway_dps.inc.
| getSubmitButtonKeywordReplacement | ( | ) |
Submit Button keyword replacement
Definition at line 865 of file payment_gateway_dps.inc.
| getTransactionAmountKeywordReplacement | ( | ) |
Transaction Amount keyword replacement
Definition at line 820 of file payment_gateway_dps.inc.
| getTransactionCurrencyKeywordReplacement | ( | ) |
Transaction Currency keyword replacement
Definition at line 835 of file payment_gateway_dps.inc.
| isError | ( | ) |
Check if the transaction has error
Definition at line 1053 of file payment_gateway_dps.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 171 of file payment_gateway_dps.inc.
| printBody | ( | ) |
Basic output function. root of output process
Definition at line 185 of file payment_gateway_dps.inc.
| printBodycopy | ( | $link_value | ) |
Prints the front-end interface for this asset
Definition at line 274 of file payment_gateway_dps.inc.
| processPayment | ( | $card_info | ) |
Process credit card details to gateway
| array | $card_info | Submitted credit card information |
Definition at line 338 of file payment_gateway_dps.inc.
| returnToCaller | ( | $state = 'SUCCESS' | ) |
Returns back to e-commerce form, which called gateway
| string | $state | state to return |
Definition at line 536 of file payment_gateway_dps.inc.