Paid Posting Function

I am wanting to implement a paid posting as my app is directory geared. How would I go about having a function where the user pays to post but can not add or edit their content unless they are paid?

Thank You

I’d add a column to the users collection - Paid? Then setup so that when they pay the toggle gets set to True. That would be the simple way. Then you could set the visability of the post button to only show for people that have paid, or do a check on save to see if they have paid.