Skip to content

Commit

Permalink
Express Checkout - Billing Agreement Error Handling, PFW-264
Browse files Browse the repository at this point in the history
  • Loading branch information
kcppdevelopers committed Oct 3, 2018
1 parent 32a2539 commit ee4f81b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,7 @@ public function angelleye_write_error_log_and_send_email_notification($paypal_ac
$error_display_type_message = sprintf(__('There was a problem paying with PayPal. Please try another method.', 'paypal-for-woocommerce'));
}
$error_display_type_message = apply_filters('ae_ppec_error_user_display_message', $error_display_type_message, $ErrorCode, $ErrorLongMsg);
if (AngellEYE_Utility::is_cart_contains_subscription() == false) {
if (function_exists('wc_add_notice')) {
wc_add_notice($error_display_type_message, 'error');
}
}
Expand Down

0 comments on commit ee4f81b

Please sign in to comment.