awtprod Posted September 24, 2011 Share Posted September 24, 2011 Hi, I am having a problem with the google checkout module. After completing an order through google checkout, the customer is return to the order history page. Any ideas as to why this is happening? If you would like to see the problem in action, check out my website, teethsuccess.com. Google checkout is in sandbox mode right now, fyi. Thanks! Link to comment Share on other sites More sharing options...
Mr S Posted October 15, 2012 Share Posted October 15, 2012 @awtprod any luck fix it? google analytics goals & ecommerce don't work, because of the google checkout mode not loading confirmation page. Link to comment Share on other sites More sharing options...
Mr S Posted October 16, 2012 Share Posted October 16, 2012 Here is my fix for it. Edit file: /modules/gcheckout/gcheckout.php Find: $googleCart->SetEditCartUrl(Tools::getShopDomainSsl(true, true).__PS_BASE_URI__.'order.php'); $googleCart->SetContinueShoppingUrl(Tools::getShopDomainSsl(true, true).__PS_BASE_URI__.'order-confirmation.php'); $googleCart->SetRequestBuyerPhone(false); $googleCart->SetMerchantPrivateData($cart->id.'|'.$cart->secure_key); Update with: $googleCart->SetEditCartUrl(Tools::getShopDomainSsl(true, true).__PS_BASE_URI__.'order.php'); $googleCart->SetContinueShoppingUrl(Tools::getShopDomainSsl(true, true).__PS_BASE_URI__.'order-confirmation.php?id_cart='.(int)($this->context->cart->id).'&id_module='.(int)($this->id).'&key='.$this->context->cart->secure_key); $googleCart->SetRequestBuyerPhone(false); $googleCart->SetMerchantPrivateData($this->context->cart->id.'|'.$this->context->cart->secure_key); 1 Link to comment Share on other sites More sharing options...
Mr S Posted October 16, 2012 Share Posted October 16, 2012 You also need to update the /modules/gcheckout/payment_return.tpl (see attached file) payment_return.tpl.txt Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now