Jump to content

No order confirmation page with Google Checkout


awtprod

Recommended Posts

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

  • 1 year later...

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);

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...