Magento Questions Answered By Magento Experts

 

Welcome Guest. Sign in or Signup

2 Answers

Paypal order doesn’t complete

Asked by: 1274 views , , , , , ,
Questions

Dear (Expert)

Our magento installation was working until recently. For some reason (after having installed it on a another server and then having returned to the original server – so perhaps a paypal order id syncing issue…) – after clicking “Place Order”, the payment goes through (i.e. paypal shows order as being successful and the magento log also records this fact. But the page does not refresh (i.e. redirect)

- The order, despite being successful, is not save in magentos orders table.  

- The server response is empty (whereas I believe it should contain a json string with the location of the “success” function)

- I’ve traced through the code into Mage/Checkout/OnepageController.php saveOrderAction(). It seems to be failing inside $this->getOnepage()->saveOrder()

- in eav_entity_store: increment_last_id for “order” is 100000234, increment_last_id for “invoice” is 100000233

- in sales_flat_quote: the order isn’t recorded, the last order is one a did with the “Check / Money order” option (which does redirect to “success” correctly”). the reserved_order_id is empty for this transaction.

Hope someone can help…

2 Answers



  1. Magentist on Jul 19, 2011 Reply

    Hi Jon – unfortunately this question is too specific to really be able to help without actually accessing your Magento site and debugging the issue.

    I’m assuming you made sure to entirely clear your Magento cache and sessions and re-index all data?

    Why did you move to another server and then migrated back? I don’t think there could be any “paypal order id syncing issue” though.

    Magento Themes and Magento Extensions by Magentist

    +1 Votes Thumb up 1 Votes Thumb down 0 Votes



  2. test on Sep 12, 2012 Reply

    hello,

    i lost my code.

    +1 Votes Thumb up 1 Votes Thumb down 0 Votes


Answer Question