fixing payment controller for: control stock and user mail notification (pins).