function hook_payment_status_info_alter in Payment 7
Alters payment statuses.
Parameters
array $statuses_info: An array with PaymentStatusInfo objects.
Return value
NULL
1 invocation of hook_payment_status_info_alter()
- payment_statuses_info in ./
payment.module - Gets payment statuses.
File
- ./
payment.api.php, line 33 - Hook documentation.
Code
function hook_payment_status_info_alter(array &$statuses_info) {
$statuses_info[PAYMENT_STATUS_FAILED]->title = 'Something went wrong!';
}