tf-checkout-react 2.0.0-beta.26 → 2.0.0-beta.27
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 +14 -8
- package/docs/API.html +1002 -0
- package/docs/API.md +3 -3
- package/docs/GUIDE.html +2194 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,17 +7,23 @@ components, plus the shared API and React Query hooks. Which paths a buyer can
|
|
|
7
7
|
actually use depend on the event, the deployed API, the buyer's session and the
|
|
8
8
|
payment provider.
|
|
9
9
|
|
|
10
|
-
This reference describes **2.0.0-beta.
|
|
10
|
+
This reference describes **2.0.0-beta.27**. It is a prerelease with a different
|
|
11
11
|
API from 1.x. Pin the version while evaluating it. npm's `latest` and `beta`
|
|
12
12
|
tags can move independently and an unqualified install may select 1.x:
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
15
|
npm view tf-checkout-react dist-tags
|
|
16
|
-
npm install tf-checkout-react@2.0.0-beta.
|
|
16
|
+
npm install tf-checkout-react@2.0.0-beta.27 @tanstack/react-query react react-dom
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
-
The [API reference](https://unpkg.com/tf-checkout-react@2.0.0-beta.
|
|
20
|
-
is included as `docs/API.md` in this package.
|
|
19
|
+
The [API reference](https://unpkg.com/tf-checkout-react@2.0.0-beta.27/docs/API.html)
|
|
20
|
+
is included as `docs/API.md` and `docs/API.html` in this package. A
|
|
21
|
+
[standalone guide](https://unpkg.com/tf-checkout-react@2.0.0-beta.27/docs/GUIDE.html)
|
|
22
|
+
is also available.
|
|
23
|
+
|
|
24
|
+
If the HTML has not reached the CDN yet, open the packaged `docs/API.md` in a
|
|
25
|
+
Markdown viewer or read the [plain-text API Markdown](https://cdn.jsdelivr.net/npm/tf-checkout-react@2.0.0-beta.27/docs/API.md).
|
|
26
|
+
The full guide is also shown on this npm page.
|
|
21
27
|
|
|
22
28
|
## Choose a checkout layout
|
|
23
29
|
|
|
@@ -677,7 +683,7 @@ error or closed provider page means the charge failed. A custom provider page mu
|
|
|
677
683
|
settle with `{ event: 'dismiss' }` on close/unmount, and other custom payment
|
|
678
684
|
ports must settle, or a waiting reset cannot finish.
|
|
679
685
|
|
|
680
|
-
The beta.
|
|
686
|
+
The beta.27 declaration comments for `reset` and `PAID_ORDER_PENDING_MESSAGE`
|
|
681
687
|
say pressing Pay again finishes an unconfirmed order; the `resetWhenSettled`
|
|
682
688
|
comment also omits retired checkouts as a reason for `false`. Those comments do
|
|
683
689
|
not establish that a retry is safe. Use the session and reconciliation guidance
|
|
@@ -734,7 +740,7 @@ holder's answers in `ticketDataCapture`, and add-on answers via
|
|
|
734
740
|
the opaque catalog ID. Use backend country/state IDs for `countryId` and
|
|
735
741
|
`stateId`; `countryCode` / `stateCode` are payment billing codes.
|
|
736
742
|
|
|
737
|
-
In beta.
|
|
743
|
+
In beta.27 conditional custom-field requiredness is left to the backend and
|
|
738
744
|
not all hosted-checkout conditional visibility is reproduced. Verify the
|
|
739
745
|
actual event against the deployed checkout, including blanks, images, holder
|
|
740
746
|
scoping and validation errors; do not claim parity from the presence of a
|
|
@@ -755,7 +761,7 @@ unknown; `reloadCheckoutDetails()` can also retry the waiver read. A retained
|
|
|
755
761
|
order with a possible payment follows separate recovery and needs reconciliation.
|
|
756
762
|
`WaiverSigning` handles the SDK's signing flow.
|
|
757
763
|
|
|
758
|
-
**Consent limitation in beta.
|
|
764
|
+
**Consent limitation in beta.27:** when `privacyPolicy` is supplied, the
|
|
759
765
|
stock `BillingInfo` replaces the Ticket Fairy marketing checkbox with the
|
|
760
766
|
required privacy checkbox, but both use `consent.ttfOptIn`; the order sends
|
|
761
767
|
that value as `ttf_opt_in`. The privacy acknowledgement and Ticket Fairy
|
|
@@ -1242,7 +1248,7 @@ existing 1.x integration pinned until the new flow and backend are verified.
|
|
|
1242
1248
|
There is no automatic translation of old URLs, component props, account
|
|
1243
1249
|
sessions or persisted 1.x state.
|
|
1244
1250
|
|
|
1245
|
-
| 1.x integration | 2.0.0-beta.
|
|
1251
|
+
| 1.x integration | 2.0.0-beta.27 approach |
|
|
1246
1252
|
| --- | --- |
|
|
1247
1253
|
| `setConfigs({ BASE_URL, ... })` | `configureCheckout({ env` or `baseUrl`, `clientId`, `clientSecret: ''`, ... `})`; public client registration and session setup are required. |
|
|
1248
1254
|
| `TicketsContainer`, `SeatMapContainer`, `AddOnsContainer` | `EmbeddedCheckout` or `Tickets`, `SeatMap`, `AddOns` under `CheckoutProvider`. Adapt callbacks and navigation. |
|