* Remove PayPal for India

This commit removes PayPal payment option for India

* Added changelog

* Added testing instructions

Co-authored-by: Fernando Marichal <contacto@fernandomarichal.com>
This commit is contained in:
Fernando 2021-04-19 16:15:25 -03:00 committed by GitHub
parent b8a7f9a7ab
commit e88b0d749c
3 changed files with 8 additions and 1 deletions

View File

@ -2,6 +2,12 @@
## Unreleased
### Remove PayPal for India #6828
- Setup a new store and set your country to `India`.
- Go to 'Choose Payment method' Checklist on the home page.
- Verify that PayPal is not presented as a payment method.
### Add event recording to start of gateway connections #6801
- Enable debug messages inside browser devtools, you can do it by running `localStorage.setItem( 'debug', 'wc-admin:*' );` in your browser console. And don't forget to enable all log levels.

View File

@ -264,7 +264,7 @@ export function getPaymentMethods( {
</>
),
before: <img src={ wcAssetUrl + 'images/paypal.png' } alt="" />,
visible: ! hasCbdIndustry,
visible: countryCode !== 'IN' && ! hasCbdIndustry,
plugins: [ PAYPAL_PLUGIN ],
container: <PayPal />,
isConfigured:

View File

@ -106,6 +106,7 @@ Release and roadmap notes are available on the [WooCommerce Developers Blog](htt
- Fix: Missed DB version number updates causing unnecessary upgrades. #6818
- Fix: Parsing bad JSON string data from user WooCommerce meta. #6819
- Dev: Add event recording to start of gateway connections #6801
- Fix: Remove PayPal for India #6828
== 2.2.0 3/30/2021 ==