• Resolved heyluke

    (@heyluke)


    Hi guys,

    after working in a staging environment and then publishing that site I exported and imported the orders and users from the “old” site to have the latest orders available. Now I get complaints from new customers that they see orders from other customers in their account or from old customers that they cannot log into their account anymore.

    Is there a way to fix this problem? In particular customers should not be able to see other orders.

    Thanks for your help,

    Luke

Viewing 7 replies - 1 through 7 (of 7 total)
  • mother.of.code

    (@imazed)

    The Mother of Code

    Hey Luke! Sounds like your database migration didn’t work as it should. If customers are seeing orders that are not supposed to be linked to them, it sounds like that’s where the problem lies. How did you import/export your site?

    Thread Starter heyluke

    (@heyluke)

    Hi iMazed,

    thanks for your reply. I did not see it earlier due to time difference.

    I used the staging feature from my hoster that basically duplicates everything so I have a second website. Once I am done with my modification, I set my staging website to “live” which replaces the original site.

    To prevent losing the orders, I exported the orders with a plugin, then imported them again. This might be the culprit?

    Is there a way to “clean up” the database to have it working again?

    Thread Starter heyluke

    (@heyluke)

    Does anyone have a solution, please?

    Dustin Hartzler

    (@dustinhartzler)

    Automattic Happiness Engineer

    > To prevent losing the orders, I exported the orders with a plugin, then imported them again. This might be the culprit?

    To be certain, you exported from the what was live site and imported into the staging site, correct?

    Also, do you update the users who have access to the site? If user accounts were created on the old live site, then you’ll need to add these users to the new site and make sure their orders are connected.

    Thread Starter heyluke

    (@heyluke)

    Yes Dustin. That is correct.

    I had a look at the users. They are on the new site as well. How do I connect the orders to the users or disconnect false orders?

    Joel Williams

    (@joelwills)

    Automattic Happiness Engineer

    Hi there!

    If you edit an order you can assign/change who the order was made under under “Customer”.

    That way you can assign the correct customer and unassign the incorrect one (either to the correct one or to perhaps your account to remove the order from their account).

    If you have downloadable products in the order, don’t forget to regenerate download permissions (under Order Actions, top right) after saving.

    Hope that helps!

    Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘User account’ is closed to new replies.