public static function ExpressCheckoutRequestSubscriber::getSubscribedEvents in Commerce PayPal 8
File
- tests/
modules/ commerce_paypal_test/ src/ EventSubscriber/ ExpressCheckoutRequestSubscriber.php, line 16
Class
- ExpressCheckoutRequestSubscriber
- Alters the Express checkout request before its sent to PayPal.
Namespace
Drupal\commerce_paypal_test\EventSubscriberCode
public static function getSubscribedEvents() {
$events = [
'commerce_paypal.express_checkout_request' => [
'setNvpData',
-100,
],
];
return $events;
}