Refund fix for card stream modern

Refunding did not always work before because of bad input checks. Now there is better checks on inputs from the gateway.