Merge pull request #32935 from woocommerce/add/experiment-subscriptions-redirect-after-install
Redirect to the create subscription product step after installing WC Payments via Subscriptions experiment page
This commit is contained in:
commit
e071bf1d4b
|
@ -125,8 +125,7 @@ const GetStartedButton: React.FC< GetStartedButtonProps > = ( {
|
|||
* Navigate to either newSubscriptionProductUrl or onboardingUrl
|
||||
* depending on the which treatment the user is assigned to.
|
||||
*/
|
||||
// eslint-disable-next-line no-console
|
||||
console.log( 'It was a success!' );
|
||||
window.location.href = newSubscriptionProductUrl;
|
||||
} )
|
||||
.catch( () => {
|
||||
setIsGettingStarted( false );
|
||||
|
|
Loading…
Reference in New Issue