Skip to content

Commit

Permalink
pl - rename initCustomCheckout to initCheckout
Browse files Browse the repository at this point in the history
  • Loading branch information
pololi-stripe committed Nov 15, 2024
1 parent ae9636c commit efce5d9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions types/stripe-js/stripe.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
import {CheckoutLocale, RedirectToCheckoutOptions} from './hosted-checkout';
import {PaymentRequestOptions, PaymentRequest} from './payment-request';
import {StripeElement, StripeElementLocale} from './elements-group';
import {StripeCustomCheckoutOptions, StripeCustomCheckout} from './checkout';
import {StripeCheckoutOptions, StripeCheckout} from './checkout';
import {
StripeEmbeddedCheckoutOptions,
StripeEmbeddedCheckout,
Expand Down Expand Up @@ -1265,9 +1265,7 @@ export interface Stripe {
* Requires beta access:
* Contact [Stripe support](https://support.stripe.com/) for more information.
*/
initCustomCheckout(
options: StripeCustomCheckoutOptions
): Promise<StripeCustomCheckout>;
initCheckout(options: StripeCheckoutOptions): Promise<StripeCheckout>;

/**
* Use `stripe.initEmbeddedCheckout` to initialize an embedded Checkout instance
Expand Down

0 comments on commit efce5d9

Please sign in to comment.