Bitcoin Forum
April 20, 2014, 09:59:23 PM *
News: Due to the OpenSSL heartbleed bug, changing your forum password is recommended.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: uc_bitcoin: A Bitcoin payment method for Ubercart/Drupal  (Read 2432 times)
mikegogulski
Sr. Member
****
Offline Offline

Activity: 349



View Profile WWW

Ignore
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
1398031163
Hero Member
*
Offline Offline

Posts: 1398031163

View Profile Personal Message (Offline)

Ignore
1398031163
Reply with quote  #2

1398031163
Report to moderator

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1398031163
Hero Member
*
Offline Offline

Posts: 1398031163

View Profile Personal Message (Offline)

Ignore
1398031163
Reply with quote  #2

1398031163
Report to moderator
1398031163
Hero Member
*
Offline Offline

Posts: 1398031163

View Profile Personal Message (Offline)

Ignore
1398031163
Reply with quote  #2

1398031163
Report to moderator
1398031163
Hero Member
*
Offline Offline

Posts: 1398031163

View Profile Personal Message (Offline)

Ignore
1398031163
Reply with quote  #2

1398031163
Report to moderator
1398031163
Hero Member
*
Offline Offline

Posts: 1398031163

View Profile Personal Message (Offline)

Ignore
1398031163
Reply with quote  #2

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

Activity: 350


probiwon.com


View Profile WWW

Ignore
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
- Может, ты ещё и в Невидимую Руку Рынка веруешь? - Зачем же веровать в то, что можно наблюдать непосредственно?
ISA
Jr. Member
*
Offline Offline

Activity: 48


View Profile

Ignore
May 25, 2011, 01:16:07 AM
 #3

very nice

openrune
Member
**
Offline Offline

Activity: 62


View Profile WWW

Ignore
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


View Profile

Ignore
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: 10


View Profile

Ignore
September 03, 2011, 12:55:46 AM
 #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



View Profile

Ignore
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: 265



View Profile

Ignore
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: 381



View Profile WWW

Ignore
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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!