2024-04-08 16:52:54 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace D3\Unzer\Modules\Core;
|
|
|
|
|
|
|
|
/**
|
|
|
|
*/
|
|
|
|
class Counter extends Counter_parent
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Returns module specific counter suffix
|
|
|
|
*
|
|
|
|
* @return string
|
|
|
|
*/
|
|
|
|
protected function _getCounterSuffix()
|
|
|
|
{
|
|
|
|
$sCountId = $this->_getCountId();
|
|
|
|
|
|
|
|
if ($sCountId != 'd3unzer') {
|
|
|
|
return parent::_getCounterSuffix();
|
|
|
|
}
|
|
|
|
|
|
|
|
$sSuffixString = '';
|
|
|
|
$sActionId = $this->_getActionId();
|
|
|
|
|
|
|
|
if ($sActionId == "transactionid_ccdb" || $sActionId == "transactionid_otpa") {
|
|
|
|
return "__@@" . date("Y-m-d H:i:s");
|
|
|
|
}
|
|
|
|
|
|
|
|
return $sSuffixString;
|
|
|
|
}
|
|
|
|
}
|