@plandalf/react
Version:
React checkout components for Plandalf Checkout — an embedded and popup checkout alternative to Stripe Checkout and SamCart, with a built-in billing portal.
10 lines (9 loc) • 312 B
TypeScript
import { CheckoutItem } from "../types";
type GetCheckoutUrlParams = {
offer: string;
checkoutItems?: CheckoutItem[];
host?: string;
redirectUrl?: string;
};
export declare const getCheckoutUrl: ({ offer, checkoutItems, host: hostParam, redirectUrl }: GetCheckoutUrlParams) => string;
export {};