Payments
Stripe and PayPal through the store's own providers.
Stores provide payment. Marketplace:
- Reads the store's payment providers and publishable keys (
GetStore,ListPaymentProviders). - Starts a payment session on the store (
initiatePaymentSession). - Renders Stripe card elements or PayPal buttons in the browser with the store's publishable key.
- Calls
completeCartso the store creates the order.
Card data goes from the browser to Stripe or PayPal. Marketplace takes no fee.
Restaurant stores use MarketplaceRestaurantPaymentMethods, MarketplaceInitiateRestaurantPayment and MarketplaceCompleteRestaurantCart.
Alternatively getCheckoutLink sends the buyer to the store's own checkout.