added another state of error in payment if the payment is a success but the treatment has an error
This commit is contained in:
@@ -22,6 +22,7 @@ function paypal_shortcode_content_CIPF() {
|
||||
$paypal_client_id = get_paypal_client_id_CIPF();
|
||||
$paypal_message_success = get_payment_message_success_CIPF();
|
||||
$paypal_message_failure = get_payment_message_failure_CIPF();
|
||||
$paypal_message_problem = get_payment_message_problem_CIPF();
|
||||
|
||||
// if (!can_pay_now_CIPF())
|
||||
// return no_payment_CIPF();
|
||||
@@ -45,6 +46,7 @@ function paypal_shortcode_content_CIPF() {
|
||||
'paypal_redirection_failure',
|
||||
'paypal_message_success',
|
||||
'paypal_message_failure',
|
||||
'paypal_message_problem',
|
||||
),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user