Any feedback or advice would be helpful in creating this feature.
2 different member types:
Type B has the ability to turn on Pay-to-Message feature and select amount. If this feature is turned on Type A would have to pay a set amount to have the ability to send a message to Type B. This would be a one-time payment and after the initial payment messages could be sent regularly.
I’m using WooCommerce and hoping this payment feature can be integrated with it.
Anyways, not expecting anyone to write code on here but advice on how to go about this would be appreciated. How hard would this be to implement?
You’ll need to output a button on the front-end which, when clicked by a Type B user, would save data to that user’s meta info. The data value you save could be the amount and the key could be pay_to_message. The absence of the key against a particular user’s meta could indicate the feature is disabled.