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

14 lines (10 loc) 417 B
import { mongodb } from '@unchainedshop/mongodb'; import { TimestampFields } from '@unchainedshop/mongodb'; export type SaferpayTransaction = { orderPaymentId: any; token?: string; } & TimestampFields; export const SaferpayTransactionsCollection = async (db: mongodb.Db) => { const SaferpayTransactions = db.collection<SaferpayTransaction>('payment_saferpay_transactions'); return SaferpayTransactions; };