Dissappearing orders

I think I’ve seen this before in the forums, but not in a while.

I have MP on multisite and one of my sellers had a problem with an order recently which didn’t show up in her dashboard. The interesting part is that it was successfully processed via PayPal (I even received my cut of the chained payment). The details for the order within PayPal even includes the unique order number that is assigned by MP. The order itself doesn’t appear in the dashboard at all. I checked the database as well, just to be sure, and there is no record of it in the database either – not even a messed up one.

It appears that it simply wasn’t written to the database (but then, where did the order number come from? The PayPal transaction?). Is the order only written to the database after the transaction? Any idea what could have occurred to prevent it from being written?

To add to the mystery, a different customer made the same order (same product) the next day and everything went smoothly; the order was properly recorded. We just have the one that vanished into thin air.

  • Arun Basil Lal
    • New Recruit

    That is obviously strange. Can you confirm that you are using the latest version of MarketPress?

    Also, this was a one time event right? Is this the first time you see this? You have mentioned that you have seen this on the forums, but not with you I hope.

  • Saunt Valerian
    • The Bug Hunter

    Yeah, this is a one-time thing (so far, its the first report of it I’ve had). The update from my seller was that she got the PayPal payment notification (but PayPal doesn’t get the shipping details, so she has to contact the customer via email for her address).

    Some months (a year?) ago I remember folks having some issues with disappearing orders, I never read the threads though since I never saw that kind of issue. This is the first time I’ve ever seen it. Me and my seller are kind of in, “monitor and see if it happens again” mode right now.

    If I knew more about how MP creates orders I might be able to understand it better. I know that an order is only a custom post type (mp_order) and the the order number is the post title, so how does it create an order number without actually saving an order to the database pre-gateway transaction? If the cpt order doesn’t exist, then how did the order number get generated?

    Yes, I’m on the latest MP version.

  • Aaron
    • Ex Staff

    The order is not created until either the user clicks the link on paypal after completing to go back to the confirm page (easy to skip), or the ipn is received from paypal.

    They could try checking their IPN history and see if there was a problem sending the IPN. Otherwise it could just be a freak thing.