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:
James Allan 2022-05-10 16:37:29 +10:00 committed by GitHub
commit e071bf1d4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -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 );