function onTP_Storelog($data)
 {
     $log_write = $this->params->get('log_write', '0');
     if ($log_write == 1) {
         $log = plgPaymentJomsocialpointsHelper::Storelog($this->_name, $data);
     }
 }
 function onTP_Storelog($data)
 {
     $log = plgPaymentJomsocialpointsHelper::Storelog($this->_name, $data);
 }