@vaam-apps/vpay-stripe-js 0.4.0 → 0.5.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/README.md +24 -11
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,13 +3,16 @@
|
|
|
3
3
|
A Stripe.js-shaped browser client for vpay's payer surface. Zero runtime
|
|
4
4
|
dependencies, ESM, TypeScript strict.
|
|
5
5
|
|
|
6
|
-
**
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
**On the registry since 2026-09-19.** `release.yml`'s `publish-stripe-js-sdk`
|
|
7
|
+
job (added 2026-09-18) publishes it on every `v*` tag, and `npm view
|
|
8
|
+
@vaam-apps/vpay-stripe-js versions` listed `0.2.1` (the first, 2026-09-19)
|
|
9
|
+
through `0.4.1` on 2026-09-23. _(This read "Not yet on the registry … `E404`
|
|
10
|
+
on 2026-09-05 and no workflow in this repository publishes anything" until
|
|
11
|
+
2026-09-23. The workflow half was wrong from 2026-09-18, and the registry half
|
|
12
|
+
from 2026-09-19.)_
|
|
10
13
|
|
|
11
14
|
```bash
|
|
12
|
-
pnpm add @vaam-apps/vpay-stripe-js
|
|
15
|
+
pnpm add @vaam-apps/vpay-stripe-js
|
|
13
16
|
```
|
|
14
17
|
|
|
15
18
|
Inside this workspace it is a `workspace:*` dependency, built with
|
|
@@ -184,12 +187,22 @@ parameters are **absent**. A page handling the return trip must carry its own
|
|
|
184
187
|
state — put the `client_secret` in the `return_url` you supply, or key on your
|
|
185
188
|
own order id — and then call `retrievePaymentIntent` to learn the outcome.
|
|
186
189
|
|
|
187
|
-
|
|
188
|
-
real `redirect_to_url` and will navigate to it, but the _return_ trip is
|
|
189
|
-
wired: vpay has no `/provider/{code}/callback` route, so a redirect rail
|
|
190
|
-
the payer to a URL that does not exist yet. Do not ship a redirect-rail
|
|
191
|
-
checkout on this package until that route lands.
|
|
192
|
-
is echoed back as a label; nothing
|
|
190
|
+
~~**Step 5c ships push-only** (decision D4). `confirmPayment` returns the
|
|
191
|
+
rail's real `redirect_to_url` and will navigate to it, but the _return_ trip is
|
|
192
|
+
not wired: vpay has no `/provider/{code}/callback` route, so a redirect rail
|
|
193
|
+
sends the payer to a URL that does not exist yet. Do not ship a redirect-rail
|
|
194
|
+
checkout on this package until that route lands.
|
|
195
|
+
`next_action.redirect_to_url.return_url` is echoed back as a label; nothing
|
|
196
|
+
redirects to it.~~ **Corrected 2026-09-23.** This paragraph had been wrong
|
|
197
|
+
since 2026-09-04, and "Status" below already said so. Step 8 mounted
|
|
198
|
+
`/provider/{code}/callback`, and Step 9 made the rail send the payer back to a
|
|
199
|
+
per-charge `return_url`. With a Checkout Session, that is vpay's own return
|
|
200
|
+
page, and a real browser has walked the whole Orange round trip
|
|
201
|
+
(`shop-hosted.cy.ts`). Without a session, the payer lands on **your**
|
|
202
|
+
`return_url` and you learn the outcome by calling `retrievePaymentIntent`,
|
|
203
|
+
never from the fact that they came back.
|
|
204
|
+
[`docs/flows/browser-checkout.md`](../../docs/flows/browser-checkout.md)
|
|
205
|
+
§ "The redirect gap (D4) — closed 2026-09-04" is the record.
|
|
193
206
|
|
|
194
207
|
## Checkout (vpay's own)
|
|
195
208
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaam-apps/vpay-stripe-js",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "A Stripe.js-shaped browser client for vpay's payer surface: payment intents, embedded and hosted Checkout, zero runtime dependencies.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"publishConfig": {
|