Skip to content

Commit

Permalink
Marketplace: Lay out the HCI for Shopper Purchasing Products
Browse files Browse the repository at this point in the history
  • Loading branch information
zspencer committed Jan 20, 2023
1 parent 38979a3 commit 9877300
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions app/furniture/marketplace/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Marketplace

## Human/Computer/Human Interaction Design

### Shopper Purchases Products

<!-- it would be cool if someone could Mermaid this -->

1. `Shopper` links `Product`s to their `Cart` by creating a `CartProduct` record which keeps track of things like quantity, discounts, special requests, etc.
2. `Shopper` creates a `Checkout`, which directs them to the `Distributor`'s Payment Processor (Stripe, for now).
3. `Shopper` completes the Payment Processor's flow, which directs them back to Convene and updates the `Checkout` with payment processor details.
4. `Shopper` is redirected to the `Order`, which represents the `Cart` to the `Shopper` in a read-only manner.

## Architecture

The Marketplace uses Stripe, we anticipate that we will want to use the "Connect then Transfer" workflow: https://stripe.com/docs/connect/collect-then-transfer-guide

1. Build the Workflow for connecting a Stripe Account
Expand Down

0 comments on commit 9877300

Please sign in to comment.