diff --git a/src/Gateways/PrivatbankarRecurrent.php b/src/Gateways/PrivatbankarRecurrent.php index baa0e1d..777c004 100644 --- a/src/Gateways/PrivatbankarRecurrent.php +++ b/src/Gateways/PrivatbankarRecurrent.php @@ -37,11 +37,12 @@ public function charge($payment, $token): string public function checkValid($token) { // TODO: 24 charges or 2 years since initial payment + throw new InvalidRequestException(self::GATEWAY_CODE . " gateway doesn't support checking if token is still valid"); } public function checkExpire($recurrentPayments) { - throw new InvalidRequestException("gateway doesn't support token expiration check"); + throw new InvalidRequestException(self::GATEWAY_CODE . " gateway doesn't support token expiration check"); } public function hasRecurrentToken(): bool