@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
20 lines • 798 B
TypeScript
import status from './status.js';
import init from './init.js';
import secureFields from './secureFields.js';
import authorize from './authorize.js';
import validate from './validate.js';
import settle from './settle.js';
import cancel from './cancel.js';
import authorizeAuthenticated from './authorizeAuthenticated.js';
export default function createDatatransAPI(endpoint: string, merchantId: string, secret: string): {
fetchDatatrans: (path: string, body: unknown) => Promise<Response>;
init: typeof init;
authorize: typeof authorize;
validate: typeof validate;
secureFields: typeof secureFields;
status: typeof status;
authorizeAuthenticated: typeof authorizeAuthenticated;
settle: typeof settle;
cancel: typeof cancel;
};
//# sourceMappingURL=index.d.ts.map