constant OrderEvents::ORDER_PAID in Commerce Core 8.2
Name of the event fired after the order has been fully paid.
Guaranteed to only fire once, when the order balance reaches zero. Subsequent changes to the balance won't redispatch the event (e.g. in case of a refund followed by an additional payment).
Fired before the order is saved.
See also
\Drupal\commerce_order\OrderInterface::getBalance()
\Drupal\commerce_order\Event\OrderEvent
File
- modules/
order/ src/ Event/ OrderEvents.php, line 41
Class
Namespace
Drupal\commerce_order\EventCode
const ORDER_PAID = 'commerce_order.order.paid';