function payment_rules_action_payment_set_status in Payment 7
Implements Rules action callback for payment_rules_payment_set_status.
File
- ./
payment.rules.inc, line 373 - Rules integration.
Code
function payment_rules_action_payment_set_status(Payment $payment, $status_data) {
$status = new PaymentStatusItem($status_data);
$payment
->setStatus($status);
}