Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Invalid Order upon clicking Customer payment page → link on Edit order page #15168

Closed
spraveenitpro opened this issue May 19, 2017 · 1 comment

Comments

@spraveenitpro
Copy link

spraveenitpro commented May 19, 2017

EXPLANATION OF THE ISSUE

Getting Invalid Order message upon clicking Customer payment page → link on Edit order page after manually creating the order from backend.

STEPS TO REPRODUCE THE ISSUE

  1. Goto WooCommerce >> Orders >> Add Order
  2. Select a customer and add products to the order.
  3. Click the Create button on top right as this will create a new manual order in Pending Payment status.
  4. Now click on the Customer payment page → link which will give the Invalid Order error

Demo:

Ticket:

zd-woothemes-573842

###Cc
@mattyza @mikejolley

@spraveenitpro spraveenitpro added the type: bug The issue is a confirmed bug. label May 19, 2017
@mikejolley
Copy link
Member

If an order is assigned to a user, the form will not show unless logged in as said user.

This PR for 3.1 adds a login form and changes the error messages to make this clearer: #15076

I've seen admin users argue that they use this to take customer payments, but this is not a supported use case and can have severe limitations e.g. card tokens being stored to the admin account, and customer address details being stored to the admin user object. In these cases, a user switching plugin can work instead.

@mikejolley mikejolley removed the type: bug The issue is a confirmed bug. label May 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants