You NEVER pay a producer. If anything, they may give you an advance against royalties which if a record is successful with be deducted later on.
He will probably want the publishing on the song or songs too.
Get a good entertainment lawyer to read over contracts.
In a nutshell, that's how it works.
Do not give him any money.
Good luck