wayforpay-ts-integration
Version:
Library for forms to go to the Wayforpay payment page.
25 lines (24 loc) • 487 B
TypeScript
export * from './requests';
export * from './signatures';
export * from './responses';
export type TCartElement = {
quantity: number;
product: {
name: string;
price: number;
};
};
export type TUserCartElement = {
id: string;
quantity: number;
};
export type TProduct = {
id: string;
name: string;
price: number;
};
export type TWayforpayOptions = {
merchantLogin: string;
merchantSecret?: string;
merchantPassword?: string;
};