@crvouga/mockingbird-service-stripe 0.9.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  # Changelog — @crvouga/mockingbird-service-stripe
2
2
 
3
- ## 0.9.0 (2026-09-24)
3
+ ## 1.1.0 (2026-09-25)
4
+
5
+ ### Features
6
+
7
+ - redesign the hosted Checkout page with test-card prefill shortcuts ([57f1fb8](https://github.com/crvouga/mockingbird/commit/57f1fb8bf6a6511eff78d42b997c838fddcf98cd))
8
+
9
+ ## 1.0.0 (2026-09-24)
10
+
11
+ ### ⚠️ Breaking changes
12
+
13
+ - vendor branding for every service; purge internal mocks and consumer names ([f689534](https://github.com/crvouga/mockingbird/commit/f6895343543550dafcb7d76b426cae7635e03226))
14
+
15
+ ## 0.9.0 (2026-09-23)
4
16
 
5
17
  ### Features
6
18
 
package/README.md CHANGED
@@ -173,10 +173,15 @@ finalize; a customer credit balance is applied at finalize; `void` works only on
173
173
 
174
174
  ### Hosted Checkout page and Stripe.js
175
175
 
176
- - `GET /c/pay/:sessionId` — the page `session.url` points to: card number, expiry, CVC, ZIP and
177
- Pay/Cancel with `data-testid`s `stripe-mock-card`, `stripe-mock-exp`, `stripe-mock-cvc`,
178
- `stripe-mock-zip`, `stripe-mock-pay`, `stripe-mock-cancel` (a decline shows
179
- `stripe-mock-error`). Pay completes the session (creating the customer, the PaymentIntent with
176
+ - `GET /c/pay/:sessionId` — the page `session.url` points to, laid out like Stripe's hosted
177
+ Checkout (order summary beside the payment form, stacked on narrow screens): card number,
178
+ expiry, CVC, ZIP and Pay/Cancel with `data-testid`s `stripe-mock-card`, `stripe-mock-exp`,
179
+ `stripe-mock-cvc`, `stripe-mock-zip`, `stripe-mock-pay`, `stripe-mock-cancel` (a decline shows
180
+ `stripe-mock-error`), plus optional email, cardholder name and country. A **Test cards** panel
181
+ has one button per test card number (`stripe-mock-test-card`, `data-test-card="<number>"`):
182
+ succeeding brands, declines (generic, insufficient funds, expired, attach-then-fail), 3D Secure
183
+ and dispute. Each button fills every field, and with “Pay immediately after filling” ticked it
184
+ submits the form too. Pay completes the session (creating the customer, the PaymentIntent with
180
185
  `payment_intent_data.metadata`, the Subscription with `subscription_data.metadata`, or the
181
186
  SetupIntent), emits `checkout.session.completed` and 302s to `success_url` with
182
187
  `{CHECKOUT_SESSION_ID}` substituted raw and `%7B…%7D`-encoded; Cancel 302s to `cancel_url`.
@@ -236,7 +241,7 @@ only — never bodies, card numbers or emails.
236
241
 
237
242
  ### Corpus
238
243
 
239
- `GEVITI_CORPUS` is the recorded test-mode catalog our seeded fixtures point at (reference-data
244
+ `ACME_CORPUS` is the recorded test-mode catalog our seeded fixtures point at (reference-data
240
245
  products and prices, catalog plans, shop fixtures, QA snapshots such as `prod_SNj3rQYHrHNS0H` /
241
246
  `price_1StxtjGBBGmxLhdL8PzNSEgX`, and runbook coupons and promotion codes; 144 products, 172
242
247
  prices). Accounts with `corpus: true` answer those ids byte for byte; customers, intents and
@@ -261,7 +266,7 @@ recorded prices (listed in `synthesizedLookupKeys`). Pass your own with `createR
261
266
  | `STRIPE_API_VERSION` | The vendored latest version (`2026-08-26.dahlia`). |
262
267
  | `LEGACY_API_VERSION` | `"2024-06-20"`. |
263
268
  | `ACACIA_API_VERSION` | `"2025-02-24.acacia"`. |
264
- | `GEVITI_CORPUS` | The bundled recorded catalog. |
269
+ | `ACME_CORPUS` | The bundled recorded catalog. |
265
270
  | `TEST_TOKENS` | Every modelled `tok_…`. |
266
271
  | `TEST_PAYMENT_METHOD_IDS` | Every modelled magic `pm_card_…`. |
267
272
  | `TEST_CARD_NUMBERS` | Every modelled test card number. |