added payment export function