Skip to content

Instantly share code, notes, and snippets.

@thenbrent
Last active October 31, 2016 20:17
Show Gist options
  • Save thenbrent/6641526 to your computer and use it in GitHub Desktop.
Save thenbrent/6641526 to your computer and use it in GitHub Desktop.
Using WooCommerce and want to disable PayPal for subscription purchases, but still offer it as an option for buying one-off products? Activate this plugin.

This gist has been migrated to a repo here.

@robin-scott
Copy link

This plugin works with 2.0 though? We're just adding it to a site which is heading towards 2.0.

@robin-scott
Copy link

Okay, this works, in checkout, but has been pointed out today that it doesn't remove it from the "Update Payment" screen in My Account > Subscriptions. About to roll sleeves up and add that... unless anyone has already fixed that?! ;)

@thenbrent
Copy link
Author

Hi folks, given the amount of discussion on this gist, I'm moved it to a GitHub repo where it's history is more easily traced and we can use Issues etc. to track discussions. Find it here: https://github.com/Prospress/woocommerce-subscriptions-disable-paypal

@hoobsi
Copy link

hoobsi commented Oct 31, 2016

Good point by silicondales!
Does anyone know a way of how to also remove paypal in the MyAccount > Update Payment section? That would be amazing.
Sorry for posting on here thenbrent but I could not see any posts under the other link :/
Any help would be massively appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment