robertpol Posted July 25, 2013 Share Posted July 25, 2013 Hello, I have big problem with Prestashop 1.5.4.1... My order-confirmation.php page don't work... if I write in url myshop.com/order-confirmation.php Iam redirect to myshop.com/history.php Its big problem becouse I cant use e-commerce Google Analitycs for tracking conversion. Can anybody help me? Link to comment Share on other sites More sharing options...
Martin Uker K Posted July 25, 2013 Share Posted July 25, 2013 Order-confirmation only works if you pass a command throught all the steps. you can't just display the page whenever you want. You can use google analityca and track on it. Martin Link to comment Share on other sites More sharing options...
robertpol Posted July 25, 2013 Author Share Posted July 25, 2013 Yes I pass all steps. I find the product, add them to cart, register, buy, pay and after pay system redirect me to www.myshop.com/history?viewType=grid&xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx... Why not to: www.myshop.com/order-confirmation ? Link to comment Share on other sites More sharing options...
vekia Posted July 25, 2013 Share Posted July 25, 2013 that's right, please create fake order in your store, then when you will probably see correct order confirmation page. Moreover, everything depends on payment module that you're using Link to comment Share on other sites More sharing options...
Martin Uker K Posted July 25, 2013 Share Posted July 25, 2013 Vekia's right on that point. Module may affect the landing confirmation page. But they all usually implement the hook_confirmation in their page to make sure everything landup fine. If you want to add a tacker (Google or other), use a module to achieve it. Martin Link to comment Share on other sites More sharing options...
vekia Posted July 25, 2013 Share Posted July 25, 2013 put some light on what kind of module you use, maybe some sources, then we will be able to say something more Link to comment Share on other sites More sharing options...
robertpol Posted July 25, 2013 Author Share Posted July 25, 2013 Iam use Polish payment module: https://transferuj.pl/integracja-w-sklepach.html https://secure.transferuj.pl/partner/pliki/ps_transferuj_1.5.zip I create many times fake order with 5 step order and one-page-checkout and always when Iam pay module redirect me to url something like this: www.myshop.com/history?viewType=grid&xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.......... Link to comment Share on other sites More sharing options...
robertpol Posted July 25, 2013 Author Share Posted July 25, 2013 @Martin Do you recommend any module for track conversion in Google Analitycs? Link to comment Share on other sites More sharing options...
Martin Uker K Posted July 25, 2013 Share Posted July 25, 2013 Vekia could answer this one more easily than me, I tend to create my own module. I also suggest a google search before asking me, there must be plenty of tracking module on the addons of Prestashop. Martin Link to comment Share on other sites More sharing options...
vekia Posted July 25, 2013 Share Posted July 25, 2013 'goBackUrl' => Tools::getShopDomainSsl(true, true).__PS_BASE_URI__.'history.php', 'goBackUrlError' => Tools::getShopDomainSsl(true, true).__PS_BASE_URI__.'history.php', controllers/front/payment.php Link to comment Share on other sites More sharing options...
robertpol Posted July 25, 2013 Author Share Posted July 25, 2013 Change this for: 'goBackUrl' => Tools::getShopDomainSsl(true, true).__PS_BASE_URI__.'order-confirmation.php', 'goBackUrlError' => Tools::getShopDomainSsl(true, true).__PS_BASE_URI__.'order-confirmation.php', ? Link to comment Share on other sites More sharing options...
vekia Posted July 25, 2013 Share Posted July 25, 2013 this module should have got own payment return page (order validation) try to use this: $link->getModuleLink('transferuj', 'validation', [], true) moreover, method you're trying to use is deprecated (in ps 1.5.x) you have to use index.ph?controller=CONTROLLER_HERE Link to comment Share on other sites More sharing options...
robertpol Posted July 25, 2013 Author Share Posted July 25, 2013 Where I can use this: $link->getModuleLink('transferuj', 'validation', [], true) In controllers/front/payment.php? Link to comment Share on other sites More sharing options...
robertpol Posted July 27, 2013 Author Share Posted July 27, 2013 up Link to comment Share on other sites More sharing options...
Recommended Posts