K2 + Recaptcha + OPC

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

K2 + Recaptcha + OPC

Postby admin » Fri Mar 15, 2013 3:52 pm

Dear friends, we just found out that OPC is not compatible with K2 when using recaptcha which is not displayed in OPC. We just added this support for next release of OPC (2.0.122) which includes this fix

the modified code in core OPC file
\components\com_onepage\controllers\opc.php

Code: Select all
// k2 mod with recaptcha enabled
     $session = JFactory::getSession();
     $orig = $session->get('socialConnectData');
     $session->set('socialConnectData', true);
     // end p1 k2 mod with recaptcha enabled
    
     $this->saveData($cart,$reg);
    
     // k2 mod with recaptcha enabled
     if (empty($orig))
     $session->clear('socialConnectData');
     else
     $session->set('socialConnectData', $orig);
     // end p2 k2 mod with recaptcha enabled


best regards,
stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Return to One Page Checkout for Virtuemart 2

cron