Timeline for How do I add an 'order complete' from the Commerce module to the Rules events in Drupal 8?
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 5, 2017 at 21:45 | vote | accept | Japo Domingo | ||
Jun 27, 2017 at 22:05 | comment | added | Neograph734 | Nice, good to know you have figured this out. I might need it later as well :-) | |
Jun 27, 2017 at 21:58 | answer | added | Japo Domingo | timeline score: 1 | |
Jun 27, 2017 at 21:54 | comment | added | Japo Domingo |
Neograph734, Yes you are right, apparently the order_complete event does not exist. Following the rules documentation and then changing the event to commerce_order.place.post_transition worked!
|
|
Jun 27, 2017 at 21:52 | history | edited | Japo Domingo | CC BY-SA 3.0 |
added detail about the rules action.
|
Jun 27, 2017 at 21:45 | comment | added | Neograph734 |
That tutorial does not hook into the order_complete event. That is just the name of your custom event listener service (it could be anything). It listens to the commerce_order.place.post_transition event.
|
|
Jun 27, 2017 at 20:46 | answer | added | joshmiller | timeline score: 0 | |
Jun 27, 2017 at 4:23 | history | asked | Japo Domingo | CC BY-SA 3.0 |