debug magopay Controller