@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
12 lines • 435 B
JavaScript
import handler from '../payment/cryptopay/handler-fastify.js';
import { configureExportToken } from '../worker/export-token.js';
const { CRYPTOPAY_WEBHOOK_PATH = '/payment/cryptopay' } = process.env;
export default (fastify, unchainedAPI) => {
fastify.route({
url: CRYPTOPAY_WEBHOOK_PATH,
method: 'POST',
handler,
});
configureExportToken(unchainedAPI);
};
//# sourceMappingURL=crypto-fastify.js.map