WordPress MicroPayments (CMMP) - How To - Collect Fees for User Transactions and Their Store Purchases
How to collect fees for user transactions and their store purchases
Note: The following functionality was introduced in version 2.0.5.
What is This Feature
The WordPress MicroPayments allows you to collect fees for user transactions (adding points or subtracting points from the user wallet) and collect the points that user spend for purchases in EDD or WooCommerce stores. The plugin creates two new users on your site with wallets for receiving the points:
- CMMicropaymentFee - This user is for collecting fees.
- CMMicropaymentStorePurchases - This user is for collecting points from purchases.
Both users have a user role Subscriber.
Collecting Fees
The user CMMicropaymentFee is created and works only when you turn on one of these options or both of them:
You can find these options by navigating to Admin Dashboard → CM Micropayment Platform → Settings → General tab.
- Transaction fee for adding points (flat or percentage%) - Every time a user receives points, they will be charged this amount. This deduction will be shown in the log. Example: buying points, receiving a transfer.
- Transaction fee for subtracting points (flat or percentage%) - Every time a user loses points, they will be charged this amount. This deduction will be shown in the log. Example: sending a transfer.
Both these fields accept flat amounts and percentages. The default value is 0 - it means, the feature is disabled. To enable any of these options you need to set a value. Examples:
- 5
- 15%
So everytime when the user loses points or gets them on his wallet by some way, he will be charged the fee that you set in the options above. These points will appear on the wallet of the user CMMicropaymentFee. You can always check it's transactions:
Collecting Points for User Purchases in a Store
The user CMMicropaymentStorePurchases is created and works only when you turn on the option Enable wallet for receiving points from store purchases:
You can find this option by navigating to Admin Dashboard → CM Micropayment Platform → Settings → General tab.
This option allows you to receive the points that users spend for purchasing products in EDD or WooCommerce shops.
So everytime when the user buys some product in on of these shops, the points from the purchase will appear on the wallet of the user CMMicropaymentStorePurchases. You can always check it's transactions:
More information about the WordPress MicroPayments plugin Other WordPress products can be found at CreativeMinds WordPress Store |
|
Let us know how we can Improve this Product Documentation Page To open a Support Ticket visit our support center |