Commerce Marketplace Lab: Use Cases and Example Implementations
-
Upload
maciej-zgadzaj -
Category
Internet
-
view
152 -
download
1
Transcript of Commerce Marketplace Lab: Use Cases and Example Implementations
![Page 1: Commerce Marketplace Lab: Use Cases and Example Implementations](https://reader030.fdocuments.net/reader030/viewer/2022032617/55b16662bb61eb8a268b4658/html5/thumbnails/1.jpg)
Commerce Marketplace Lab
Use Cases and Example Implementations
Maciej Zgadzaj
![Page 2: Commerce Marketplace Lab: Use Cases and Example Implementations](https://reader030.fdocuments.net/reader030/viewer/2022032617/55b16662bb61eb8a268b4658/html5/thumbnails/2.jpg)
Maciej Zgadzaj
Drupalista since 2007
Commerce Guy since 2012
Marketplace hobbyist since 2013
@maciejzgadzaj
drupal.org/u/maciej.zgadzaj
linkedin.com/in/maciejzgadzaj
![Page 3: Commerce Marketplace Lab: Use Cases and Example Implementations](https://reader030.fdocuments.net/reader030/viewer/2022032617/55b16662bb61eb8a268b4658/html5/thumbnails/3.jpg)
Drupal Commerce
● no concept of vendors / stores
● payment methods enabled and configures site-wide
● one checkout = one order
![Page 4: Commerce Marketplace Lab: Use Cases and Example Implementations](https://reader030.fdocuments.net/reader030/viewer/2022032617/55b16662bb61eb8a268b4658/html5/thumbnails/4.jpg)
Drupal Commerce + Commerce Marketplace
● vendors: new commerce_store entity type
● for each store / store owner:
– custom stores / products / orders views in My account
– custom payment method management / configuration
● one checkout = multiple orders, multiple payments*
– orders grouped by new order_group property
– order split by store + other selected fields
– new marketplace checkout pages / panes
![Page 5: Commerce Marketplace Lab: Use Cases and Example Implementations](https://reader030.fdocuments.net/reader030/viewer/2022032617/55b16662bb61eb8a268b4658/html5/thumbnails/5.jpg)
Marketplace payments: possible flows
● one receiver:
– single simple payment
● multiple receivers:
– parallel payment
– chained payment
– multiple simple payments
![Page 6: Commerce Marketplace Lab: Use Cases and Example Implementations](https://reader030.fdocuments.net/reader030/viewer/2022032617/55b16662bb61eb8a268b4658/html5/thumbnails/6.jpg)
Payment flows: Single simple payment
single paymentto a single receiver
Scenario:● a single payment for one or multiple items from one vendor (store)● multiple vendors - payment sent to main store (marketplace)
Conditions:● possible in all cases when a customer buys from one vendor (store)
only
![Page 7: Commerce Marketplace Lab: Use Cases and Example Implementations](https://reader030.fdocuments.net/reader030/viewer/2022032617/55b16662bb61eb8a268b4658/html5/thumbnails/7.jpg)
Payment flows: Parallel payments
paymentfrom one sendersplit directlyamongst multiplereceivers
![Page 8: Commerce Marketplace Lab: Use Cases and Example Implementations](https://reader030.fdocuments.net/reader030/viewer/2022032617/55b16662bb61eb8a268b4658/html5/thumbnails/8.jpg)
Payment flows: Parallel payments (cont'd)
Scenario:
● from customer perspective: a single payment for multiple items from multiple vendors (stores) – enter credit card/any other details only once
● from marketplace perspective: multiple payments sent from customer directly to multiple vendors (store owners)
Conditions:
● the customer buys from more than one vendor (store) during one transaction
● all stores the customer buys from during this transaction support the same payment method which implements parallel payments
![Page 9: Commerce Marketplace Lab: Use Cases and Example Implementations](https://reader030.fdocuments.net/reader030/viewer/2022032617/55b16662bb61eb8a268b4658/html5/thumbnails/9.jpg)
Payment flows: Chained payments
paymentfrom one sendersplit indirectlyamongst multiplereceivers
![Page 10: Commerce Marketplace Lab: Use Cases and Example Implementations](https://reader030.fdocuments.net/reader030/viewer/2022032617/55b16662bb61eb8a268b4658/html5/thumbnails/10.jpg)
Payment flows: Chained payments (cont'd)
Scenario & conditions:
● almost the same as for parallel payments
● the only difference - payments from customer are sent indirectly to multiple vendors, with marketplace in-between being the primary receiver
Drawbacks:
● possible issues for marketplace owner:
● complaints● disputes● higher fees● tax issues
![Page 11: Commerce Marketplace Lab: Use Cases and Example Implementations](https://reader030.fdocuments.net/reader030/viewer/2022032617/55b16662bb61eb8a268b4658/html5/thumbnails/11.jpg)
Payment flows: Multiple simple payments
multiple paymentsfrom one senderdirectly tomultiple receivers
![Page 12: Commerce Marketplace Lab: Use Cases and Example Implementations](https://reader030.fdocuments.net/reader030/viewer/2022032617/55b16662bb61eb8a268b4658/html5/thumbnails/12.jpg)
Payment flows: Multiple simple payments (cont'd)
Scenario:
● from customer perspective: multiple payments for multiple items from multiple vendors (stores) – enter credit card/any other details multiple times
● from marketplace perspective: multiple single payments sent from customer directly to multiple vendors (store owners)
Conditions:
● the customer buys from more than one vendor (store) during one transaction
● all stores the customer buys from during this transaction do not support the same payment method which implements chained payments
![Page 13: Commerce Marketplace Lab: Use Cases and Example Implementations](https://reader030.fdocuments.net/reader030/viewer/2022032617/55b16662bb61eb8a268b4658/html5/thumbnails/13.jpg)
![Page 14: Commerce Marketplace Lab: Use Cases and Example Implementations](https://reader030.fdocuments.net/reader030/viewer/2022032617/55b16662bb61eb8a268b4658/html5/thumbnails/14.jpg)
Yada yada yada...
Demo time!
![Page 15: Commerce Marketplace Lab: Use Cases and Example Implementations](https://reader030.fdocuments.net/reader030/viewer/2022032617/55b16662bb61eb8a268b4658/html5/thumbnails/15.jpg)
Clicky
● Commerce Marketplace moduledrupal.org/sandbox/maciej.zgadzaj/1950386
github.com/maciejzgadzaj/commerce_marketplace
● Commerce Marketplace blog postszgadzaj.com/tag/commerce-marketplace
● Commerce Marketplace contribs (DDD sprint!)
● Commerce Marketplace Ogonedrupal.org/sandbox/maciej.zgadzaj/commerce_marketplace_ogone
github.com/maciejzgadzaj/commerce_marketplace_ogone
● Commerce Marketplace PayPal (parallel support!)
drupal.org/sandbox/maciej.zgadzaj/commerce_marketplace_paypal
github.com/maciejzgadzaj/commerce_marketplace_paypal
BoF: Friday 17:00 - 18:00, room TD.5.20
![Page 16: Commerce Marketplace Lab: Use Cases and Example Implementations](https://reader030.fdocuments.net/reader030/viewer/2022032617/55b16662bb61eb8a268b4658/html5/thumbnails/16.jpg)
I can has questionz?
![Page 17: Commerce Marketplace Lab: Use Cases and Example Implementations](https://reader030.fdocuments.net/reader030/viewer/2022032617/55b16662bb61eb8a268b4658/html5/thumbnails/17.jpg)
Thanks!