@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 +6 -4
- package/README.md +9 -4
- package/dist/{chunk-QQMKLRLM.js → chunk-6GIM3TXZ.js} +532 -42
- package/dist/chunk-6GIM3TXZ.js.map +7 -0
- package/dist/{chunk-ZOI6RWOM.js → chunk-XJNNB7JZ.js} +2 -2
- package/dist/cli.js +2 -2
- package/dist/index.js +1 -1
- package/dist/server.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-QQMKLRLM.js.map +0 -7
- /package/dist/{chunk-ZOI6RWOM.js.map → chunk-XJNNB7JZ.js.map} +0 -0
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
|
|
177
|
-
|
|
178
|
-
`
|
|
179
|
-
`stripe-mock-
|
|
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`.
|