@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
4 lines • 350 B
JavaScript
const { ROOT_URL, SAFERPAY_WEBHOOK_PATH = '/payment/saferpay/webhook', SAFERPAY_RETURN_PATH = '/saferpay/return', } = process.env;
export const webhookPath = (orderPaymentId) => `${ROOT_URL}${SAFERPAY_WEBHOOK_PATH}?orderPaymentId=${orderPaymentId}`;
export default () => `${ROOT_URL}${SAFERPAY_RETURN_PATH}`;
//# sourceMappingURL=getReturnPath.js.map