public function plgVmOnSelectCheckPayment (VirtueMartCart $cart, &$msg) {
if (!$this->selectedThisByMethodId($cart->virtuemart_paymentmethod_id)) {
return NULL; // Another method was selected, do nothing
}
if (!($this->_currentMethod = $this->getVmPluginMethod($cart->virtuemart_paymentmethod_id))) {
return FALSE;
}
$this->kk_gelen_bilgileri=array(
'kk_isim' => vRequest::getVar('kk_isim'),
'kk_numara' => vRequest::getVar('kk_numara'),
'kk_ay' => vRequest::getVar('kk_ay'),
'kk_yil' => vRequest::getVar('kk_yil'),
'kk_cvv2' => vRequest::getVar('kk_cvv2'),
'kk_taksit' => vRequest::getVar('kk_taksit'),
);
if (!$this->_validate_creditcard_data(TRUE)) {
return FALSE;
}
$this->_setVmtrpayuSession();
return TRUE;
}
Even if the result is false validator,
Completed the order process
------- edit --------
I am sorry
very little english
--------------
Best yet - very informative..... ::)
use return false, or true and not FALSE, or TRUE.
public function plgVmOnSelectCheckPayment (VirtueMartCart $cart, &$msg) {
return false;
}
I tried but it did not
vm2 or vm3?
joomla 3.3.6.
VirtueMart 3.0.2