@flopay/react 1.9.11 → 1.9.13
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 +23 -0
- package/dist/index.cjs +9 -9
- package/dist/index.mjs +8 -8
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -80,6 +80,29 @@ whitespace normalization, so an authorised wallet name can replace it. Name
|
|
|
80
80
|
selection is atomic: first and last name always come from one source, and are
|
|
81
81
|
omitted when neither source is usable. Email precedence is unchanged.
|
|
82
82
|
|
|
83
|
+
#### Wallet confirmation recovery
|
|
84
|
+
|
|
85
|
+
Google Pay and Apple Pay authentication may legitimately outlive the SDK's
|
|
86
|
+
provider observation threshold. The SDK does not cancel that provider promise.
|
|
87
|
+
Instead, it retrieves the original PaymentIntent or SetupIntent with the same
|
|
88
|
+
client secret and routes the provider promise and status read through one
|
|
89
|
+
settlement gate:
|
|
90
|
+
|
|
91
|
+
- an authoritative success continues to `/process` exactly once;
|
|
92
|
+
- `canceled` or `requires_payment_method` is treated as authoritative,
|
|
93
|
+
non-chargeable terminal evidence and exposes wallet retry;
|
|
94
|
+
- `requires_action`, an unavailable/mismatched status, or a failed/bounded-out
|
|
95
|
+
status read keeps payment submission locked and exposes only **Check payment
|
|
96
|
+
status**.
|
|
97
|
+
|
|
98
|
+
Rejected confirmations, returned technical errors, and malformed fulfilled
|
|
99
|
+
results use this same recovery contract. A lost intent-create response also
|
|
100
|
+
reuses the authorization-attempt UUID on deliberate retry, so provider
|
|
101
|
+
idempotency cannot mint a second intent. A bounded pending-confirmation handoff
|
|
102
|
+
keeps teardown/remount from exposing another wallet surface while the first
|
|
103
|
+
intent may still complete. Existing component props and merchant callbacks are
|
|
104
|
+
unchanged.
|
|
105
|
+
|
|
83
106
|
#### Merchant instrument feed
|
|
84
107
|
|
|
85
108
|
Use `onInstrument` on `FloPayCheckout` or `FloPayProvider` to forward a stable,
|