-
Notifications
You must be signed in to change notification settings - Fork 10
Installation
ticean edited this page Jun 29, 2011
·
3 revisions
The module follows best practices. All files are neatly organized in the ScaleWorks namespace, so if you ever need to remove the module it should be fairly easy. However, the module does have to overwrite the Zend locale files. As far as I know there isn't a way to neatly override them. So if you're just testing this out and need to bail, restore /lib/Zend/Locale/Data/
To install the module, download the files and extract to your Magento root directory.
Once the module is installed, BTC can be enabled manually with 2 simple steps:
- In Magento Admin, click "System | Config" from top menu.
- In left menu, click "Advanced -> System".
- In the Currency section, select 'Bitcoin'. If keep your other currencies be sure to use Ctrl-Click so you leave them selected.
- Click "Save Config" at the top of page.
- In Magento Admin, click "System | Config" from top menu.
- If you have a multi-store setup choose the desired "Current Configuration Scope" above the left menu.
- In left menu, click "General -> Currency Setup".
- In "Currency Options" section you can choose the Base and Default Display currencies.
- Select Bitcoin in Allowed Currencies. Again Ctrl-Click to select multiple.
Be sure to update the currency conversion rates before allowing customer to purchase product!!
- In Magento Admin, click "System | Manage Currency Rates" from top menu.
- Select Import Service "Bitcoincharts".
- Click Import.
- The BTC currency will be updated with a conversion rate. The rate can be saved as-is or adjusted manually.
- Click "Save Currency Rates".
For the scheduled update to work, cron should be enabled on your Magento installation.
- In Magento Admin, click "System | Config" from top menu.
- If you have a multi-store setup choose the desired "Current Configuration Scope" above the left menu.
- In left menu, click "General -> Currency Setup".
- Go to the "Scheduled Import Settings" tab.
- Set Enabled to 'Yes'.
- Set Service to 'Bitcoincharts'.
- Set the other configurations to desired settings.
- Click "Save Config".
- In Magento Admin, click "System | Config" from top menu.
- In the left menu, click "Sales | Payment Methods"
- Go to the "Bitcoin" section.
- Enter your configuration settings.
Enabled | True enables the payment method so it appears as an option in checkout. |
Title | The payment method name that appears in the checkout frontend. |
New Order Status | New orders are set to this status until enough confirmations are received. The the order status is changed to "Processing". |
Https Bitcoin Connection | True enables an HTTPS connection to the bitcoin service. The service must be configured for HTTPS. This is _**highly recommended**_ if you are accessing bitcoin over a network. |
Bitcoin Host | The bitcoin host name. |
Bitcoin Port | The bitcoin port. Bitcoin standard is 8332. |
Bitcoin Username | The bitcoin API username. |
Bitcoin Password | The bitcoin API password. |
Minimum Confirmations | The number of confirmations in the block chain before a transaction is considered complete. |
Debug | Unused |
Sort Order | The order in which the payment method will be displayed in the frontend. Methods are ordered in ascending order. |