Refactored payment log