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

10 lines 308 B
export default async function validate(payload) { const { fetchDatatrans } = this; const reqBody = { ...payload, }; const result = await fetchDatatrans(`/v1/transactions/validate`, reqBody); const json = await result.json(); return json; } //# sourceMappingURL=validate.js.map