'errorMessage' =>
$errorMessage,
'orderTransactionId' =>
$orderTransactionId,
],
$e );
} public static function syncProcessInterrupted(string
$orderTransactionId, string
$errorMessage, ?\Throwable
$e = null
): self
{ if (!Feature::
isActive('v6.6.0.0'
)) { return new SyncPaymentProcessException($orderTransactionId,
$errorMessage,
$e);
} return new self( Response::HTTP_BAD_REQUEST,
self::PAYMENT_SYNC_PROCESS_INTERRUPTED,
'The synchronous payment process was interrupted due to the following error:' . \PHP_EOL . '{{ errorMessage }}',
[ 'errorMessage' =>
$errorMessage,
'orderTransactionId' =>
$orderTransactionId,
],
$e );