Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# CHANGELOG

## x.x.x - x.x.x

**Changes**
- CustomerSession is now generally available. The `customerSessionClientSecret` parameter is no longer experimental.
- ConfirmationTokens are now generally available. The `confirmationTokenConfirmHandler` parameter and `ConfirmationToken.Result` type are no longer experimental.

## 0.55.1 - 2025-10-23

**Fixes**
Expand Down
3 changes: 0 additions & 3 deletions src/types/ConfirmationToken.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ import type { Type as PaymentMethodType } from './PaymentMethod';

/**
* ConfirmationToken result type.
*
* @internal DO NOT USE - This API is under active development and is not ready for use.
* The API is subject to breaking changes without notice. Do not use in production or development.
*/
export interface Result {
/** Unique identifier for the object (e.g. `ctoken_...`). */
Expand Down
6 changes: 2 additions & 4 deletions src/types/EmbeddedPaymentElement.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,9 @@ export interface EmbeddedPaymentElementConfiguration {
merchantDisplayName: string;
/** The identifier of the Stripe Customer object. See https://stripe.com/docs/api/customers/object#customer_object-id */
customerId?: string;
/** A short-lived token that allows the SDK to access a Customers payment methods. */
/** A short-lived token that allows the SDK to access a Customer's payment methods. */
customerEphemeralKeySecret?: string;
/** (Experimental) This parameter can be changed or removed at any time (use at your own risk).
* The client secret of this Customer Session. Used on the client to set up secure access to the given customer.
*/
/** The client secret of this Customer Session. Used on the client to set up secure access to the given customer. */
customerSessionClientSecret?: string;
/** iOS only. Enable Apple Pay in the Payment Sheet by passing an ApplePayParams object. */
applePay?: PaymentSheetTypes.ApplePayParams;
Expand Down
7 changes: 1 addition & 6 deletions src/types/PaymentSheet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,7 @@ export type SetupParams =
})
| (SetupParamsBase & {
customerEphemeralKeySecret?: never;
/** (Experimental) This parameter can be changed or removed at any time (use at your own risk).
* The client secret of this Customer Session. Used on the client to set up secure access to the given customer.
*/
/** The client secret of this Customer Session. Used on the client to set up secure access to the given customer. */
customerSessionClientSecret: string;
})
| SetupParamsBase;
Expand Down Expand Up @@ -580,9 +578,6 @@ export type IntentConfiguration = {
) => void;

/**
* @internal DO NOT USE - This API is under active development and is not ready for use.
* The API is subject to breaking changes without notice. Do not use in production or development.
*
* Called when the customer confirms payment using confirmation tokens.
* Your implementation should follow the guide to create (and optionally confirm) a PaymentIntent or SetupIntent on your server and call the `intentCreationCallback` with its client secret or an error if one occurred.
*
Expand Down