@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
9 lines • 418 B
JavaScript
import express from 'express';
import handler from '../payment/cryptopay/handler-express.js';
import { configureExportToken } from '../worker/export-token.js';
const { CRYPTOPAY_WEBHOOK_PATH = '/payment/cryptopay' } = process.env;
export default (app, unchainedAPI) => {
app.use(CRYPTOPAY_WEBHOOK_PATH, express.json(), handler);
configureExportToken(unchainedAPI);
};
//# sourceMappingURL=crypto-express.js.map