Publish paper without consulting project guide? I graduated with engineering degree. I (along with 2 other) had done project on SDN, and we have a research paper to publish. But our project guide(, and former project guide ) is forcing us to mention add their name as first, second author and all fee should be paid by us. 

Paying fee is not a big deal, but we cannot add their name as first and second author as they have less/no contribution. 

We finally decided to remove all instance their name  from the paper, and publish it. It is right, or we should inform them before publishing. In all case, we are going to remove every instance of their name. Or any other way to deal it or accept their name and get out of this thing.

We are OK with adding their names, but how should be the order of names?

Edit1

Top/first page. First comes their name, then ours. We are OK with it.



Bottom(Authors section, biography in some). They want only their name to be written.



Edit2: By less contribution I mean on scale of 10, 3 of us have 7-10, and they have 0-3
I'll assume "guide" means "supervisor." Hence, your project supervisors are insisting that they be listed as co-authors on your SDN paper written under their supervision. Assuming that their supervision resulted to an intellectual contribution to the paper, I believe you have an obligation to list them as co-authors. On the other hand, if your supervisors provided no input / no guidance, then I think you can publish without listing them as co-authors. You could invite the department head to mediate, if there is a dispute over whether the supervisors contributed.