thehandlestudio Posted March 12, 2009 Share Posted March 12, 2009 Hi,My shop is nearly ready for launch and I was doing some test orders and everthing was fine no problems at all, then on my next test after I complete the credit card details I get a blank screen with Invalid new order state message at the top. Now I am stuck in what to do as I am pulling my hair out with this of what I have left.. Hope you can help soon,Mark.. Link to comment Share on other sites More sharing options...
thehandlestudio Posted March 12, 2009 Author Share Posted March 12, 2009 Has anyone got any ideas on this please???Thanks,Mark.. Link to comment Share on other sites More sharing options...
thehandlestudio Posted March 13, 2009 Author Share Posted March 13, 2009 Anyone???? I am willing to pay a small fee also to have this problem sortedThanks,Mark.. Link to comment Share on other sites More sharing options...
thehandlestudio Posted March 14, 2009 Author Share Posted March 14, 2009 I am on the verge of deleting 3 months of work if I can't get this to work, please is there anyone who can help me???Thanks,Mark.. Link to comment Share on other sites More sharing options...
thehandlestudio Posted March 19, 2009 Author Share Posted March 19, 2009 I guess there isn't anyone....So delete it is.......... Link to comment Share on other sites More sharing options...
prestabase Posted March 20, 2009 Share Posted March 20, 2009 thehandlestudio,Can you paste the error message here? Or can you provide us with the URL so we all can test this? Link to comment Share on other sites More sharing options...
thehandlestudio Posted March 20, 2009 Author Share Posted March 20, 2009 When I click submit, where it should say about your order confirmation I get a message saying 'Invalid new order state' at the top of the page.The url that it gives is only the url for the payment screen, please go to www.handlestudio.co.uk and do a test order to see the error.I also don't get a order confirmation in the back office either. Hope you can help.Thanks,Mark. Link to comment Share on other sites More sharing options...
thehandlestudio Posted March 28, 2009 Author Share Posted March 28, 2009 anyone please?????? Link to comment Share on other sites More sharing options...
Slade Posted March 28, 2009 Share Posted March 28, 2009 I did a test order and got all the way to paypal where it asked for my CC info. Where exactly is the problem cause I'm not seeing it. Link to comment Share on other sites More sharing options...
thehandlestudio Posted March 28, 2009 Author Share Posted March 28, 2009 it is when you pay via the credit card module, the problem occurs when you have inserted your card details then click submit, cheque is ok, paypal is ok and google is ok.Thanks,Mark. Link to comment Share on other sites More sharing options...
thehandlestudio Posted April 2, 2009 Author Share Posted April 2, 2009 Could someone please take alook at this piece of code below as to the error I seem to have while trying to submit a test order with paying with a credit card, this is in the classes/orderhistory.php file/* Change invoice number of order ? */ $newOS = new OrderState(intval($new_order_state)); $order = new Order(intval($id_order)); if (!Validate::isLoadedObject($newOS) OR !Validate::isLoadedObject($order)) die(Tools::displayError('Invalid new order state')); if ($newOS->invoice AND !$order->invoice_number) $order->setInvoice(); if ($newOS->delivery AND !$order->delivery_number) $order->setDelivery(); Hook::postUpdateOrderStatus(intval($new_order_state), intval($id_order));The highlighted piece is the error I am getting does anyone know why this is??Regards,Mark. Link to comment Share on other sites More sharing options...
Floobynooby Posted April 4, 2009 Share Posted April 4, 2009 Why not just turn off the credit card module for the moment until the problem is resolved. You can pay with credit card through paypal and debit card. You don't need a paypal account to use paypal as a payment gateway if you are a customer. Link to comment Share on other sites More sharing options...
thehandlestudio Posted April 5, 2009 Author Share Posted April 5, 2009 I know, but I would like to get this sorted before the site went live but no one seems to know what the problemis.Thanks,Mark. Link to comment Share on other sites More sharing options...
thehandlestudio Posted April 7, 2009 Author Share Posted April 7, 2009 I have found this message 'Invaild new order state' in Orderhistory.php, could someone PLEASE tell me why this appears after clicking the submit button after paying with credit card. No order shows in back office either which is related to this I think.Regards,Mark. Link to comment Share on other sites More sharing options...
thehandlestudio Posted April 17, 2009 Author Share Posted April 17, 2009 This is now solved by deleting the whole thing and starting again, 3 months of work down the pan. Thanks for the support.Mark.. 1 Link to comment Share on other sites More sharing options...
gonebdg - webindoshop.com Posted July 25, 2009 Share Posted July 25, 2009 Where is support forum ?I just finished adding a new state then i make a modification module base on Bank Wire module to give an ability for my customer to pay via local bank When i testing it with my new product download and also product non-download, i've got this problem too! "Invalid new order state"If i'm going back, my cart is emptyHow can i solve this problem ? Link to comment Share on other sites More sharing options...
shaiss Posted August 5, 2009 Share Posted August 5, 2009 This might be a bit late, but home this helpshttp://www.prestashop.com/forums/viewreply/111721/ 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