@flopay/node 1.4.20 → 1.4.21
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 +9 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -70,6 +70,15 @@ merchant-authenticated REST endpoint from trusted server code with a stable
|
|
|
70
70
|
`Idempotency-Key`; never expose merchant credentials to a browser. See the
|
|
71
71
|
repository's [pre-authorisation guide](../../docs/PREAUTHORIZATION.md).
|
|
72
72
|
|
|
73
|
+
Saved-card management is also intentionally not an `@flopay/node` credential
|
|
74
|
+
surface. From trusted merchant server code, use the authenticated REST API to
|
|
75
|
+
list display-only methods, create a setup session, and delete an eligible
|
|
76
|
+
method; pass only the resulting setup `sessionId` and `nonce` to
|
|
77
|
+
`<FloPayCardSetup>` in `@flopay/react`. Replacement is setup-first, then delete,
|
|
78
|
+
so a failed or cancelled setup leaves the existing card intact. The coordinated
|
|
79
|
+
integration guide is tracked in
|
|
80
|
+
[TeamFloPay/docs#38](https://github.com/TeamFloPay/docs/issues/38).
|
|
81
|
+
|
|
73
82
|
### Retrieve / Expire a Checkout Session (Stripe Direct)
|
|
74
83
|
|
|
75
84
|
```ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flopay/node",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.21",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"stripe": "^22.2.1",
|
|
30
|
-
"@flopay/shared": "1.4.
|
|
30
|
+
"@flopay/shared": "1.4.21"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"tsup": "^8.3.0",
|