strapi-plugin-masterclass
Version:
18 lines (17 loc) • 517 B
TypeScript
export interface Config {
stripeSecretKey?: string;
paypalClientId?: string;
paypalClientSecret?: string;
paypalBrandName?: string;
paypalReturnUrl?: string;
paypalCancelUrl?: string;
paypalProductionMode?: boolean;
callbackUrl?: string;
paymentMethods?: string[];
allowPromotionCodes?: boolean;
checkoutSuccessUrl?: string;
checkoutCancelUrl?: string;
}
type GetConfigFunction = () => Promise<Config>;
declare const getConfig: GetConfigFunction;
export { getConfig };