Application Functionality Walkthrough (UC2) - stacc-dasso/woocommerce-extension GitHub Wiki

Use Case 2

Preconditions

User is in the Recommender's option menu

Scenario

User enters the Shop ID and API Key:
User has entered the Shop ID and API Key
If the fields validate (alphanumeric characters only), the extension will do two things:

  1. Try to communicate with the API
  2. If the extension can communicate with the API it will start the inventory sync process (Currently a dummy method)

This is the result of a successful installation:
API has been contacted and the product sync started

Covered Alternative Scenarios

  1. Invalid input (Shop ID = "++-a"; API Key = "") Response to invalid input