ClicAndPayPayment Input
Interface to ClicAndPay payment system.
More...
|
| __construct ($path_type) |
|
| initialise ($params=array()) |
|
| prepare_forPayment ($params=array()) |
|
| load_paymentConfirmation () |
|
| is_paymentConfirmed () |
|
| is_paymentCancelled () |
|
| get_paymentConfirmationData () |
|
| execute_checkout () |
|
| get_transactionId () |
|
| get_manualTransferLink () |
|
| get_lastError () |
|
| get_lastErrorMessage () |
|
| load_configuration () |
|
| compute_signature ($params, $key, $hash) |
|
| initialise_configDisplay () |
|
| display_configDisplay () |
|
| initialise_configEdition ($form) |
|
| display_configEdition () |
|
| save_configuration () |
|
| __construct ($name, $path_type) |
|
| Input ($name, $path_type) |
|
| display () |
|
| get_translation ($value, $data=null) |
|
| set_selectedLayout ($layout='') |
|
| __construct ($name, $plugin_type, $path_type) |
|
| get_version () |
|
| load_library ($library='') |
|
| load_file ($file='') |
|
| load_varFile ($file='') |
|
| load_engineFile ($file='') |
|
| get_engineFileURL ($file='', $path=false) |
|
| get_fileURL ($file='', $path=null, $default='') |
|
| get_varFileURL ($file='', $path=false, $default='') |
|
| get_filePath ($file='') |
|
| get_varFilePath ($file='') |
|
| add_JSFile ($file) |
|
| add_JSEngineFile ($file) |
|
| add_JSExternFile ($file) |
|
| add_JSScript ($script, $unique=false) |
|
| add_JSPreScript ($script, $unique=false) |
|
| add_JSWindowEventScript ($event, $script, $unique=false) |
|
| add_JSLoadScript ($script, $unique=false) |
|
| add_JSUnloadScript ($script, $unique=false) |
|
| add_styleFile ($file, $media='', $condition='') |
|
| add_styleScript ($css) |
|
| add_styleIncludedFile ($file) |
|
| add_StyleExternFile ($file, $media='', $condition='') |
|
| set_RSSFeed ($title, $url) |
|
| add_headerExtra ($content='') |
|
| install () |
|
| uninstall () |
|
| is_installed () |
|
| update ($version, $more='') |
|
| add_translation ($more='', $lg=null) |
|
| get_languages () |
|
| execute_onCaMykSInitialise () |
|
| execute_onCaMykSPageLoad () |
|
| execute_onCaMykSBodyOpen () |
|
| execute_onCaMykSBodyClose () |
|
| execute_onCaMykSAdminPageLoad () |
|
| execute_onCaMykSAdminBodyOpen () |
|
| execute_onCaMykSAdminBodyClose () |
|
| execute_onCaMykSTerminate () |
|
| get_requestLink ($params=array()) |
|
| get_requestJSLink ($params=array()) |
|
| execute_request () |
|
| get_varFile ($file) |
|
ClicAndPayPayment Input
Interface to ClicAndPay payment system.
Plugin / Input Engine
- Author
- CaMykS Team camyk.nosp@m.s.co.nosp@m.ntact.nosp@m.@gma.nosp@m.il.co.nosp@m.m
- Version
- 1.0.1
- Date
- Creation: Jul 2019
-
Modification: Dec 2022
- Copyright
- 2019 - 2022 CaMykS Team
- Note
- This program is distributed as is - WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ClicAndPayPayment Input class.
◆ __construct()
ClicAndPayPayment::__construct |
( |
|
$path_type | ) |
|
Class constructor.
- Parameters
-
- Returns
- void
◆ initialise()
ClicAndPayPayment::initialise |
( |
|
$params = array() | ) |
|
Initialise input.
- Parameters
-
- Returns
- void
Reimplemented from Input.
◆ prepare_forPayment()
ClicAndPayPayment::prepare_forPayment |
( |
|
$params = array() | ) |
|
Prepare for payment.
- Parameters
-
- Returns
- boolean result
◆ load_paymentConfirmation()
ClicAndPayPayment::load_paymentConfirmation |
( |
| ) |
|
Load confirmation data Payzen instant notification.
- Returns
- void
◆ is_paymentConfirmed()
ClicAndPayPayment::is_paymentConfirmed |
( |
| ) |
|
Check if payment is confirmed.
- Returns
- boolean result
◆ is_paymentCancelled()
ClicAndPayPayment::is_paymentCancelled |
( |
| ) |
|
Check if payment is cancelled.
- Returns
- boolean result
◆ get_paymentConfirmationData()
ClicAndPayPayment::get_paymentConfirmationData |
( |
| ) |
|
Return response data from confirmation request.
- Returns
- array
◆ execute_checkout()
ClicAndPayPayment::execute_checkout |
( |
| ) |
|
Execute check out.
- Returns
- array
◆ get_transactionId()
ClicAndPayPayment::get_transactionId |
( |
| ) |
|
Return transaction ID.
- Returns
- string
◆ get_manualTransferLink()
ClicAndPayPayment::get_manualTransferLink |
( |
| ) |
|
Return manual transfer link.
- Returns
- string
◆ set_lastError()
ClicAndPayPayment::set_lastError |
( |
|
$errorCode, |
|
|
|
$errorMsg |
|
) |
| |
|
private |
Define last error.
- Parameters
-
integer | $errorCode | |
string | $errorMsg | |
◆ get_lastError()
ClicAndPayPayment::get_lastError |
( |
| ) |
|
Return last error as code.
- Returns
- integer
◆ get_lastErrorMessage()
ClicAndPayPayment::get_lastErrorMessage |
( |
| ) |
|
Return last error as text.
- Returns
- string
◆ load_configuration()
ClicAndPayPayment::load_configuration |
( |
| ) |
|
Load plugin configuration
- Returns
- void
◆ compute_signature()
ClicAndPayPayment::compute_signature |
( |
|
$params, |
|
|
|
$key, |
|
|
|
$hash |
|
) |
| |
Compute signature from params and key.
- Parameters
-
array | $params | |
string | $key | |
string | $hash | |
- Returns
- string
◆ initialise_configDisplay()
ClicAndPayPayment::initialise_configDisplay |
( |
| ) |
|
Initialise object in Admin_Site / view configuration mode.
- Returns
- void
◆ display_configDisplay()
ClicAndPayPayment::display_configDisplay |
( |
| ) |
|
Display object in Admin_Site / view configuration mode.
- Returns
- void
◆ initialise_configEdition()
ClicAndPayPayment::initialise_configEdition |
( |
|
$form | ) |
|
Initialise object in Admin_Site / edit configuration mode.
- Parameters
-
- Returns
- void
◆ display_configEdition()
ClicAndPayPayment::display_configEdition |
( |
| ) |
|
Display object in Admin_Site / edit configuration mode.
- Returns
- void
◆ save_configuration()
ClicAndPayPayment::save_configuration |
( |
| ) |
|
Execute object in Admin_Site / save configuration mode.
- Returns
- void
◆ $_lastErrorCode
ClicAndPayPayment::$_lastErrorCode = 0 |
|
private |
Last error code.
var integer $_lastErrorCode
◆ $_lastErrorMsg
ClicAndPayPayment::$_lastErrorMsg = '' |
|
private |
Last error message.
var string $_lastErrorMsg
◆ $_transactionId
ClicAndPayPayment::$_transactionId = '' |
|
private |
Transaction id.
var string $_transactionId
◆ $transactionParams
ClicAndPayPayment::$transactionParams |
|
private |
Initial value:= array(
'action_mode' => 'INTERACTIVE',
'amount' => 0,
'currency' => '978',
'page_action' => 'PAYMENT',
'payment_config' => 'SINGLE',
'trans_date' => '',
'trans_id' => '',
'version' => 'V2',
)
Transaction params.
var array $transactionParams
◆ $params
ClicAndPayPayment::$params = array() |
Input parameters.
var array $params
◆ $confirmationData
ClicAndPayPayment::$confirmationData = null |
|
private |
Confirmation data received from Payzen instant notifications.
var array $confirmationData
The documentation for this class was generated from the following file: