Refactored delete payment