Skip to content
Open
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
4 changes: 4 additions & 0 deletions types/stripe-js/embedded-checkout.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,10 @@ export interface StripeEmbeddedCheckoutOptions {
*/
onComplete?: () => void;
/**
* @deprecated `onShippingDetailsChange` is deprecated for Embedded Checkout.
* For dynamic shipping logic, use the Checkout Form SDK with
* `stripe.initCheckoutFormSdk()` instead.
*
* onShippingDetailsChange is called when the customer completes the shipping details form.
*
* The callback is required when [permissions.update.shipping_details](https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-permissions-update-shipping_details) is set to `server_only`.
Expand Down
Loading