On Ghost Writing

I have just submitted a sample chapter for a fiction ghost writing assignment. I have to say I am not sure I am feeling all that comfortable with the idea now it's gone. I mean it would be great to get paid up front for creative writing but I have a creeping feeling of disquiet about it all and wonder whether it is the right way to go. Time will tell whether this will a positive move or a put-it-down-to-experience thing!