b1han177 Posted January 29, 2013 Share Posted January 29, 2013 (edited) I have my paypal module in sandbox mode everything is right with the setup of it. When I go to my website put product into cart and checkout everything works fine go thru paypal fine when transaction is finished it goes to the payment.php. I have debug on and shows me a .... Fatal error: Uncaught exception 'PrestaShopException' with message 'Property OrderDetail->id_warehouse is empty I have looked everywhere on forum for fix could not find it googled it as well. Could someone tell me what is wrong. I am using the newest versions of both softwares Thanks Edited January 29, 2013 by b1han177 (see edit history) Link to comment Share on other sites More sharing options...
shamun Posted January 30, 2013 Share Posted January 30, 2013 In /classes/orders/OrderDetail.php you need to change the following (line ~164): 'id_warehouse' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId', 'required' => true), to 'id_warehouse' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId'), 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