diff --git a/src/Gateway/AbstractGateway.php b/src/Gateway/AbstractGateway.php index 22f214a..53b00ba 100644 --- a/src/Gateway/AbstractGateway.php +++ b/src/Gateway/AbstractGateway.php @@ -71,4 +71,12 @@ abstract class AbstractGateway implements GatewayInterface return $checkout; } + + public function processRefund(Checkout $checkout): void + { + throw new \LogicException(sprintf( + 'The refund operation is not implemented for the %s gateway.', + static::getName() + )); + } }