The CM MicroPayment plugin has advanced and in-depth integration with the popular digital store platform Easy Digital Downloads.

Reward Your Shoppers With EDD Discount Codes
MicroPayments integration with the Easy Digital Downloads plugin allows EDD store owners to grant Bonus points per each purchase made with the CM Micropayment gateway.
All points granted to users are saved in their digital wallets and can later be converted into EDD discount codes. This will encourage them to come back for more and turn visitors into returning customers!
Add your own “virtual currency“ and allow in-site transactions without having to process each payment externally. Can integrate with many other WordPress plugins, including WooCommerce, Easy Digital Downloads, CM Answers, CM Download Manager and more.
Using variable pricing gives you even more options and flexibility, by allowing you to match varying bonus values to the product that’s being purchased, as shown in the image below:
How To Convert Bonus Points Into EDD Discount Codes
Converting bonus points into discount codes is easily done by the users. All they have to do is select the number of points they want to convert, and a discount code will automatically be generated in accordance to your custom settings. The discount code that has been generated will be saved in the user wallet until their next purchase, when it will be applied.
Back to the Basics
For your convenience, here are some quick reminders of the basic features CM Micropayment can add to your EDD store:
Setting the Value of the Virtual Points
The admin can set the value of the virtual points with which users can purchase items in the EDD store, just like any other payment gateway. Virtual points value is defined in the settings panel as shown below:
Adding The above Modules To The EDD Checkout
Paying for Download Using the MicroPayment Digital Wallet
More about EDD integration with CM MicroPayment can be found in here and here