Bitcoin Forum
September 26, 2016, 12:14:39 AM *
News: Due to DDoS attacks, there may be periodic downtime.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: bitcoin-virtuemart-joomla payment gateway  (Read 7962 times)
mikegogulski
Sr. Member
****
Offline Offline

Activity: 360



View Profile WWW
November 19, 2010, 02:03:29 AM
 #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
1474848879
Hero Member
*
Offline Offline

Posts: 1474848879

View Profile Personal Message (Offline)

Ignore
1474848879
Reply with quote  #2

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

Posts: 1474848879

View Profile Personal Message (Offline)

Ignore
1474848879
Reply with quote  #2

1474848879
Report to moderator
1474848879
Hero Member
*
Offline Offline

Posts: 1474848879

View Profile Personal Message (Offline)

Ignore
1474848879
Reply with quote  #2

1474848879
Report to moderator
1474848879
Hero Member
*
Offline Offline

Posts: 1474848879

View Profile Personal Message (Offline)

Ignore
1474848879
Reply with quote  #2

1474848879
Report to moderator
Bimmerhead
Legendary
*
Offline Offline

Activity: 951



View Profile WWW
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.

Auroracoin forum: http://auroraspjall.is/   Auroracoin-enabled Q&A: https://spurt.is/
AuroracoinLocal: https://www.skiptum.is/   Auroracoin twitter tipping: http://auroratip.auroracoin.io/#/
mikegogulski
Sr. Member
****
Offline Offline

Activity: 360



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


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

You're that stateless person!

mikegogulski
Sr. Member
****
Offline Offline

Activity: 360



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
Jr. Member
*
Offline Offline

Activity: 41


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

1DGnEUkNMzLc9nx4oHQZLsNw6Rs3sLbYkL
Cryptoman
Hero Member
*****
Offline Offline

Activity: 728



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
Jr. Member
*
Offline Offline

Activity: 41


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.

1DGnEUkNMzLc9nx4oHQZLsNw6Rs3sLbYkL
bonecone
Newbie
*
Offline Offline

Activity: 2


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

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

Activity: 1918


Welcome to Bitcoin Stalk


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

what are the possible security issues of running this on a HTTP instead of HTTPS

BITCOINTALK STAFF SELECTIVELY ENFORCE THE RULES IN AN ATTEMPT TO CREATE A CHILL EFFECT AND PERMANENTLY REMOVE ME AND OTHERS FROM THIS FORUM AS RETALIATION FOR SPEAKING OUT ABOUT THEIR ABUSIVE BEHAVIOR, AND THAT OF THEIR PERSONAL CLIQUES.
ilic
Sr. Member
****
Offline Offline

Activity: 330


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??

epere
Sr. Member
****
Offline Offline

Activity: 364


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
Jr. Member
*
Offline Offline

Activity: 44


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
Jr. Member
*
Offline Offline

Activity: 42


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


NEED CRYPTO CODER? COIN DEVELOPER? PM ME 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:  

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!