@suluk/stripe is DEPRECATED and gutted (C048) — it is now a thin re-export shell over @suluk/payments
and will be REMOVED in the next major. Import everything below from @suluk/payments instead.
What moved to @suluk/payments (re-exported here for backward compatibility): the pricing primitives, the Stripe webhook
surface (signature verification + the event router), and the Stripe form-encoder/transport. What was DELETED (dead —
no consumer): the Stripe usage-billing (Billing Meters), the checkout-param builders, the shipping/tax adapters, the
PaymentProvider/StripeLike types, and restStripe/retrievePaymentIntent. Use @suluk/payments'
PaymentConnector (agnostic) or stripeConnector for payment flows.
requiresStripe(totalCents:number):boolean
Does this total require a real Stripe charge, or can it complete as a free order? Centralizes the $0.50 floor
decision so the free-checkout branch and the Stripe branch can never disagree about where $0–$0.49 goes.
Deprecated
@suluk/stripe is DEPRECATED and gutted (C048) — it is now a thin re-export shell over @suluk/payments and will be REMOVED in the next major. Import everything below from
@suluk/paymentsinstead.What moved to @suluk/payments (re-exported here for backward compatibility): the pricing primitives, the Stripe webhook surface (signature verification + the event router), and the Stripe form-encoder/transport. What was DELETED (dead — no consumer): the Stripe usage-billing (Billing Meters), the checkout-param builders, the shipping/tax adapters, the
PaymentProvider/StripeLiketypes, andrestStripe/retrievePaymentIntent. Use@suluk/payments'PaymentConnector(agnostic) orstripeConnectorfor payment flows.