Bitcoin Forum
May 05, 2024, 08:29:22 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: [CLOSED] OpenCart Bitcoin payment extension (100 BTC)  (Read 11329 times)
accord01
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
June 17, 2011, 01:42:16 AM
 #21

Bitcoin payment module for opencart 1.4.9.4.
All payments are processed by mybitcoin.com

PM me if you found bugs or need help setting it up. Or find me on IRC 'tabsa'.

Download here:
https://github.com/tabsa/opencart-bitcoin-payment-module/zipball/master

Readme here:
https://github.com/tabsa/opencart-bitcoin-payment-module/blob/master/README

Donate here if you find this usefull: 1PLDpSpTtMnmoSYPfZFEBhuhHPEUSBkSQj

It seems like there was a glitch or something in the add on for bitcoins in open cart.  I am in wait for something that works securely with open cart 1.5x so i can get my bitcoin commerce going.  Btw- I am a completely newbie to site developments and ecommerce.
1714897762
Hero Member
*
Offline Offline

Posts: 1714897762

View Profile Personal Message (Offline)

Ignore
1714897762
Reply with quote  #2

1714897762
Report to moderator
1714897762
Hero Member
*
Offline Offline

Posts: 1714897762

View Profile Personal Message (Offline)

Ignore
1714897762
Reply with quote  #2

1714897762
Report to moderator
You get merit points when someone likes your post enough to give you some. And for every 2 merit points you receive, you can send 1 merit point to someone else!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
enmaku
Hero Member
*****
Offline Offline

Activity: 742
Merit: 500


View Profile
July 07, 2011, 06:59:21 AM
Last edit: July 07, 2011, 07:14:11 AM by enmaku
 #22

OK so if I leave the default currencies there (USD, Pounds, Euro etc.) it works beautifully and converts to BTC at a decent exchange rate during checkout, but I'd really like to have the option to display prices in BTC while browsing. Is there some easy way to add a currency that will match MyBitcoin's exchange rate? I can see the currency entries in the database, it looks like I'd just need to set the BTC entry's exchange rate to 1/usd_value but I'd rather not hand-code all that if there's already something integrated or someone's already written the code.

Has anyone already tackled this?

Edit: I have no problem doing the work myself if there's no solution, I just want to know if there is one I'm overlooking or if I should do the work. I'm pretty sure I've got both a Mt Gox ticker API script and a simple database update script just laying around that I could bash together, but I'd rather use something official, developed by pros who speak PHP fluently (unlike this .NET pro who speaks PHP quite poorly  Grin )
enmaku
Hero Member
*****
Offline Offline

Activity: 742
Merit: 500


View Profile
July 07, 2011, 02:17:27 PM
 #23

*bump*

Anybody? Anybody? Bueller?
Gabriel Beal
Full Member
***
Offline Offline

Activity: 210
Merit: 100


Fezzik, tear his arms off.


View Profile WWW
July 07, 2011, 02:23:59 PM
 #24

What we did on SquareWear.biz was add btc as a currency and modified the display so that the bitcoin price always displays with the fiat currency selected in parentheses.  We also modified the opencart currency update script that runs so that it grabs prices from bitcoincharts.  However, it only does this whenever you click on the dashboard.  Weirdly, I think that's the intended behavior for opencart.  So once a day, I just click on dashboard and watch the prices change.  PM me if you'd like to see our code modifications.  One warning, we're running 1.4.9 and not the newest Opencart.

enmaku
Hero Member
*****
Offline Offline

Activity: 742
Merit: 500


View Profile
July 07, 2011, 02:32:26 PM
 #25

What we did on SquareWear.biz was add btc as a currency and modified the display so that the bitcoin price always displays with the fiat currency selected in parentheses.  We also modified the opencart currency update script that runs so that it grabs prices from bitcoincharts.  However, it only does this whenever you click on the dashboard.  Weirdly, I think that's the intended behavior for opencart.  So once a day, I just click on dashboard and watch the prices change.  PM me if you'd like to see our code modifications.  One warning, we're running 1.4.9 and not the newest Opencart.

PM sent good sir.
bitgold
Sr. Member
****
Offline Offline

Activity: 353
Merit: 250


View Profile
January 20, 2013, 03:45:10 PM
 #26

On the store front ( Opencart version 1.5.4 ), I got this:

Error communicating with payment provider. Please contact the store for assistance.

In the log, I see this:

2013-01-20 5:52:23 - PHP Notice:  Undefined variable: bitcoin_send_address in /var/www/html/opencart/catalog/view/theme/default/template/payment/bitcoin.tpl on line 51
2013-01-20 5:52:23 - PHP Notice:  Undefined variable: bitcoin_send_address in /var/www/html/opencart/catalog/view/theme/default/template/payment/bitcoin.tpl on line 53
2013-01-20 5:52:23 - PHP Notice:  Undefined variable: bitcoin_send_address in /var/www/html/opencart/catalog/view/theme/default/template/payment/bitcoin.tpl on line 55

where should this variable be set?

Pages: « 1 [2]  All
  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!