Implement abstract process refund

This commit is contained in:
cmorenov1402
2025-04-11 12:10:38 +02:00
parent bbcc7d331a
commit 39e5c48ed5
+8
View File
@@ -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()
));
}
}