@crvouga/mockingbird-service-stripe 1.0.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,15 +1,17 @@
1
1
  # Changelog — @crvouga/mockingbird-service-stripe
2
2
 
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
+
3
9
  ## 1.0.0 (2026-09-24)
4
10
 
5
11
  ### ⚠️ Breaking changes
6
12
 
7
13
  - vendor branding for every service; purge internal mocks and consumer names ([f689534](https://github.com/crvouga/mockingbird/commit/f6895343543550dafcb7d76b426cae7635e03226))
8
14
 
9
- ### Dependencies
10
-
11
- - `@crvouga/mockingbird-service-sqlite`
12
-
13
15
  ## 0.9.0 (2026-09-23)
14
16
 
15
17
  ### Features
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`.