Bitcoin Forum
May 13, 2024, 03:51:52 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: uc_bitcoin: A Bitcoin payment method for Ubercart/Drupal  (Read 4345 times)
mikegogulski (OP)
Sr. Member
****
Offline Offline

Activity: 360
Merit: 250



View Profile WWW
November 24, 2010, 08:47:06 PM
 #1

First release of a Bitcoin payment method module for the Ubercart shopping cart for Drupal

Github repository: https://github.com/mikegogulski/uc_bitcoin
Support and module download: http://www.nostate.com/3955/uc_bitcoin-a-bitcoin-payment-method-for-ubercartdrupal/

Feedback welcome!

The README file:

uc_bitcoin

A Bitcoin payment method for the Ubercart shopping cart for Drupal.

Version: 0.9.0
Features

    * Generates a new bitcoin address for every order
    * Provides payment address to customer on site at checkout, plus in a subsequent email
    * Configurable timeout after which unpaid transactions will be canceled automatically
    * Configurable number of Bitcoin network confirmations after which an order is considered paid
    * HTTP or HTTPS access to bitcoind

Requirements
Base requirements

    * Ubercart 2.x
    * Drupal 6.x

PHP requirements:

    * PHP5
    * cURL support
    * SSL support (if you're using HTTPS to talk to bitcoind)

Limitations

    * It is assumed that Bitcoin is the only currency accepted.
    * All prices are assumed to be in Bitcoins, and no currency conversions are performed.
    * Checks for payment receipt are performed via Drupal cron, at least until bitcoind allows attaching a JSON-RPC callback to an address.
    * Orders for downloadables are not tagged as "shipped" once paid.
    * No localization support.

Installation

    * Install Drupal 6 http://drupal.org/documentation/install.
    * Install Ubercart 2 http://www.ubercart.org/docs/user/8075/installing_ubercart.
    * Transfer the contents of the distribution archives to the modules/ directory of your Drupal installation.

Configuration

    * Log into your Drupal installation as an administrator.
    * Navigate to Administer->Site building->Modules and enable the Bitcoin module
    * Navigate to Administer->Store administration->Configuration->Payment settings
    * Click "Edit" at top, then "Payment methods"
    * Enable the Bitcoin payment method and disable all others
    * Expand the "Bitcoin settings" dropdown and proceed as follows:
          o Configure your bitcoind server information.
          o If you are using HTTPS to talk to bitcoind and would like to validate the connection using bitcoind's own SSL certificate, enter the absolute path to the certificate file (server.cert) you've uploaded to the server.
          o Configure your payment timeout and number of transaction confirmations required.
          o Save configuration.
    * Navigate to Administer->Store administration->Configuration->Store settings
    * Clik "Edit", then "Format settings"
    * Expand the "Currency format" dropdown
    * Set "Default currency" and "Currency sign" to "BTC"
    * Save configuration

Donate

    * Bitcoin payments: 1DDuMEPaQzdH3vLTiQwQvACgnv7tR25SpE
    * Gifts via other methods: http://www.nostate.com/support-nostatecom/

Authors

    * Mike Gogulski - http://www.nostate.com/ http://www.gogulski.com/

Credits

uc_bitcoin incorporates code from:

    * XML-RPC for PHP by Edd Dumbill (for JSON-RPC support)
    * bitcoin-php by Mike Gogulski (Bitcoin support library)

License

uc_bitcoin is free and unencumbered public domain software. For more information, see http://unlicense.org/ or the accompanying UNLICENSE file.

FREE ROSS ULBRICHT, allegedly one of the Dread Pirates Roberts of the Silk Road
1715572312
Hero Member
*
Offline Offline

Posts: 1715572312

View Profile Personal Message (Offline)

Ignore
1715572312
Reply with quote  #2

1715572312
Report to moderator
1715572312
Hero Member
*
Offline Offline

Posts: 1715572312

View Profile Personal Message (Offline)

Ignore
1715572312
Reply with quote  #2

1715572312
Report to moderator
1715572312
Hero Member
*
Offline Offline

Posts: 1715572312

View Profile Personal Message (Offline)

Ignore
1715572312
Reply with quote  #2

1715572312
Report to moderator
Once a transaction has 6 confirmations, it is extremely unlikely that an attacker without at least 50% of the network's computation power would be able to reverse it.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715572312
Hero Member
*
Offline Offline

Posts: 1715572312

View Profile Personal Message (Offline)

Ignore
1715572312
Reply with quote  #2

1715572312
Report to moderator
1715572312
Hero Member
*
Offline Offline

Posts: 1715572312

View Profile Personal Message (Offline)

Ignore
1715572312
Reply with quote  #2

1715572312
Report to moderator
1715572312
Hero Member
*
Offline Offline

Posts: 1715572312

View Profile Personal Message (Offline)

Ignore
1715572312
Reply with quote  #2

1715572312
Report to moderator
bitcoinex
Sr. Member
****
Offline Offline

Activity: 350
Merit: 252


probiwon.com


View Profile WWW
March 16, 2011, 10:16:27 PM
 #2

I am testing module right now. Looks cool Smiley

Little nuance concern me: I know that Drupal and the PHP is pretty buggy, so want to be able to check payments through the CLI.
Details: http://bitcointalk.org/index.php?topic=703.msg7709#msg7709

New bitcoin lottery: probiwon.com
- Moжeт, ты eщё и в Heвидимyю Pyкy Pынкa вepyeшь? - Зaчeм жe вepoвaть в тo, чтo мoжнo нaблюдaть нeпocpeдcтвeннo?
ISA
Newbie
*
Offline Offline

Activity: 52
Merit: 0


View Profile
May 25, 2011, 01:16:07 AM
 #3

very nice
openrune
Member
**
Offline Offline

Activity: 62
Merit: 10


View Profile WWW
July 16, 2011, 07:11:28 PM
 #4

thanks for the code, this option is realy nice to have!
i think about a way to integrate the free bitcoin mine into drupal https://github.com/Xenland/MiningFarm/ wonder if that sounds interesting? Wink the actual standallone 5.0.1 version looks like this: http://miningfarm.com/
I see the combination of the farm with a BTC based shop like you created it by using drupal quite usefull.


tenobis
http://mine.tenobis.com/

0 Fee TENOBIS MINE
http://mine.tenobis.com
Dnt mind any donation!
19gD6ZNxSReeNf18A2ftYeDK5uuJ5VDKnu
Tenobis
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
August 22, 2011, 02:13:07 AM
 #5

hi mike
i installed the uc_bitcoin module but im getting:
Fatal error: Cannot redeclare class BitcoinClientException in /var/www/vhosts/icoin.ch/httpdocs/modules/uc_bitcoin/bitcoin.inc on line 211
when i try to send the order, the whole checkout process works till this point, i guess the problem is caused by php 5.3
NittyBitty
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
September 03, 2011, 12:55:46 AM
Last edit: September 03, 2011, 01:12:42 AM by NittyBitty
 #6

I started with this module and i got stuck on "Configure your bitcoin server information", "User name for your Bitcoin server's JSON-RPC-HTTP interface" and "Bitcoin server password". Where do I find this? I assume I must also install a bitcoin client running on my server first?

Links to guides for noobs are very welcome!
ZiggiStar
Full Member
***
Offline Offline

Activity: 210
Merit: 100



View Profile
May 07, 2012, 08:43:01 PM
 #7

I have drupal 7 and problems to istall the new modul can someone help ?

mfg
nomnomnom
Sr. Member
****
Offline Offline

Activity: 313
Merit: 250



View Profile
May 08, 2012, 09:29:54 AM
 #8

Hello,

I have drupal 7 and problems to istall the new modul can someone help ?

mfg

I think this only works on drupal 6, because drupal 7 has different ubercart version.

Requirements
Base requirements

    * Ubercart 2.x
    * Drupal 6.x
ShireSilver
Sr. Member
****
Offline Offline

Activity: 382
Merit: 253



View Profile WWW
May 11, 2012, 12:10:37 AM
 #9

I probably would have gotten into bitcoins 6 months earlier if this module had been stable and maintained. As it is, if you're using Drupal and Ubercart, Paysius works very well.

Shire Silver, a better bullion that fits in your wallet. Get some, now accepting bitcoin!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!