Bitcoin Forum

Bitcoin => Bitcoin Discussion => Topic started by: mikegogulski on November 26, 2010, 11:40:55 PM



Title: Bitcoin for WP e-Commerce for WordPress
Post by: mikegogulski on November 26, 2010, 11:40:55 PM
A payment processor for the WP e-Commerce shopping cart plugin for WordPress.

github repository: https://github.com/mikegogulski/bitcoin-virtuemart
Support: http://www.nostate.com/3971/bitcoin-for-wp-e-commerce-shopping-cart-for-wordpress/

The README file:

Bitcoin for WP e-Commerce

A Bitcoin payment method for the WP e-Commerce shopping cart for WordPress.

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

    * WP e-Commerce 3.7.7 or greater
    * WordPress 3.0 or greater (may work on 2.8+, untested)

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 WordPress cron, at least until bitcoind allows attaching a JSON-RPC callback to an address.
    * No notification is sent to the customer or shop administrator if a transaction expires without payment.
    * Expired transactions are marked with a status code of "5" in the database, which doesn't correspond to a human-readable status code provided by WP e-Commerce.
    * No localization support.

Installation

    * Install WordPress http://codex.wordpress.org/Installing_WordPress.
    * Log into your WordPress installation as an administrator.
    * Install WP e-Commerce via Plugins->Add New in the WordPress dashboard.
    * Transfer the contents of the distribution archive to the wp-content/plugins/wp-e-commerce directory of your WordPress installation.

Configuration

    * Navigate to Store->Settings->Payment Options.
    * Under "General Settings", check "Bitcoin" and uncheck everything else.
    * Click "Update"
    * At right, Select the Bitcoin payment gateway.
    * Configure your bitcoind server information.
    * 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.
    * Configure your payment timeout and number of transaction confirmations required.
    * Adjust the checkout message template as required.
    * Click "Update".
    * Click "General" at the top and set the currency type to "Bitcoin".
    * Set the remaining parameters as you wish and click "Update".

Donate

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

Authors

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

Credits

Bitcoin for WP e-Commerce incorporates code from:

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

License

Bitcoin for WP e-Commerce is free and unencumbered public domain software. For more information, see http://unlicense.org/ or the accompanying UNLICENSE file.


Title: Re: Bitcoin for WP e-Commerce for WordPress
Post by: Cryptoman on November 27, 2010, 02:10:40 AM
OMG, I was just talking to my girlfriend about how nice it would be to have a WP e-Commerce-compatible processor for Bitcoin.  I can't wait to test this out.  Does bitcoind need to be running on the server that the site is hosted on?  That wouldn't be possible in my case as it's a shared server.  Keep up the good work, Mike!


Title: Re: Bitcoin for WP e-Commerce for WordPress
Post by: mikegogulski on November 27, 2010, 02:41:45 AM
Does bitcoind need to be running on the server that the site is hosted on?

No, but the webserver must have a static IP address and the bitcoind server must have either a static IP or a DNS name to IP address mapping taken care of by DynDNS, for example. Also, the bitcoind server needs to be configured to permit the webserver's IP to connect to the RPC interface: https://www.bitcoin.org/wiki/doku.php?id=rpcssl


Title: Re: Bitcoin for WP e-Commerce for WordPress
Post by: The Madhatter on November 27, 2010, 03:13:06 AM
OMG, I was just talking to my girlfriend about how nice it would be to have a WP e-Commerce-compatible processor for Bitcoin.

Your girlfriend knew what you were talking about? I'm surprised. :o


Title: Re: Bitcoin for WP e-Commerce for WordPress
Post by: mikegogulski on November 27, 2010, 03:45:31 AM
OMG, I was just talking to my girlfriend about how nice it would be to have a WP e-Commerce-compatible processor for Bitcoin.

Your girlfriend knew what you were talking about? I'm surprised. :o

He didn't say that...


Title: Re: Bitcoin for WP e-Commerce for WordPress
Post by: Cryptoman on November 27, 2010, 04:21:15 AM
Actually, she's the most intelligent person I've ever met and did indeed understand what I was talking about.  At any rate, could I compile bitcoind to run on a MIPS-based router?  I have an ASUS RT-N16 running DD-WRT sitting on my cable modem.  If not, I'll just slap together a reasonably low power x86 Linux box.



Title: Re: Bitcoin for WP e-Commerce for WordPress
Post by: mikegogulski on November 27, 2010, 04:40:36 AM
Actually, she's the most intelligent person I've ever met and did indeed understand what I was talking about.

Then you're both lucky!

At any rate, could I compile bitcoind to run on a MIPS-based router?  I have an ASUS RT-N16 running DD-WRT sitting on my cable modem.  If not, I'll just slap together a reasonably low power x86 Linux box.

In its current state, bitcoin is x86-specific. Certainly it can be decoupled from the hardware architecture, but that's not a task taken lightly.

If all you need is a bitcoind network appliance, I'd just look around for the cheapest functioning p3/p4 notebook I could find for less than $50.


Title: Re: Bitcoin for WP e-Commerce for WordPress
Post by: bitdragon on January 16, 2011, 07:01:16 PM
Can someone guide me on how to configure bitcoin to run on my hosting with wordpress and WP e-commerce.

I made a bitcoin.conf file that I put into .bitcoin folder at the root.
This file includes my username and password.
Is this the correct way to configure password?

Where do I upload bitcoin(d) to?

Is that all there is to it?

Thank you very much for any help,




Title: Re: Bitcoin for WP e-Commerce for WordPress
Post by: BitPorium on May 10, 2011, 06:10:28 PM
I know this is one hell of a revival but I think my question is valid.
HEre is my issue.
The script pulls a new address from the server, I can see it in my address book.
The transaction goes into the list of sales in the dashboard.
But the transaction results always report that the transaction was not accepted. Why is that?

Thanks


Title: Re: Bitcoin for WP e-Commerce for WordPress
Post by: mikegogulski on May 15, 2011, 09:54:17 AM
Folks,

As I'm not checking here often, I've missed replies asking for support.

The best place for general support is to post a comment at the support link listed in the announcement.

I can provide implementation assistance at €20/hr or the equivalent in BTC. For that, get in touch with me via http://gogulski.com/contact

Peace,
Mike


Title: Re: Bitcoin for WP e-Commerce for WordPress
Post by: Valhalla1 on June 05, 2011, 10:11:43 PM
Hey Mike,
I tried posting this as a comment on your support link, but it seems like it was filtered as spam because it never showed up.

I am having the same problem as 'bearbones' had in his comment.  

I am using the latest version of WP (3.1.3), latest WP-e-commerce (3.8.4) and am using PHP 5.3.6, my server runs FreeBSD.  

I extracted bitcoin-wp-e-commerce-0.9.0.tar.gz to the plugins folder, but Bitcoin is not available under Store-> Payment Options.


from 'bearbones's comment, I tried entering this in phpmyadmin 'sql' section -

INSERT INTO wp_wpsc_currency_list VALUES (NULL, 'Bitcoin', 'BC', 'Bitcoin', '', '', 'BTC', '0', '0', 'antarctica', '1');


this makes BTC show on WP Dashboard->Settings->Store->General->Currency , but still when I go to my wordpress dashboard->settings->store->payment options, all I have are Chronopay, Google Checkout, some Paypal options and Test


Title: Re: Bitcoin for WP e-Commerce for WordPress
Post by: mikegogulski on June 06, 2011, 01:05:39 AM
Hey Mike,
I tried posting this as a comment on your support link, but it seems like it was filtered as spam because it never showed up.

I am having the same problem as 'bearbones' had in his comment.  

I am using the latest version of WP (3.1.3), latest WP-e-commerce (3.8.4) and am using PHP 5.3.6, my server runs FreeBSD.  

I extracted bitcoin-wp-e-commerce-0.9.0.tar.gz to the plugins folder, but Bitcoin is not available under Store-> Payment Options

In the plugins folder? You mean wp-content/plugins? That's the wrong place, if so. The archive needs to be extracted into the wp-e-commerce directory.


Title: Re: Bitcoin for WP e-Commerce for WordPress
Post by: Valhalla1 on June 06, 2011, 04:12:43 AM
Hey Mike,
I tried posting this as a comment on your support link, but it seems like it was filtered as spam because it never showed up.

I am having the same problem as 'bearbones' had in his comment.  

I am using the latest version of WP (3.1.3), latest WP-e-commerce (3.8.4) and am using PHP 5.3.6, my server runs FreeBSD.  

I extracted bitcoin-wp-e-commerce-0.9.0.tar.gz to the plugins folder, but Bitcoin is not available under Store-> Payment Options

In the plugins folder? You mean wp-content/plugins? That's the wrong place, if so. The archive needs to be extracted into the wp-e-commerce directory.

sorry, to be more specific, I meant the "wp-content/plugins/wp-e-commerce" directory.  Is this the wrong place?  

http://img98.imageshack.us/img98/3356/ecommerce.png


I've also tried it with putting the contents of the 'wp-content/plugins/wp-e-commerce/merchants' folder into the 'wp-content/plugins/wp-ecommerce' directory and that didn't change anything.


Title: Re: Bitcoin for WP e-Commerce for WordPress
Post by: mikegogulski on June 13, 2011, 02:58:07 AM
You're going to be better off forking and fixing this yourself, or finding a dev to do it for you. I'm fully engaged in a new project.


Title: Re: Bitcoin for WP e-Commerce for WordPress
Post by: RomertL on June 13, 2011, 04:01:02 AM
Quote
Limitations

    * It is assumed that Bitcoin is the only currency accepted.

I'm running the website houseofreplicas.net and would really like to accept bitcoins. But not only bitcoins, that would limit it way too much. After all there's only a small fraction of Mankind that's even aware of bitcoins. Is somebody still engaged in this? I'm already running eshop on wp so would be perfect if it allowed different currencies. Would would be my best option if I wanted to accept bitcoins?


Title: Re: Bitcoin for WP e-Commerce for WordPress
Post by: mikegogulski on June 13, 2011, 05:17:27 AM
Quote
Limitations

    * It is assumed that Bitcoin is the only currency accepted.

I'm running the website houseofreplicas.net and would really like to accept bitcoins. But not only bitcoins, that would limit it way too much. After all there's only a small fraction of Mankind that's even aware of bitcoins. Is somebody still engaged in this? I'm already running eshop on wp so would be perfect if it allowed different currencies. Would would be my best option if I wanted to accept bitcoins?

I'm not sure who might be engaged, but I created www.btcrate.com as a means for online shops to handle BTC/fiat currency conversions. My plugins would probably need some tweaking in order to talk to it and enable true multi-currency support.


Title: Re: Bitcoin for WP e-Commerce for WordPress
Post by: RomertL on June 13, 2011, 05:39:52 AM
Quote
Limitations

    * It is assumed that Bitcoin is the only currency accepted.

I'm running the website houseofreplicas.net and would really like to accept bitcoins. But not only bitcoins, that would limit it way too much. After all there's only a small fraction of Mankind that's even aware of bitcoins. Is somebody still engaged in this? I'm already running eshop on wp so would be perfect if it allowed different currencies. Would would be my best option if I wanted to accept bitcoins?

I'm not sure who might be engaged, but I created www.btcrate.com as a means for online shops to handle BTC/fiat currency conversions. My plugins would probably need some tweaking in order to talk to it and enable true multi-currency support.

Well that would be a very useful combination. Unfortunately I don't know much about coding to do it myself, anybody feel like helping the bitcoin-community. Easy integration is probably an important factor for wide acceptance of the bitcoin. I'll donate ;)


Title: Re: Bitcoin for WP e-Commerce for WordPress
Post by: freedominnumbers on June 29, 2011, 03:50:04 AM
I'm attempting to implement this for a BTC project and wanted to share my findings on the problem above.
bitcoin.php needs to be in the wpsc-merchants folder for the latest version.


Title: Re: Bitcoin for WP e-Commerce for WordPress
Post by: samablog on August 09, 2011, 12:18:29 PM
I am having troubles getting this up and running as well.  I have the plugin in the wpsc-merchants folder as indicated above.  The plugin shows up in the dashboard and seems to be configurable.  I have bitcoind running on the server, and I tested this by sending a bitocin to and from the server, so I know it's running.  It's running on the same domain as the website, so i have it set to localhost, and the username and password match what's in the bitcoin.conf file.  Yet when I go to check out with a shopping cart, it returns a blank screen.  I figure that there must be a conflict somewhere, or that I have something misconfigured.  Any thoughts?

Thanks in advance for the help.


Title: Re: Bitcoin for WP e-Commerce for WordPress
Post by: jaminunit on June 21, 2013, 02:32:34 PM
This is  really cool!
love it.

Things I would love to see in this project.

  • Accept multiple currencies. not just bitcoin because its hard to accept bitcoin if your going to lock out all other possibilities.
  • I would love to hook into the blockchain.info wallet api so that I dont have to run the bitcoin client on the server. (a lot of hosting providers don't let you access IRC and a lot of people are on shared hosting.)




Title: Re: Bitcoin for WP e-Commerce for WordPress
Post by: maco on June 21, 2013, 04:09:29 PM
Is this in the wp plugin market?

I would love to test this out. Can this be intergrated with Bitpay?

Has anyone tried that put yet?

Thanks for this +1 goes to you.

A payment processor for the WP e-Commerce shopping cart plugin for WordPress.

github repository: https://github.com/mikegogulski/bitcoin-virtuemart
Support: http://www.nostate.com/3971/bitcoin-for-wp-e-commerce-shopping-cart-for-wordpress/

The README file:

Bitcoin for WP e-Commerce

A Bitcoin payment method for the WP e-Commerce shopping cart for WordPress.

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

    * WP e-Commerce 3.7.7 or greater
    * WordPress 3.0 or greater (may work on 2.8+, untested)

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 WordPress cron, at least until bitcoind allows attaching a JSON-RPC callback to an address.
    * No notification is sent to the customer or shop administrator if a transaction expires without payment.
    * Expired transactions are marked with a status code of "5" in the database, which doesn't correspond to a human-readable status code provided by WP e-Commerce.
    * No localization support.

Installation

    * Install WordPress http://codex.wordpress.org/Installing_WordPress.
    * Log into your WordPress installation as an administrator.
    * Install WP e-Commerce via Plugins->Add New in the WordPress dashboard.
    * Transfer the contents of the distribution archive to the wp-content/plugins/wp-e-commerce directory of your WordPress installation.

Configuration

    * Navigate to Store->Settings->Payment Options.
    * Under "General Settings", check "Bitcoin" and uncheck everything else.
    * Click "Update"
    * At right, Select the Bitcoin payment gateway.
    * Configure your bitcoind server information.
    * 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.
    * Configure your payment timeout and number of transaction confirmations required.
    * Adjust the checkout message template as required.
    * Click "Update".
    * Click "General" at the top and set the currency type to "Bitcoin".
    * Set the remaining parameters as you wish and click "Update".

Donate

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

Authors

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

Credits

Bitcoin for WP e-Commerce incorporates code from:

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

License

Bitcoin for WP e-Commerce is free and unencumbered public domain software. For more information, see http://unlicense.org/ or the accompanying UNLICENSE file.


Title: Re: Bitcoin for WP e-Commerce for WordPress
Post by: bitcoinpreneur on June 26, 2013, 12:29:59 AM
This is  really cool!
love it.

Things I would love to see in this project.

  • Accept multiple currencies. not just bitcoin because its hard to accept bitcoin if your going to lock out all other possibilities.
  • I would love to hook into the blockchain.info wallet api so that I dont have to run the bitcoin client on the server. (a lot of hosting providers don't let you access IRC and a lot of people are on shared hosting.)




This is something that we are working on releasing soon!

You can find more info at http://bitmate.net (http://bitmate.net) You can also subscribe for email updates so you don't miss out when it launches.


Title: Re: Bitcoin for WP e-Commerce for WordPress
Post by: Chaoskampf on June 26, 2013, 12:49:31 AM
Thank you Mike. I was just working on a project using bitcoin-php. Keep up the good work! Also....Free Bradley!