UNPKG

@unchainedshop/plugins

Version:

Because of a Typescript issue with upstream "postfinancecheckout", the Postfinance plugin has been disabled from transpilation, import the source ts files from src and enable node_module tsc or copy over the src/payment/postfinance-checkout to your projec

27 lines 1.16 kB
import { IOrderPricingSheet } from '@unchainedshop/core'; import { Order, OrderPayment } from '@unchainedshop/core-orders'; import { Stripe as StripeType } from 'stripe'; export declare const initStripeClient: () => Promise<StripeType>; export default function (): StripeType; export declare const upsertCustomer: ({ userId, name, email }: { userId: any; name: any; email: any; }) => Promise<string>; export declare const createRegistrationIntent: ({ userId, name, email, paymentProviderId, descriptorPrefix, }: { userId: string; name: string; email: string; paymentProviderId: string; descriptorPrefix?: string; }, options?: Record<string, any>) => Promise<StripeType.Response<StripeType.SetupIntent>>; export declare const createOrderPaymentIntent: ({ userId, name, email, order, orderPayment, pricing, descriptorPrefix, }: { userId: string; name: string; email: string; order: Order; orderPayment: OrderPayment; pricing: IOrderPricingSheet; descriptorPrefix?: string; }, options?: Record<string, any>) => Promise<StripeType.Response<StripeType.PaymentIntent>>; //# sourceMappingURL=stripe.d.ts.map