Added debug messages in payment2