function payment_rules_action_payment_invalidate in Payment 7
Implements Rules action callback: invalidate a combination of a payment and a payment method.
Parameters
$message:
Return value
NULL
Throws
PaymentValidatioNException
File
- ./
payment.rules.inc, line 426 - Rules integration.
Code
function payment_rules_action_payment_invalidate($message) {
throw new PaymentValidationException($message);
}