woocommerce/plugins/woocommerce-admin/client/dashboard/task-list/tasks/payments
Rasmy Nguyen 4fd6a17154 Remove auto connect functionality from Stripe payment task (https://github.com/woocommerce/woocommerce-admin/pull/4164)
* Remove auto connect steps from Stripe payment task

As of May 31 the API for stripe account auto creation will no longer be
supported. As a result, the Stripe payment on-boarding step will no
longer be able to auto create accounts for users.

This removes all auto connect functionality from this step, and instead
falls back to the oAuth setup flow.

See:
https://wcpay.wordpress.com/2020/02/06/stripe-ending-support-for-the-deferred-account-activation-api-on-may-31/#comment-2080

* Fix logic to decide which connect method to render

When the Stripe component renders for the first time, it
always returns the manual connect method. This is because there is
an additional call to requiresManualConfig() in getConnectStep which
looks for values in activePlugins that won't be present on the initial
component render.

This removes this check and instead relies on the isPending state to
help decide to render a connect method or wait for oAuth connectURL
to finish fetching.

* Remove redundant error modal render method

This removes the error modal render method as it is also no longer
needed with the removal of auto account creation.

This also removes errorMessage and errorTitle state along with any
references to these values.
2020-04-24 09:28:29 +09:00
..
images Merge add/wc-pay to master, enabled for development only (https://github.com/woocommerce/woocommerce-admin/pull/4022) 2020-03-27 16:24:32 -07:00
bacs.js Onboarding: Add offline payment methods (https://github.com/woocommerce/woocommerce-admin/pull/3832) 2020-03-16 12:57:23 +01:00
index.js Plugins DataStore: decouple from onboarding (https://github.com/woocommerce/woocommerce-admin/pull/4048) 2020-04-17 11:58:36 +12:00
klarna.js Onboarding: Update payments task flow (https://github.com/woocommerce/woocommerce-admin/pull/3782) 2020-03-15 22:45:19 +01:00
methods.js Added check to show WC Pay option only when Jetpack is connected (https://github.com/woocommerce/woocommerce-admin/pull/4105) 2020-04-10 11:10:47 +12:00
payfast.js Onboarding: Update payments task flow (https://github.com/woocommerce/woocommerce-admin/pull/3782) 2020-03-15 22:45:19 +01:00
paypal.js Plugins: Move API out of Onboarding (https://github.com/woocommerce/woocommerce-admin/pull/4093) 2020-04-20 14:04:13 +12:00
square.js Plugins: Move API out of Onboarding (https://github.com/woocommerce/woocommerce-admin/pull/4093) 2020-04-20 14:04:13 +12:00
stripe.js Remove auto connect functionality from Stripe payment task (https://github.com/woocommerce/woocommerce-admin/pull/4164) 2020-04-24 09:28:29 +09:00
wcpay.js Plugins: Move API out of Onboarding (https://github.com/woocommerce/woocommerce-admin/pull/4093) 2020-04-20 14:04:13 +12:00