AntiPattern
Payment-Integration API Shape Mismatch
stripe-payment-api-shape-mismatch
Payment flows fail because integration code assumes the same fields, IDs, and UI capabilities across Stripe components (PaymentIntents, Elements, Apple Pay, connect accounts), so wrong charge metadata, missing line-item tax, and invalid parameters produce confusing or incorrect checkout behavior.