@flopay/react 1.10.4 → 1.10.6
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 +6 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -10,6 +10,11 @@ pnpm add @flopay/react @flopay/js @flopay/shared react react-dom
|
|
|
10
10
|
|
|
11
11
|
Peer dependencies: `react >= 18.0.0` and `react-dom >= 18.0.0`. Install the same version of every `@flopay/*` package.
|
|
12
12
|
|
|
13
|
+
Before upgrading, read the [SDK changelog](https://changelog.sdk.flopay.com) for changes and integration
|
|
14
|
+
guidance. Choose one released version for the `@flopay/*` packages you install directly, confirm that
|
|
15
|
+
each is available on npm, and commit the resulting lockfile. A merged GitHub pull request alone does
|
|
16
|
+
not mean publication has finished; wait for that exact version rather than mixing package versions.
|
|
17
|
+
|
|
13
18
|
Configure which billing API the SDK uses, once. Either set an environment variable:
|
|
14
19
|
|
|
15
20
|
```bash
|
|
@@ -717,6 +722,7 @@ A `validation_error` is also reported when both `showStripe` and `showPayPal` ar
|
|
|
717
722
|
|------|------|
|
|
718
723
|
| `InvalidPaymentMethodSetupSession` | The session is not a zero-amount, product-free setup session |
|
|
719
724
|
| `NoAdvertisedPaymentMethods` | The setup session advertises no payment method, or only Stripe wallets or alternative methods while the read carries no currency (the message names them) |
|
|
725
|
+
| `payment_method_setup_unavailable` | None of the advertised methods can be offered here, for example a wallet the device does not have or a method Stripe does not support in the session currency (`retryable: false`) |
|
|
720
726
|
| `payment_method_setup_unverified` | The provider accepted the method but the billing API had not verified it in time (retryable) |
|
|
721
727
|
| `payment_method_setup_expired` | The setup session expired before the method was verified |
|
|
722
728
|
| `payment_method_setup_failed` | A wallet or alternative method failed technically (retryable) |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flopay/react",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"@paypal/paypal-js": "^10.0.0",
|
|
40
40
|
"@stripe/react-stripe-js": "^6.6.0",
|
|
41
41
|
"@stripe/stripe-js": "^9.8.0",
|
|
42
|
-
"@flopay/js": "1.10.
|
|
43
|
-
"@flopay/shared": "1.10.
|
|
42
|
+
"@flopay/js": "1.10.6",
|
|
43
|
+
"@flopay/shared": "1.10.6"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"react": ">=18.0.0",
|