added another state of error in payment if the payment is a success but the treatment has an error

This commit is contained in:
asus
2024-04-02 23:39:27 +02:00
parent 9e903a2ecf
commit 9abe24b3bb
10 changed files with 223 additions and 71 deletions

View File

@@ -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',
),
);