Timeline for How to hook payment created on commerce 2
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 2, 2018 at 7:27 | comment | added | christophe Natale | Finally I must be informed when: - there is payment completed - A payment is avoided For these two cases I chose the hook_entity. - an order is completed - a command is deleted For the completed order I used the event : commerce_order.place.post_transition But I do not find a way to be informed when an order is deleted, the event commerce_order.commerce_order.delete does not work? | |
Jun 21, 2018 at 9:58 | comment | added | christophe Natale |
I just see that there is 3 state of payment. orders/127/payments/20/operation/receive orders/127/payments/20/operation/refund orders/127/payments/20/operation/void So I need to interact with these 3 payment states regardless of the bill status. Do U think commerce_order.place.post_transition should be the solution ?
|
|
Jun 21, 2018 at 9:09 | history | answered | zaporylie | CC BY-SA 4.0 |