Last active
April 23, 2024 13:24
-
-
Save lukecav/fab298c2efe2f36566af41492f5886ba to your computer and use it in GitHub Desktop.
Hide Save payment information to my account for future purchases checkbox in Checkout Page in WooCommerce Stripe Payment Gateway
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.form-row.woocommerce-SavedPaymentMethods-saveNew.woocommerce-validated { | |
display: none; | |
} |
In php will be better :)
add_filter('wc_stripe_display_save_payment_method_checkbox', '__return_false');
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://wordpress.org/support/topic/hide-stripe-save-payment-information-checkbox/
https://wordpress.org/plugins/woocommerce-gateway-stripe/