Commerce Faircoin
Categories
Component ID
2551829
Component name
Commerce Faircoin
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Downloads
345
Component created
Component changed
Component body
This module provides faircoin integration with drupal commerce. It creates a new FAIR currency and a payment method.
Installation
- Download and install Commerce and Libraries API 2 modules.
- Download the qrcode.js plugin. Unpack and rename the plugin directory to "qrcode" and place it inside the "sites/all/libraries" directory. Make sure the path to the plugin file becomes: "sites/all/libraries/qrcode/jquery.qrcode.min.js"
- Download and install Commerce Faircoin module.
Configuration
- Once the module is enabled, the new currency is available in Store > Configuration > CurrencySettings. Select 'FAC FairCoin FAIR' as the default store currency.
- Edit reaction rule "Faircoin Payment" in Store > Configuration > PaymentMethods. There you can fill up the Payment Settings:
- Faircoin address: the address where your costumers will send you the payments.
- Payment instructions: instructions for customers on the final checkout page. - Enable "Faircoin Payment" rule.
- Give permissions to the role of your costumers (access checkout, view own orders of any type), create products and product displays (be sure the prices of your products are in FAIR currency) and make shopping cart block visible.
Next developments
The module works as a simple payment method that shows the faircoin address of the store when costumers finish the checkout process. Each order saves its address and shows it in the billing information. Next versions of the module might include:
- #2560067: Dinamically change the store address in each order (connecting to faircoind). Now, this can only be done manually by changing the address in payment settings.
- #2560071: Check with faircoind if a pending payment has been done. If so, mark the status of payment to "Completed" and send an email to the store admin and the costumer. Now, this can only be made manually by checking the wallet for the pending payment.
- #2560073: Allow currency conversion, with updated rate. Now the payment method is only available with FAIR currency.
Faircoin information
Please, visit:
https://fair-coin.org
https://fair.coop
