Rule to change order status to "Completed" not visible and not working
Hello
A few weeks ago I gave Commerce a try and I liked it VERY MUCH. One thing I wondered about though, was why the orders stay in Pending state after a payment is submitted via PayPal (sandbox in my case).
I asked a question and got this response from Stephen W. :
"They are in pending status because that's the status they go to once they've been paid.
It's up to the administrator to use Rules or custom code to push the order through whatever status they want"
So I created a rule under Checkout Settings (Home Administration Store settings Advanced store settings Checkout settings Checkout rules ) by clicking the "Add a checkout rule" button. The rule settings were:
Name: "Set order status to completed"
Tags: Commerce Checkout
.. after that, in:
Events --> I removed the default event and added an event "When an order is first paid in full"
Conditions --> did not change anything
Actions --> Added "Update order state" and "Update order status" - because I was not sure which one I need. And I set the weight to 7 to make sure it is the last Rule in the chain.
I then saved this new Rule.
- - -
The problems:
1. The new Rule does not appear in the list of Rules for Checkout. Why? It does however appear in
"... Site settings Advanced settings Configuration Workflow Rules"
2. The Rule does not change the order status (or state? which one is it btw??) to Completed.
Thanks in advance to whoever could help me sort this out!!
Comments
.. and by "the rule is not changing the state of the order" I mean that I did enter a new order.. I don't expect it to change existing ones of course.