Changes to catch the generic error from Pay response