Create not implemented refund method in wallet gateway

This commit is contained in:
cmorenov1402
2025-04-11 12:12:48 +02:00
parent 39e5c48ed5
commit 1e397ecd8d
+8
View File
@@ -83,4 +83,12 @@ class WalletGateway implements GatewayInterface
return $total;
}
public function processRefund(Checkout $checkout): void
{
throw new \LogicException(sprintf(
'The refund operation is not implemented for the %s gateway.',
static::getName()
));
}
}