docs(stripe): document the app-tagged product/price checkout prerequisite (BUNYIP-175) #209
Loading…
Reference in a new issue
No description provided.
Delete branch "docs/BUNYIP-175-tagged-product-step"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Closes the documentation gap that blocked a real subscribe during BUNYIP-175 verification. Companion to the merged #206 / #207 / #208.
Why
On a fresh test account the Subscribe button failed with
400 price_id: No active price configuredand the web silently redirected back to/membership. The checkout handler only sells prices whose product carriesmetadata.app = STRIPE_APP_TAG(defaultapp=bunyip); untagged products are filtered out bylist_prices/list_products. Nothing documented that, so the wall is invisible.Changes to
dev-docs/stripe-test-mode.mdstripe products create -d metadata[app]=bunyip+stripe prices create --recurring).stripe trigger invoice.payment_failedinvents its own customer (User not found), so it does nothing for a real member. Documented the customer-scoped, locally-signed event (real HMAC) that drives the cycle.Verified this session
Subscribe with
4242->subscription_status=active,price_locked=true. Grace cycle: signedinvoice.payment_failed->grace_period(+30d);invoice.payment_succeeded->active.Docs only; no code changes.
🤖 Generated with Claude Code