Timeline for Magento 2: Best way to change customer group event & call if needed?
Current License: CC BY-SA 3.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 27, 2017 at 8:06 | history | undeleted | Khoa Truong | ||
| Feb 27, 2017 at 8:06 | history | edited | Khoa Truong | CC BY-SA 3.0 | deleted 34 characters in body |
| Feb 24, 2017 at 8:54 | history | deleted | Khoa Truong | via Vote | |
| Jan 16, 2017 at 7:38 | comment | added | Khoa Truong | @AnkitShah you can check the state of order. In case, new order status, we need to check if(in_array($order->getState(), ['new', 'completed'])) | |
| Jan 16, 2017 at 6:46 | comment | added | Jackson | It gives new order status This if ($order->getState() === Order::STATE_COMPLETE) { is not working | |
| Jan 13, 2017 at 9:31 | history | edited | Khoa Truong | CC BY-SA 3.0 | added 3 characters in body |
| Jan 13, 2017 at 9:26 | comment | added | Jackson | In observer i already checked. Don't want to enter in Observer. But using sales_order_save_after if payment failed then also it changes the customer group w/o placing successfully order right? | |
| Jan 13, 2017 at 9:24 | history | answered | Khoa Truong | CC BY-SA 3.0 |