storenest-commerce
Version:
Complete e-commerce SDK for Storenest platform with React components, multi-language support, secure checkout, and enterprise-grade security
29 lines (28 loc) • 766 B
TypeScript
import React from 'react';
export declare const CheckoutBox: ({ config, onSuccess, onError, onCancel }: {
config?: {} | undefined;
onSuccess: any;
onError: any;
onCancel: any;
}) => import("react/jsx-runtime").JSX.Element;
export default CheckoutBox;
export interface CheckoutFormData {
firstName: string;
lastName: string;
email: string;
phone?: string;
address: string;
city: string;
state?: string;
zipCode: string;
country: string;
shippingMethodId?: string;
paymentMethodId?: string;
cardNumber?: string;
cardExpiry?: string;
cardCvc?: string;
cardholderName?: string;
notes?: string;
marketingConsent?: boolean;
}
export declare const CheckoutBox: React.FC<CheckoutBoxProps>;