import { config } from '../config';

export function checkoutOrderCreatedUrl(origin: string): string {
  return `${origin.replace(/\/$/, '')}${config.intercept.checkoutOrderCreatedPath}`;
}

export function checkoutOrderErrorUrl(origin: string): string {
  return `${origin.replace(/\/$/, '')}${config.intercept.checkoutOrderErrorPath}`;
}
