Implement abstract process refund
This commit is contained in:
@@ -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()
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user