Checkout

Demo checkout only — no real payment. Submitting creates a fake order id and clears the cart.

Medium Ecommerce JavaScript

Stable selectors

  • Form: #checkout-form · shipping fields #sf-ship-*
  • Payment: #sf-pay-* (fake card fields)
  • Summary lines: #checkout-order-lines .sf-order-line
  • Totals: #checkout-subtotal, #checkout-total
  • Submit: #place-order-button

1 · Shipping address

2 · Payment method (fake)

No payment is processed. Values are demo-only.