Adapt postback() to work with both course and module purchases