'errorMessage' =>
$errorMessage,
'orderTransactionId' =>
$orderTransactionId,
],
$e );
} public static function customerCanceled(string
$orderTransactionId, string
$additionalInformation, ?\Throwable
$e = null
): self
{ if (!Feature::
isActive('v6.6.0.0'
)) { return new CustomerCanceledAsyncPaymentException($orderTransactionId,
$additionalInformation,
$e);
} return new self( Response::HTTP_BAD_REQUEST,
self::PAYMENT_CUSTOMER_CANCELED_EXTERNAL,
'The customer canceled the external payment process. {{ additionalInformation }}',
[ 'additionalInformation' =>
$additionalInformation,
'orderTransactionId' =>
$orderTransactionId,
],
$e );