@flopay/react 1.3.3 → 1.3.4
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 +11 -0
- package/dist/index.cjs +692 -107
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.mjs +738 -153
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -187,6 +187,17 @@ the entire integration change — no SDK redeploy or consumer code update is
|
|
|
187
187
|
required. Wallets only render on supported devices regardless of dashboard
|
|
188
188
|
state (Apple Pay on Safari/macOS/iOS, Google Pay on Chrome).
|
|
189
189
|
|
|
190
|
+
In `layout="buttons"`, the **Credit / Debit Card** button always opens the
|
|
191
|
+
inline card form. External wallets and PayPal keep their own lifecycle:
|
|
192
|
+
buyer cancellation silently returns to the payment-method chooser with all
|
|
193
|
+
eligible options available, while post-click technical failures, popup
|
|
194
|
+
blocking, or a provider surface returning focus without a terminal callback
|
|
195
|
+
restore the chooser, focus a visible retry control for the failed method, show safe method-specific copy such as
|
|
196
|
+
`We couldn't open Google Pay. Try again or choose another payment method.`, and
|
|
197
|
+
call `onError` with a structured `FloPayError`. Passive pre-click load or
|
|
198
|
+
eligibility failures still collapse only the unavailable method and do not show
|
|
199
|
+
a checkout error.
|
|
200
|
+
|
|
190
201
|
Toggle the whole Stripe region or the PayPal region independently with the
|
|
191
202
|
two gateway-level props:
|
|
192
203
|
|