Jump to content

guliver_twist

Members
  • Content count

    2
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Oliver Trako
  1. guliver_twist

    One Page Checkout Support

    Sorry, Also forgot to mention that Lines 947 reads: function confirmCheckout(){ global $customer_id, $comments, $order, $currencies, $request_type, $languages_id, $currency, $cart_PayPal_Standard_ID, $cart_PayPal_IPN_ID, $shipping, $cartID, $order_total_modules, $onepage, $credit_covers, $payment, $comments; if (tep_session_is_registered('customer_id')){ $onepage['createAccount'] = false; }else{ if (tep_not_null($_POST['password'])){ $onepage['createAccount'] = true; $onepage['customer']['password'] = $_POST['password']; }elseif (ONEPAGE_ACCOUNT_CREATE == 'create'){ $onepage['createAccount'] = true; $onepage['customer']['password'] = tep_create_random_value(ENTRY_PASSWORD_MIN_LENGTH); } } $paymentMethod = $onepage['info']['payment_method']; $html = ''; $infoMsg = 'Please press the continue button to confirm your order.'; $formUrl = tep_href_link(FILENAME_CHECKOUT_PROCESS, '', $request_type); if (tep_not_null($GLOBALS[$paymentMethod]->form_action_url)){ $formUrl = $GLOBALS[$paymentMethod]->form_action_url; $infoMsg = 'Please press the continue button to proceed to the payment processors page.'; } $GLOBALS[$paymentMethod]->pre_confirmation_check(); //THIS is line 947 $GLOBALS[$paymentMethod]->confirmation(); $hiddenFields = $GLOBALS[$paymentMethod]->process_button(); $html .= '<form name="redirectForm" action="' . $formUrl . '" method="POST"> <noscript>' . $infoMsg . tep_image_submit('button_continue.gif', IMAGE_CONTINUE) . '</noscript>' . tep_image_submit('button_continue.gif', IMAGE_CONTINUE, 'style="display:none;"') . $hiddenFields . '<script> document.write(\'<div style="width:100%;height:100%;margin-left:auto;margin-top:auto;text-align:center"><!--<img src="' . DIR_WS_HTTP_CATALOG.DIR_WS_IMAGES . 'ajax-loader.gif">--><br>Processing Order, Please Wait...</div>\'); redirectForm.submit(); </script></form>'; return $html; }
  2. guliver_twist

    One Page Checkout Support

    Hi Gents (and Ladies), I just installed the OPC module and love it! I am running OSC 2.2a that is running a large number of modules. It seems to work ok for me when using the checkout button. It also works of for me when using the paypal express button if I am logged in. However if i am not logged in and click on the paypall express button it takes me ok to the paypal site, I login to paypal and click confirm, it then takes me back to the site (and what I imagine would be the login/register and confirm order page), however I get the following error: Fatal error: Call to a member function pre_confirmation_check() on a non-object in /home/emmavita/public_html/includes/classes/onepage_checkout.php on line 947 I have noticed this error mentioned in the thread but no concrete solution. I have tried both the original paypal express module as well as the one that came with this contribution without much luck.. Please Help, I really want to use this module as it kicks soo much Ass. TY! :)
×