of course they have to pay you... and moreover they need to buy you a ticket too... and sometime in lieu of notice period they pay money too... so yeah.. they must pay you