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

Back to User Guides

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. 
Wallets for collecting fees and store purchases - WordPress Point System
Wallets for collecting fees and store purchases

Both users have a user role Subscriber.

MicroPayments users automatically created for collecting fees and store purchases - Points and Rewards Plugin
MicroPayments users automatically created for collecting fees and store purchases

Collecting Fees

The user CMMicropaymentFee is created and works only when you turn on one of these options or both of them: 

MicroPayments settings to define the amount of fees - WordPress User Wallet Credit System
MicroPayments settings to define the amount of fees

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:

Example of transactions - WordPress Wallet Plugin
Example of 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

Enabling the wallet for collecting points from store purchases - WordPress Point System
Enabling the wallet for collecting 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:

Example of transactions in the wallet for collecting store purchases - Points and Rewards Plugin
Example of transactions in the wallet for collecting store purchases

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
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.