payment gateway debugging