Sell “create a post”, paid account for post creation

As per comments you can make use of user meta functions to store user-specific information and use capabilities (or some more simple check) to control if user can create a post.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)