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 35 of file payment_gateway_sagepay.inc.
__construct | ( | $assetid = 0 | ) |
Constructor
int | $assetid | the asset id to be loaded |
Definition at line 58 of file payment_gateway_sagepay.inc.
_createAdditional | ( | & | $link | ) |
Perform any additional processing required during the creation of this asset
SagePay Payment Gateway creates a bodycopy asset when they are created
array | &$link | information used to create the initial link |
Definition at line 75 of file payment_gateway_sagepay.inc.
_createBodycopy | ( | $link_value, | |
$content | |||
) |
Create Bodycopy
string | $link_value | the link value of the link between this SagePay Payment Gateway asset and the new bodycopy |
string | $content | the content to put into the bodycopy |
Definition at line 93 of file payment_gateway_sagepay.inc.
_delivery_textbox | ( | $name, | |
$value | |||
) |
Paint a textbox or a hidden field for delivery address components based on the hide_delivery_addr attribute
string | $name | Name of the textbox or hidden field |
string | $value | Value of the textbox or hidden field |
Definition at line 1880 of file payment_gateway_sagepay.inc.
_getAllowedLinks | ( | ) |
Returns an array of all the permitted link type, the type asset and the cardinality
Definition at line 118 of file payment_gateway_sagepay.inc.
authorizePayment | ( | $md, | |
$pares | |||
) |
Authorize the payment when the user is redirected from the Access Control Server (ACS) after completing the Card Holder Verification process
string | $md | the MD sent back by the ACS |
string | $pares | the Payment Authentication Response (PARes) returned by the Access Control Server (ACS) |
Definition at line 843 of file payment_gateway_sagepay.inc.
getAvailableKeywords | ( | ) |
Return the available keywords
The return value is in the form:
Array( 'keyword' => 'name', )
Definition at line 140 of file payment_gateway_sagepay.inc.
getBillingAddress1KeywordReplacement | ( | $line = MIN_LINE_IN_ADDRESS | ) |
Billing Address 1 keyword replacement
string | $line | the line number of the billing address 1 |
Definition at line 1322 of file payment_gateway_sagepay.inc.
getBillingAddress2KeywordReplacement | ( | $line = MIN_LINE_IN_ADDRESS | ) |
Billing Address 2 keyword replacement
string | $line | the line number of the billing address 2 |
Definition at line 1341 of file payment_gateway_sagepay.inc.
getBillingCityKeywordReplacement | ( | ) |
Billing City keyword replacement
Definition at line 1358 of file payment_gateway_sagepay.inc.
getBillingCountryKeywordReplacement | ( | ) |
Billing Country keyword replacement
Definition at line 1392 of file payment_gateway_sagepay.inc.
getBillingFirstNamesKeywordReplacement | ( | ) |
Billing First Names keyword replacement
Definition at line 1286 of file payment_gateway_sagepay.inc.
getBillingPhoneKeywordReplacement | ( | ) |
Billing Phone keyword replacement
Definition at line 1427 of file payment_gateway_sagepay.inc.
getBillingPostcodeKeywordReplacement | ( | ) |
Billing Postcode keyword replacement
Definition at line 1375 of file payment_gateway_sagepay.inc.
getBillingStateKeywordReplacement | ( | ) |
Billing State keyword replacement
Definition at line 1412 of file payment_gateway_sagepay.inc.
getBillingSurnameKeywordReplacement | ( | ) |
Billing Surname keyword replacement
Definition at line 1303 of file payment_gateway_sagepay.inc.
getBodycopy | ( | $link_value | ) |
Return the bodycopy linked to this page
Definition at line 412 of file payment_gateway_sagepay.inc.
getCancelButtonKeywordReplacement | ( | ) |
Cancel Button keyword replacement
Definition at line 1668 of file payment_gateway_sagepay.inc.
getCardCv2KeywordReplacement | ( | ) |
Card CV2 keyword replacement
Definition at line 1242 of file payment_gateway_sagepay.inc.
getCardExpiryMonthKeywordReplacement | ( | ) |
Card Expiry Month keyword replacement
Definition at line 1144 of file payment_gateway_sagepay.inc.
getCardExpiryMonthSelectKeywordReplacement | ( | ) |
Card Expiry Month Select keyword replacement
Definition at line 1161 of file payment_gateway_sagepay.inc.
getCardExpiryYearKeywordReplacement | ( | ) |
Card Expiry Year keyword replacement
Definition at line 1184 of file payment_gateway_sagepay.inc.
getCardExpiryYearSelectKeywordReplacement | ( | $period = 18 | ) |
Card Expiry Year Select keyword replacement
Definition at line 1201 of file payment_gateway_sagepay.inc.
getCardHolderVerificationFormKeywordReplacement | ( | ) |
Card Holder Verification Form keyword replacement
Definition at line 1684 of file payment_gateway_sagepay.inc.
getCardIssueNumberKeywordReplacement | ( | ) |
Card Issue Number keyword replacement
Definition at line 1225 of file payment_gateway_sagepay.inc.
getCardNameKeywordReplacement | ( | ) |
Card Name keyword replacement
Definition at line 1020 of file payment_gateway_sagepay.inc.
getCardNumberKeywordReplacement | ( | ) |
Card Number keyword replacement
Definition at line 1035 of file payment_gateway_sagepay.inc.
getCardStartMonthKeywordReplacement | ( | ) |
Card Start Month keyword replacement
Definition at line 1063 of file payment_gateway_sagepay.inc.
getCardStartMonthSelectKeywordReplacement | ( | ) |
Card Start Month Select keyword replacement
Definition at line 1080 of file payment_gateway_sagepay.inc.
getCardStartYearKeywordReplacement | ( | ) |
Card Start Year keyword replacement
Definition at line 1103 of file payment_gateway_sagepay.inc.
getCardStartYearSelectKeywordReplacement | ( | $period = 5 | ) |
Card Start Year Select keyword replacement
Definition at line 1120 of file payment_gateway_sagepay.inc.
getCardTypeKeywordReplacement | ( | ) |
Card Type keyword replacement
Definition at line 1259 of file payment_gateway_sagepay.inc.
getDeliveryAddress1KeywordReplacement | ( | $line = MIN_LINE_IN_ADDRESS | ) |
Delivery Address 1 keyword replacement
string | $line | the line number of the delivery address 1 |
Definition at line 1478 of file payment_gateway_sagepay.inc.
getDeliveryAddress2KeywordReplacement | ( | $line = MIN_LINE_IN_ADDRESS | ) |
Delivery Address 2 keyword replacement
string | $line | the line number of the delivery address 2 |
Definition at line 1497 of file payment_gateway_sagepay.inc.
getDeliveryCityKeywordReplacement | ( | ) |
Delivery City keyword replacement
Definition at line 1514 of file payment_gateway_sagepay.inc.
getDeliveryCountryKeywordReplacement | ( | ) |
Delivery Country keyword replacement
Definition at line 1548 of file payment_gateway_sagepay.inc.
getDeliveryFirstNamesKeywordReplacement | ( | ) |
Delivery First Names keyword replacement
Definition at line 1442 of file payment_gateway_sagepay.inc.
getDeliveryPhoneKeywordReplacement | ( | ) |
Delivery Phone keyword replacement
Definition at line 1589 of file payment_gateway_sagepay.inc.
getDeliveryPostcodeKeywordReplacement | ( | ) |
Delivery Postcode keyword replacement
Definition at line 1531 of file payment_gateway_sagepay.inc.
getDeliveryStateKeywordReplacement | ( | ) |
Delivery State keyword replacement
Definition at line 1574 of file payment_gateway_sagepay.inc.
getDeliverySurnameKeywordReplacement | ( | ) |
Delivery Surname keyword replacement
Definition at line 1459 of file payment_gateway_sagepay.inc.
getErrorMessage | ( | ) |
Get the error message under HTML format
Definition at line 1910 of file payment_gateway_sagepay.inc.
getKeywordReplacement | ( | $keyword | ) |
Get bodycopy keyword replacement
If keyword is card_start_year_select_XX% or card_expiry_year_select_XX%, call the correct method with XX is $period parameter. Otherwise, call the parent method.
string | $keyword | Keyword to find a replacement for |
Definition at line 220 of file payment_gateway_sagepay.inc.
getProcessingErrorKeywordReplacement | ( | ) |
Processing Error keyword replacement
Definition at line 1619 of file payment_gateway_sagepay.inc.
getResetButtonKeywordReplacement | ( | ) |
Reset Button keyword replacement
Definition at line 1652 of file payment_gateway_sagepay.inc.
getSubmitButtonKeywordReplacement | ( | ) |
Submit Button keyword replacement
Definition at line 1636 of file payment_gateway_sagepay.inc.
getTransactionAmountKeywordReplacement | ( | ) |
Transaction Amount keyword replacement
Definition at line 1604 of file payment_gateway_sagepay.inc.
isError | ( | ) |
Check if the transaction has error
Definition at line 1897 of file payment_gateway_sagepay.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 200 of file payment_gateway_sagepay.inc.
printBody | ( | ) |
Basic output function. root of output process
Definition at line 276 of file payment_gateway_sagepay.inc.
printBodycopy | ( | $link_value | ) |
Prints the front-end interface for this asset
Definition at line 366 of file payment_gateway_sagepay.inc.
processPayment | ( | $card_info | ) |
Process credit card details to gateway
array | $card_info | Submitted credit card information |
Definition at line 430 of file payment_gateway_sagepay.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 958 of file payment_gateway_sagepay.inc.