B is correct grammatically but semantically it sounds absolutely unnatural to me.
Paying -means giving your money to a merchant for goods you want to buy.
The word alone already contains this meaning already in the context of the sentence so there is no need to say "after paying money" and "paying for the noodle" in my opinion.