@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
24 lines • 743 B
JavaScript
import makeFetcher from './makeFetcher.js';
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, merchantId, secret) {
const fetchDatatrans = makeFetcher(endpoint, merchantId, secret);
return {
fetchDatatrans,
init,
authorize,
validate,
secureFields,
status,
authorizeAuthenticated,
settle,
cancel,
};
}
//# sourceMappingURL=index.js.map