woocommerce / woocommerce-admin

(Deprecated) This plugin has been merged to woocommerce/woocommerce
https://woocommerce.github.io/woocommerce-admin/#/
Other
361 stars 144 forks source link

Tax task - include Avalara Tax extension #7442

Closed pmcpinto closed 3 years ago

pmcpinto commented 3 years ago

User Story: As a new merchant I want to know which tax extension, WooCommerce Tax or Avalara, is the best fit for my needs So I can have speed up the store setup without spending much time looking for a solution

Description: we’re going to broaden our Tax extensions offering in the store setup flow by including Avalara. This will require some changes in the Tax task. The BizDev team is still finalizing details, but the goal is to release the changes in the December release (WC 6.0). See the design exploration here: p6riRB-6mT-p2#comment-7503

Acceptance Criteria:

Event Tracking:

Screenshots/Flow: screen-shot-2021-10-13-at-3 44 39-pm

Tasks:

Implementation notes:

mattsherman commented 3 years ago

@pmcpinto Can you please update the description/AC? It is unclear to me what needs to be done.

pmcpinto commented 3 years ago

@pmcpinto Can you please update the description/AC? It is unclear to me what needs to be done.

There are a couple of things that I need to clarify with BizDev and Design. I'll cc you in a comment about this, to keep you in the loop.

pmcpinto commented 3 years ago

@mattsherman just a heads up that I already updated the AC. Let me know if you have any questions.

mattsherman commented 3 years ago

If the user is located in a country

@pmcpinto Is it really the user we care about, or the store address?

mattsherman commented 3 years ago

@pmcpinto It is a bit unclear to me exactly how this is supposed to fit with the existing task flow. Does Jetpack and WooCommerce Tax now get installed from this new option screen? /cc @elizaan36 @jarekmorawski

The WC Tax CTA should be "Finish set up" if the user has WC Tax installed when he visits the Tax task

Does this take the place of the following current screen?

Screen Shot 2021-10-18 at 20 15 13

The WC Tax CTA should be "Install for free" if the user doesn't have WC Tax installed when he visits the Tax task

Is this supposed to do the same thing as "Install & enable" on the current screen?

Screen Shot 2021-10-18 at 20 16 41
mattsherman commented 3 years ago

mark the task as complete when the user selects Avalara

@pmcpinto Does just selecting Avalara complete the task, or should we be checking to see if a particular extension is installed?

Oh, and that brings up... if the user already has Avalara installed (or installs it outside of this task), do we consider the task complete?

pmcpinto commented 3 years ago

@mattsherman here's my feedback:

@pmcpinto Is it really the user we care about, or the store address?

Store address. Sorry, I always mention "user" when I'm thinking about the store. I'll update the AC

@pmcpinto Does just selecting Avalara complete the task, or should we be checking to see if a particular extension is installed?

Checking if the extension is installed is more accurate. I'll update the AC

Oh, and that brings up... if the user already has Avalara installed (or installs it outside of this task), do we consider the task complete?

Mmm good question. I'd say yes to keep it simple and this feels like an edge case. @elizaan36 @jarekmorawski do you agree?

@pmcpinto It is a bit unclear to me exactly how this is supposed to fit with the existing task flow. Does Jetpack and WooCommerce Tax now get installed from this new option screen? /cc @elizaan36 @jarekmorawski Does this take the place of the following current screen? Is this supposed to do the same thing as "Install & enable" on the current screen?

I think we should avoid disrupting the current flow and simplify the implementation. I recommend using the new screen we want to implement just to redirect users to the current flow if they select WC Tax. In this case, we'd have a generic CTA copy without considering if the extensions are already installed (Continue setup). All the install & connect process happens after they select WC Tax. @elizaan36 @jarekmorawski what do you think?

mattsherman commented 3 years ago

I think we should avoid disrupting the current flow and simplify the implementation. I recommend using the new screen we want to implement just to redirect users to the current flow if they select WC Tax. In this case, we'd have a generic CTA copy without considering if the extensions are already installed (Continue setup). All the install & connect process happens after they select WC Tax. @elizaan36 @jarekmorawski what do you think?

I like this approach, and will update the AC.

One question, if Avalara is already installed, should we still just point them to the external Avalara URL, or should we redirect them somewhere else?

mattsherman commented 3 years ago

@pmcpinto Is this good hard-coded in WCA, or should this be driven by a remote endpoint?

mattsherman commented 3 years ago

@pmcpinto Are there any scenarios of countries where only Avalara is available (WC Tax isn't available)?

And, edge case... if the store location isn't populated through the OBW, how should the flow be?

mattsherman commented 3 years ago

@elizaan36 Do you have a mobile design?

pmcpinto commented 3 years ago

One question, if Avalara is already installed, should we still just point them to the external Avalara URL, or should we redirect them somewhere else?

If Avalara is installed we should redirect users to the extension's settings: /wp-admin/admin.php?page=wc-settings&tab=tax&section=avatax

And, edge case... if the store location isn't populated through the OBW, how should the flow be?

In this case, we show the existing flow without the Avalara promo.

I'll add these 2 cases to the AC

@pmcpinto Are there any scenarios of countries where only Avalara is available (WC Tax isn't available)?

I'm still waiting to get the list with the countries where we need to include Avalara.

@pmcpinto Is this good hard-coded in WCA, or should this be driven by a remote endpoint?

I'd go with the easiest approach

mattsherman commented 3 years ago

Thanks, @pmcpinto !

elizaan36 commented 3 years ago

I think we should avoid disrupting the current flow and simplify the implementation. I recommend using the new screen we want to implement just to redirect users to the current flow if they select WC Tax. In this case, we'd have a generic CTA copy without considering if the extensions are already installed (Continue setup). All the install & connect process happens after they select WC Tax. @elizaan36 @jarekmorawski what do you think?

That simplifies things a lot from an implementation standpoint. It might feel repetitive for the user but it does present them with another valuable option for taxes so might be worthwhile. Here's an updated design with the "Continue setup" CTA. Setup tax

Ideally Avalara could be more integrated into the flow in the future.

@elizaan36 Do you have a mobile design?

Let's stack the two options on mobile. Will share the Figma on Slack.

Mobile Task list _ Tax

joshuatf commented 3 years ago

@pmcpinto Just to double check, it sounds like this screen will show only after they click on the "WooCommerce Tax" option if they meet the criteria, is that right?

Screen Shot 2021-10-18 at 20 15 13

Also, the "Set up taxes manually" and "I don't charge sales tax" buttons are shown once in the new screen and again on the old stepper. Is that intentional or should we remove the second set in the stepper? cc @elizaan36

pmcpinto commented 3 years ago

@pmcpinto Just to double check, it sounds like this screen will show only after they click on the "WooCommerce Tax" option if they meet the criteria, is that right?

Correct.

Also, the "Set up taxes manually" and "I don't charge sales tax" buttons are shown once in the new screen and again on the old stepper. Is that intentional or should we remove the second set in the stepper? cc @elizaan36

I think we should still let users skip automated taxes and keeping the links can be a good option. @elizaan36 what do you think?

pmcpinto commented 3 years ago

The list of countries where we should present Avalara is here.

elizaan36 commented 3 years ago

the "Set up taxes manually" and "I don't charge sales tax" buttons are shown once in the new screen and again on the old stepper. Is that intentional or should we remove the second set in the stepper? cc @elizaan36

I think both links can persist on the automated taxes question screen.

Just to clarify though, if the user chooses either of those options in the first step the task is completed so they wouldn't progress to the stepper.