Jump to content


  • Posts

  • Joined

  • Last visited

Contact Methods

Profile Information

  • Location
  • Activity
    Web development agency

jigar.m1987's Achievements


Newbie (1/14)



  1. Hello. I am facing the same problem. My site's country setting is Malaysia and I have only one active currency MYR. When I checkout, my credit card is charged and I see the payment in PayPal's interface. But, the order remains uncreated in the PrestaShop website. I am using the PayPal Europe module.
  2. I faced this problem 3 times while moving sites from my localhost to a live server. If anyone is facing the issue in a similar scenario, you might want to change this line in the .htaccess RewriteRule . - [E=REWRITEBASE:/2014/someproject] Replace the 2014/someproject/ with the base URL on the live server (the same thing also needs to be done in the shop_url table in the database with physical_uri. Hope this helps someone.
  3. Hello. I faced this problem too and found a solution. Might seem a little dirty, but it seems it is the only way out, since we ain't got an option to override module classes in PrestaShop 1.6. Anyway, here is the solution: Step 1: Backup the file controllers/front/CategoryController.php so that you can rollback if and when you want to; Step 2: In line 62, there is an if with a condition like: if (!Validate::isLoadedObject($this->category) || !$this->category->inShop() || !$this->category->isAssociatedToShop() || in_array($this->category->id, array(Configuration::get('PS_HOME_CATEGORY'), Configuration::get('PS_ROOT_CATEGORY')))) You need to remove the condition for home, i.e. the modified line should read like: if (!Validate::isLoadedObject($this->category) || !$this->category->inShop() || !$this->category->isAssociatedToShop() || in_array($this->category->id, array(Configuration::get('PS_ROOT_CATEGORY')))) Now, the 404 issue should be solved. However, products still won't show up on the home category. Step 3: In line 195, there is another if with a condition, which you would need to change to: if (!$hookExecuted || is_null($this->nbProducts)) Yay! That should take care of your problem! Took care of mine.
  4. Hello, I am kinda posting for the first time so please excuse me if I break some forum rules. I installed prestashop for one of my clients. They got this PayU India module which I installed to their site. But when someone clicks Checkout with PayU, as soon as the customer is redirected to the payment gateway, s/he receives two emails! One email states that the customer has paid the amount in full (though he didn't) and the other stating Awaiting Bank Wire Payment. Upon investigation of their code, I found the line in the hookPayment part of the code: $payu->validateOrder((int)$cart->id, Configuration::get('PS_OS_BANKWIRE'), $total, $payu->displayName, NULL, NULL, (int)$currency->id, false, $customer->secure_key); Here $payu is an instance of the Payu module object. I think Configuration::get('PS_OS_BANKWIRE') is setting the order status to Awaiting Bank Wire Payment and $total (being the total amount of the order) is setting the order as paid in full. Are my guesses correct? All I need to confirm is if this is an error on the part of the PayU module (cause if it is, I will get them to correct it for me).
  • Create New...