Joo Recaptcha compatiblity

Please post your issues and questions about One Page Checkout for Virtuemart 2 to this forum.

Joo Recaptcha compatiblity

Postby admin » Wed Dec 04, 2013 6:53 pm

Hello friends, we strongly encourage you to use Joomla's 2.5 core captcha functions (which use plugins of type captcha instead of type system), but in case you decide to use Joo Recaptcha solution the compatiblity update for OPC will be released in version 214 and you also must modify the core captcha php to make OPC work within logged in context:

in:
\plugins\system\joo_recaptcha_pro\joo_recaptcha_pro.php
search for
Code: Select all
if( $this->params->get('addToVMCheckout',1) == 1 &&
         $option == 'com_virtuemart' &&
         $task == "checkout"
      ){
      
         return true;
      }


relace with:
Code: Select all
if( $this->params->get('addToVMCheckout',1) == 1 &&
         $option == 'com_virtuemart' &&
         $task == "checkout" &&
         $this->Is_Not_LogedIn()
      ){
      
         return true;
      }



This way captcha will not check for captcha of your logged in customers and OPC will be able to process your order.

Best Regards,
Stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Return to One Page Checkout for Virtuemart 2