@flopay/react 1.9.8 → 1.9.9
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 +16 -0
- package/dist/index.cjs +9 -9
- package/dist/index.mjs +8 -8
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1052,6 +1052,22 @@ Stripe and PayPal SDK load/runtime failures emit `provider_runtime`. Inline
|
|
|
1052
1052
|
`validation_rejected` / `payment_declined` outcomes and never carry
|
|
1053
1053
|
`failureCategory`.
|
|
1054
1054
|
|
|
1055
|
+
If Stripe.js cannot initialize after `FloPayCheckout` resolves a full session,
|
|
1056
|
+
the checkout no longer hides a provider-independent payment surface. A
|
|
1057
|
+
vault-capable session continues with the hosted card form, and Direct PayPal
|
|
1058
|
+
continues when the session advertises it; Stripe wallets and APMs are omitted.
|
|
1059
|
+
The degraded surface exposes one **Retry payment methods** action. It retries
|
|
1060
|
+
only provider initialization and never repeats session read/create/claim,
|
|
1061
|
+
automatic checkout, intent creation, or payment processing. A failed retry is
|
|
1062
|
+
not offered again during that mount, and cards or Direct PayPal remain usable.
|
|
1063
|
+
|
|
1064
|
+
When neither the hosted card form nor Direct PayPal can render, `onError` and
|
|
1065
|
+
the `error` render prop receive a `FloPayError` with code
|
|
1066
|
+
`CheckoutInitializationFailed`. The default error surface uses fixed buyer-safe
|
|
1067
|
+
copy. Raw provider messages are never placed in the DOM or merchant callback.
|
|
1068
|
+
Existing-session transport and malformed-response failures are separately
|
|
1069
|
+
reported at `session_read`; expected session outcomes remain non-alerting.
|
|
1070
|
+
|
|
1055
1071
|
Direct PayPal script and unusable-namespace failures remain
|
|
1056
1072
|
`PROVIDER_LOAD_FAILED` at `provider_load`. Once PayPal reports the button as
|
|
1057
1073
|
eligible, a pre-ready `onError` or rejected `render()` is instead
|