You are here

public static function OrderPaymentIntentSubscriber::getSubscribedEvents in Commerce Stripe 8

File

src/EventSubscriber/OrderPaymentIntentSubscriber.php, line 54

Class

OrderPaymentIntentSubscriber
Subscribes to order events to syncronize orders with their payment intents.

Namespace

Drupal\commerce_stripe\EventSubscriber

Code

public static function getSubscribedEvents() {
  return [
    OrderEvents::ORDER_UPDATE => 'onOrderUpdate',
  ];
}