'The provided token {{ token }} is invalidated and the payment could not be processed.',
[ 'token' =>
$token,
],
$e );
} public static function unknownPaymentMethod(string
$paymentMethodId, ?\Throwable
$e = null
): self
{ if (!Feature::
isActive('v6.6.0.0'
)) { return new UnknownPaymentMethodException($paymentMethodId,
$e);
} return new self( Response::HTTP_BAD_REQUEST,
self::PAYMENT_UNKNOWN_PAYMENT_METHOD,
'The payment method {{ paymentMethodId }} could not be found.',
[ 'paymentMethodId' =>
$paymentMethodId,
],
$e );
}