Bitcoin Forum
April 25, 2024, 07:29:00 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bitcoin-virtuemart-joomla payment gateway  (Read 8895 times)
mikegogulski (OP)
Sr. Member
****
Offline Offline

Activity: 360
Merit: 250



View Profile WWW
November 19, 2010, 02:03:29 AM
Last edit: November 19, 2010, 09:32:56 AM by mikegogulski
 #1

First release of a Bitcoin payment processor plugin to the VirtueMart shopping cart for Joomla!

Get it at github: https://github.com/mikegogulski/bitcoin-virtuemart
Support: http://www.nostate.com/3941/bitcoin-payment-processor-for-virtuemartjoomla/

Feedback welcome.


The README file:

bitcoin-virtuemart

A Bitcoin payment processor plugin for the VirtueMart shopping cart for Joomla!.

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

    * Joomla! 1.5
    * VirtueMart 1.1.x

PHP requirements:

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

Other requirements:

    * Access to create a cronjob on your web server (or elsewhere)
    * wget or the curl commandline tool on the machine running the cronjob

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.
    * A cronjob is required to check for payment receipt, at least until bitcoind allows attaching a JSON-RPC callback to an address.
    * Emailing the bitcoin address requires an extra email to be sent (modifying the order confirmation message VirtueMart sends would be preferable, but the API doesn't support that).
    * Validation of bitcoind's generated address is based only on its length. The PHP solution available requires the GMP extension to be installed.
    * Orders for downloadables are not tagged as "shipped" once paid.
    * The Bitcoin address associated with a transaction is stored in a database field not intended for it.
    * No localization support.

Installation

    * Install Joomla! http://help.joomla.org/content/category/15/99/132/.
    * Install VirtueMart (a PDF file included in the distribution explains the process).
    * Untar the distribution archive in your Joomla! installation's base directory.

Configuration

    * Log into your Joomla! installation as an administrator.
    * Click Components -> VirtueMart on the main menu.
    * At left, click Store -> List Payment Methods.
    * Click Bitcoin in the list.
    * Click the checkbox next to "Name" at the top of the list, then clear the Bitcoin checkbox.
    * Click "Unpublish" at top.
    * On the "Payment Method Form" tab, configure as follows:
          o Active - checked
          o Payment Method Name - Bitcoin
          o Code - BC
          o Payment class name - ps_bitcoin
          o Payment method type - HTML-Form based (e.g. PayPal)
    * Now click to the "Configuration" tab 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 Note the instruction to create a cronjob. The cronjob is what queries bitcoind periodically to see if pending orders have been paid. The cronjob is mandatory.
          o Leave the "Order status" options at their defaults:
                + Successful = Confirmed
                + Uncompleted = Pending
                + Failed = Cancelled
          o Copy and paste all of the code from extrainfo.php in the distribution archive's root directory into the "Payment Extra Info" box.
          o Save.
    * Create the Bitcoin currency:
          o Assuming you're still in the VirtueMart component, click Admin -> List Currencies at left.
          o Click New at top right.
          o Enter:
                + Currency name: Bitcoin
                + Currency code: BTC
          o Save.
    * Set the store-wide currency:
          o Click Store -> Edit Store
          o In the "Currency Display Style" box:
                + Open "Currency" and select Bitcoin.
                + Enter "BTC" as the Currency Symbol.
                + Under "List of accepted currencies" click Bitcoin and make sure that all other currencies are deselected.
          o Save.

Donate

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

Authors

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

Credits

    * jsonrpc
    * PayCific

License

bitcoin-virtuemart 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
"In a nutshell, the network works like a distributed timestamp server, stamping the first transaction to spend a coin. It takes advantage of the nature of information being easy to spread but hard to stifle." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714030140
Hero Member
*
Offline Offline

Posts: 1714030140

View Profile Personal Message (Offline)

Ignore
1714030140
Reply with quote  #2

1714030140
Report to moderator
1714030140
Hero Member
*
Offline Offline

Posts: 1714030140

View Profile Personal Message (Offline)

Ignore
1714030140
Reply with quote  #2

1714030140
Report to moderator
1714030140
Hero Member
*
Offline Offline

Posts: 1714030140

View Profile Personal Message (Offline)

Ignore
1714030140
Reply with quote  #2

1714030140
Report to moderator
Bimmerhead
Legendary
*
Offline Offline

Activity: 1291
Merit: 1000


View Profile
November 19, 2010, 02:42:18 AM
 #2

I haven't installed it yet but just wanted to say 'thanks'.  This is a fantastic extension for Joomla, and for bitcoin.  Great idea, thank you for doing it.
mikegogulski (OP)
Sr. Member
****
Offline Offline

Activity: 360
Merit: 250



View Profile WWW
November 19, 2010, 02:45:13 AM
 #3

I haven't installed it yet but just wanted to say 'thanks'.  This is a fantastic extension for Joomla, and for bitcoin.  Great idea, thank you for doing it.

Thanks, and you're welcome. Beware the beta code, however! I'd be thrilled to hear back from you with real-world results, whether they be a working shop with customers or even "Ack! It doesn't work!" Smiley

FREE ROSS ULBRICHT, allegedly one of the Dread Pirates Roberts of the Silk Road
Anonymous
Guest

November 19, 2010, 02:54:35 AM
 #4

Im a fan of your work Mike.  Smiley
kiba
Legendary
*
Offline Offline

Activity: 980
Merit: 1014


View Profile
November 19, 2010, 03:03:30 AM
 #5

You're that stateless person!

mikegogulski (OP)
Sr. Member
****
Offline Offline

Activity: 360
Merit: 250



View Profile WWW
November 19, 2010, 03:12:35 AM
 #6

You're that stateless person!

Yesh I haz a videoz and stufff Smiley

FREE ROSS ULBRICHT, allegedly one of the Dread Pirates Roberts of the Silk Road
Anonymous
Guest

November 19, 2010, 03:22:48 AM
 #7

You're that stateless person!

Yesh I haz a videoz and stufff Smiley

I enjoy no state projects  wherever they come up. Smiley



Intermediary
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
March 10, 2011, 08:56:36 PM
 #8

Hi every one.  I'm new to Bitcoin and not very technical.  I'm looking to start accepting bitcoin on my site and we're using Mike's Joomla payment gateway.  My developer has asked me to enquire after the following information.   I did email mybitcoin for the information I am missing but have heard nothing back from them. (a little worrying in terms of future support).

What would be the setting I should be using for the server address and server.cert?

Best Regards,

Intermediary
Cryptoman
Hero Member
*****
Offline Offline

Activity: 726
Merit: 500



View Profile
March 11, 2011, 02:40:31 AM
 #9

Did you try contacting Mike at mike@gogulski.com?  You need to be running bitcoind on a server somewhere, either the same one that hosts the site or another one.  The server address will be either 127.0.0.1 or yourbitcoindserver.com.  The payment gateway uses JSON-RPC over HTTP/HTTPS to communicate with bitcoind.  If you choose to use HTTPS (and you probably should), then you need a server certificate.  Here's a link to a page which tells you how to generate a self-signed certificate:

http://www.akadia.com/services/ssh_test_certificate.html

If you have further questions, it might be better to post in the Technical Discussion or Technical Support forums.

Good luck and welcome to the site.

"A small body of determined spirits fired by an unquenchable faith in their mission can alter the course of history." --Gandhi
Intermediary
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
March 17, 2011, 09:57:23 PM
 #10

Thank you, Cryptoman.  I shall pass this on to my developer and also have a look at the forums you recommended.  

Did you try contacting Mike at mike@gogulski.com?  You need to be running bitcoind on a server somewhere, either the same one that hosts the site or another one.  The server address will be either 127.0.0.1 or yourbitcoindserver.com.  The payment gateway uses JSON-RPC over HTTP/HTTPS to communicate with bitcoind.  If you choose to use HTTPS (and you probably should), then you need a server certificate.  Here's a link to a page which tells you how to generate a self-signed certificate:

http://www.akadia.com/services/ssh_test_certificate.html

If you have further questions, it might be better to post in the Technical Discussion or Technical Support forums.

Good luck and welcome to the site.
bonecone
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
March 31, 2011, 10:57:48 AM
 #11

Will this work over an i2p eepsite?
TECSHARE
In memoriam
Legendary
*
Offline Offline

Activity: 3318
Merit: 1958


First Exclusion Ever


View Profile WWW
July 10, 2011, 04:26:22 AM
 #12

what are the possible security issues of running this on a HTTP instead of HTTPS
ilic
Hero Member
*****
Offline Offline

Activity: 535
Merit: 502


View Profile
March 05, 2014, 05:41:31 AM
 #13

hi, i run a virtuemart shopping cart and would love to accept BTC payments.  Is this plugin still supported in anyway?  will it run on current Joomla/Virtuemart installs??


Good free and easy Bitcoin Faucet thingy: https://freebitco.in/?r=9293711
Do not invest in HYIPs people, however you can put some into iCenter: https://t.me/icenter_bot?start=j5t25s58148
epere
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250


View Profile
March 05, 2014, 05:46:08 AM
 #14

what are the possible security issues of running this on a HTTP instead of HTTPS
I just installed and activated SSL certificate, should I take https or http on login page?

Breaking6745
Newbie
*
Offline Offline

Activity: 63
Merit: 0


View Profile
March 05, 2014, 09:43:06 AM
 #15

It's great, I used Joomla for my previous project and was completely satisfied with it, very easy in operating. I'm very glad that now I can use it for btc payment, thank's!
bittyweb
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
March 05, 2014, 10:31:20 AM
 #16

The code is perfect for joomla. Thanks a lot for creating the gateway.
E.exchanger
Hero Member
*****
Offline Offline

Activity: 714
Merit: 500


NEED CRYPTO CODER? COIN DEVELOPER? PM US FOR HELP!


View Profile
March 05, 2014, 05:18:02 PM
 #17

Oh i read this post today well great work man the community needs these kind of services so much. I'll be surely reading about it on the links you have provided and get it on my website. If anyone has tried it before i'll appreciate the feedback!!
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!