19 public static function onSaleAfterPsServiceProcessRequest(Main\
Event $event):
void
21 $parameters = $event->getParameters();
24 $payment = $parameters[
'payment'];
26 $serviceResult = $parameters[
'serviceResult'];
28 if ($payment instanceof
Sale\
Payment && $serviceResult->isSuccess())