mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
Remove admin notice saying that Pay Later is disabled because of vaulting
We're now displaying this message on each Pay Later label when vaulting is enabled. Also, this message persists when vaulting is toggled, while the labels are updated dynamically. Removing this notice because of these.
This commit is contained in:
parent
a338e727fd
commit
004c7f7d58
1 changed files with 0 additions and 9 deletions
|
@ -124,15 +124,6 @@ class SettingsRenderer {
|
|||
|
||||
$messages = array();
|
||||
|
||||
if ( $this->can_display_vaulting_admin_message() && $this->paypal_vaulting_is_enabled() ) {
|
||||
$pay_later_messages_or_vaulting_text = __(
|
||||
"You have PayPal vaulting enabled, that's why Pay Later Messaging options are unavailable now. You cannot use both features at the same time.",
|
||||
'woocommerce-paypal-payments'
|
||||
);
|
||||
|
||||
$messages[] = new Message( $pay_later_messages_or_vaulting_text, 'warning' );
|
||||
}
|
||||
|
||||
//phpcs:disable WordPress.Security.NonceVerification.Recommended
|
||||
//phpcs:disable WordPress.Security.NonceVerification.Missing
|
||||
if ( ! isset( $_GET['ppcp-onboarding-error'] ) || ! empty( $_POST ) ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue