News:

Looking for documentation? Take a look on our wiki

Main Menu

plgVmOnSelectCheckPayment

Started by crazymesut, January 11, 2015, 22:31:53 PM

Previous topic - Next topic

crazymesut

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
--------------
VirtueMart Turkey
Sanal Pos Çözümleri ve Destek Hizmetleri

GJC Web Design

Best yet - very informative..... ::)
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Milbo

use return false, or true and not FALSE, or TRUE.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

crazymesut


public function plgVmOnSelectCheckPayment (VirtueMartCart $cart, &$msg) {           
return false;
}


I tried but it did not
VirtueMart Turkey
Sanal Pos Çözümleri ve Destek Hizmetleri

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

crazymesut

VirtueMart Turkey
Sanal Pos Çözümleri ve Destek Hizmetleri