Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 11 KB

checkoutconfirmstripe.md

File metadata and controls

30 lines (24 loc) · 11 KB

CheckoutConfirmStripe

Confirm a checkout session using a Stripe confirmation token.

Example Usage

import { CheckoutConfirmStripe } from "@polar-sh/sdk/models/components/checkoutconfirmstripe.js";

let value: CheckoutConfirmStripe = {
  customerBillingAddress: {
    country: "SE",
  },
};

Fields

Field Type Required Description
customFieldData Record<string, components.CheckoutConfirmStripeCustomFieldData> Key-value object storing custom field values.
productId string ID of the product to checkout. Must be present in the checkout's product list.
productPriceId string : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

ID of the product price to checkout. Must correspond to a price present in the checkout's product list.
amount number N/A
customerName string N/A
customerEmail string N/A
customerBillingAddress components.Address N/A
customerTaxId string N/A
discountCode string Discount code to apply to the checkout.
confirmationTokenId string ID of the Stripe confirmation token. Required for fixed prices and custom prices.