This project is not covered by Drupal’s security advisory policy.
Add Bitcoin as a currency option for Drupal Commerce allowing products, orders, and transactions to be priced in terms of Satoshi.
The entire module is a single function, which hooks the Bitcoin currency characteristics into the Commerce currency options.
function commerce_btc_commerce_currency_info() {
return array(
'BTC' => array(
'code' => 'BTC', // BitPay and Coinbase expect BTC, not XBT for Bitcoin
'symbol' => 'Ƀ', // the symbol is hardly "standardized" yet
'name' => t('Bitcoin'),
'decimals' => 8,
'major_unit' => t('Bitcoin'),
'minor_unit' => t('Satoshi'),
'code_placement' => 'after',
'symbol_placement' => 'before',
),
);
}
Project information
Unsupported
Not supported (i.e. abandoned), and no longer being developed. Learn more about dealing with unsupported (abandoned) projectsNo further development
No longer developed by its maintainers.- Project categories: E-commerce
- Created by deekayen on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.



