Check active plugins before getting the PayPal onboarding status (https://github.com/woocommerce/woocommerce-admin/pull/6625)
* Check active plugins before get paypal onboarding status * Add changelog and testing instructions Co-authored-by: Bec Scott <me@becdetat.com>
This commit is contained in:
parent
e2043f9875
commit
4cbbd920cc
|
@ -2,6 +2,13 @@
|
|||
|
||||
## Unreleased
|
||||
|
||||
### Check active plugins before getting the PayPal onboarding status #6625
|
||||
|
||||
- Go to the WooCommerce home page
|
||||
- Open your browser console
|
||||
- Choose payment methods
|
||||
- See no error message
|
||||
|
||||
## 2.2.0
|
||||
|
||||
### Fixed event tracking for merchant email notes #6616
|
||||
|
|
|
@ -426,7 +426,12 @@ export default compose(
|
|||
const countryCode = getCountryCode(
|
||||
generalSettings.woocommerce_default_country
|
||||
);
|
||||
const paypalOnboardingStatus = getPaypalOnboardingStatus();
|
||||
|
||||
const paypalOnboardingStatus = activePlugins.includes(
|
||||
'woocommerce-paypal-payments'
|
||||
)
|
||||
? getPaypalOnboardingStatus()
|
||||
: null;
|
||||
|
||||
const methods = getPaymentMethods( {
|
||||
activePlugins,
|
||||
|
|
|
@ -77,6 +77,7 @@ Release and roadmap notes are available on the [WooCommerce Developers Blog](htt
|
|||
|
||||
- Tweak: Add check to see if value for contains is array, show warning if not. #6645
|
||||
- Fix: Event tracking for merchant email notes #6616
|
||||
- Fix: Check active plugins before getting the PayPal onboarding status #6625
|
||||
|
||||
== 2.2.0 3/26/2021 ==
|
||||
|
||||
|
|
Loading…
Reference in New Issue