quantictech-subscription-components
Version:
Biblioteca de componentes reutilizáveis para sistema de assinatura com Stripe - Arquitetura Service-to-Service
25 lines (24 loc) • 660 B
TypeScript
import React from 'react';
interface SelectedPlan {
id: string;
name: string;
price: number;
description?: string;
interval?: string;
currency?: string;
}
interface StripePaymentFormProps {
clientSecret: string;
selectedPlan?: SelectedPlan;
customerEmail: string;
customerName: string;
returnUrl: string;
onFormReady?: (isReady: boolean) => void;
onSuccess?: () => void;
onError?: (error: string) => void;
cpfValid?: boolean;
cpfValue?: string;
userId?: string;
}
export declare const StripePaymentElementWrapper: React.FC<StripePaymentFormProps>;
export default StripePaymentElementWrapper;