added another state of error in payment if the payment is a success but the treatment has an error
This commit is contained in:
@@ -113,18 +113,21 @@ function get_payment_messages_option_CIPF() {
|
||||
|
||||
return Plgntls::get_option_safe($option_payment);
|
||||
}
|
||||
|
||||
function get_payment_message_success_CIPF() {
|
||||
Plgntls::debug_infos();
|
||||
$payment_option = get_payment_messages_option_CIPF();
|
||||
return $payment_option['success'];
|
||||
}
|
||||
|
||||
function get_payment_message_failure_CIPF() {
|
||||
Plgntls::debug_infos();
|
||||
$payment_option = get_payment_messages_option_CIPF();
|
||||
return $payment_option['failure'];
|
||||
}
|
||||
function get_payment_message_problem_CIPF() {
|
||||
Plgntls::debug_infos();
|
||||
$payment_option = get_payment_messages_option_CIPF();
|
||||
return $payment_option['problem'];
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user