Bitcoin Forum
June 14, 2024, 04:38:59 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 [4] 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 »
  Print  
Author Topic: BitShop - cryptocurrency shopping cart script [PHP/MYSQL] (v1.1.2)  (Read 74732 times)
SteamGamesBTC.com
Hero Member
*****
Offline Offline

Activity: 734
Merit: 507



View Profile WWW
November 25, 2013, 05:04:27 PM
Last edit: November 25, 2013, 05:54:41 PM by steamgames
 #61

Hi bitfreak!

I've placed an order for 3 year licence of your awesome script, paid then I've clicked the confirm button and got this message:
"An unexpected error occured. Go back and try again." Clicking back allowing me only to place a new order and pay once again.

The ID of transaction:
http://bitfreak.info/bitshop/sci/payment.php?t=jRddaAbSTmqWeer56knFjb1hA6&u=1&c=btc%27

The TX:
https://blockchain.info/en/tx/e401f1d0b4b828507a9499f326c4abc9e8ae4e12bba3b3af6881dce41a668e85

PS. I've sent you PM days ago to could you update the price on your site, because it's more than $100 less than should be (based @ btc-e rate, as mentioned on your site).

Cheers,
SteamGames

SteamGamesBTC.com
> Automatic 24/7 bot: purchase any Steam game 20% cheaper with Bitcoin! <
bitfreak! (OP)
Legendary
*
Offline Offline

Activity: 1536
Merit: 1000


electronic [r]evolution


View Profile WWW
November 26, 2013, 11:13:05 AM
 #62

Sorry about my delayed response, haven't been on this website in a few days and I didn't see your PM. I have sent you a PM with your key. Were you using Tor when you purchased the script? If your IP address changes at any point in the transaction it will not complete properly (this is done in order to prevent session hijacking attacks).

XCN: CYsvPpb2YuyAib5ay9GJXU8j3nwohbttTz | BTC: 18MWPVJA9mFLPFT3zht5twuNQmZBDzHoWF
Cryptonite - 1st mini-blockchain altcoin | BitShop - digital shop script
Web Developer - PHP, SQL, JS, AJAX, JSON, XML, RSS, HTML, CSS
SteamGamesBTC.com
Hero Member
*****
Offline Offline

Activity: 734
Merit: 507



View Profile WWW
November 26, 2013, 08:08:13 PM
Last edit: November 26, 2013, 09:05:22 PM by steamgames
 #63

Thanks a ton!

SteamGamesBTC.com
> Automatic 24/7 bot: purchase any Steam game 20% cheaper with Bitcoin! <
joker_josue
Legendary
*
Offline Offline

Activity: 1694
Merit: 4678


**In BTC since 2013**


View Profile WWW
December 06, 2013, 12:08:46 PM
 #64

Hello,

There is the possibility of a demo?
Liked to see the area of Administration.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
bitfreak! (OP)
Legendary
*
Offline Offline

Activity: 1536
Merit: 1000


electronic [r]evolution


View Profile WWW
December 06, 2013, 12:34:10 PM
 #65

Hello,

There is the possibility of a demo?
Liked to see the area of Administration.
There isn't a demo yet, but this post has many pics of the admin area.

XCN: CYsvPpb2YuyAib5ay9GJXU8j3nwohbttTz | BTC: 18MWPVJA9mFLPFT3zht5twuNQmZBDzHoWF
Cryptonite - 1st mini-blockchain altcoin | BitShop - digital shop script
Web Developer - PHP, SQL, JS, AJAX, JSON, XML, RSS, HTML, CSS
Avi99s
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
December 06, 2013, 04:36:14 PM
 #66

Hello i order your script, but gox price not update what i have to do??
Avi99s
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
December 06, 2013, 11:13:15 PM
 #67

ok i fixed the gox price update thing, there another thing i dont understand........ where do i put the RSA Private key to receive the payment? how this works you never explained it...
Densitymax
Sr. Member
****
Offline Offline

Activity: 437
Merit: 250



View Profile
December 06, 2013, 11:15:57 PM
 #68

Can I know what payment processor is used to send the Bitcoins to my wallet when someone makes a purchase on the Website? Is it a custom one or BitPay?

         ▄▄▀▀▄▄
     ▄▄▀▀  ▄▄  ▀▀▄▄
 ▄▄▀▀  ▄▄▀▀  ▀▀▄▄  ▀▀▄▄
█  ▄▄▀▀          ▀▀▄▄  █
█ █   ██▄▄     ▄██   █ █
█ █   ▄ ▀▀█▄▄ ▀▀██   █ █
█ █   ███▄ ▀▀██ ██   █ █
█ █   ██      ▀ ██   █ █
█ █   ██        ██   █ █
█  ▀▀▄▄          ▄▄▀▀  █
 ▀▀▄▄  ▀▀▄▄  ▄▄▀▀  ▄▄▀▀
     ▀▀▄▄  ▀▀  ▄▄▀▀
         ▀▀▄▄▀▀
Modex              
SMART CONTRACT MARKETPLACE
██▄▄
████  ██▄▄
████  ████
████  ████
████  ████
████  ████
████  ████
████  ████

████  ████

████  ████

████  ████

▀▀██  ████

      ▀▀██
TWITTER          LINKEDIN          SLACK
▬▬▬▬▬    FACEBOOK          TELEGRAM    ▬▬▬▬▬
DEVELOP  ●  DISTRIBUTE  ●  DEPLOY
██▄▄
████  ██▄▄
████  ████
████  ████
████  ████
████  ████
████  ████
████  ████

████  ████

████  ████

████  ████

▀▀██  ████

      ▀▀██
██▄▄
████  ██▄▄
████  ████
████  ████
████  ████
████  ████
████  ████
████  ████

████  ████

████  ████

████  ████

▀▀██  ████

      ▀▀██
railzand
Sr. Member
****
Offline Offline

Activity: 462
Merit: 250

Lux e tenebris


View Profile
December 07, 2013, 03:12:46 PM
 #69

ok i fixed the gox price update thing, there another thing i dont understand........ where do i put the RSA Private key to receive the payment? how this works you never explained it...

please don't sell your great script to this scammer

MoreBloodWine
Legendary
*
Offline Offline

Activity: 1050
Merit: 1001


View Profile
December 09, 2013, 01:08:52 AM
 #70

Still setting up but I got it to the poin where I have a running index.

Noticed this top left...

BitShop v0.9.5b (fixed)
Exchange rate (mtgox):
1 BTC = 187.0525 USD

1) How do I add the $ preceeding the value of BTC ?
   1a) 1 BTC = $187.0525 USD

2) When the prices bet back in to the thousands, do you use number_format() so values display as 1,000 and not 1000 ?

3) Would really like to see the 1 BTC = thing update automatically from the MT Gox API or w/e exchange is used.

4) Default admin pass admin doesnt seem to let me get in to admin area.

Ty.

To be decided...
bitfreak! (OP)
Legendary
*
Offline Offline

Activity: 1536
Merit: 1000


electronic [r]evolution


View Profile WWW
December 09, 2013, 04:44:54 AM
Last edit: December 09, 2013, 05:04:03 AM by bitfreak!
 #71

1) How do I add the $ preceeding the value of BTC ?
Open up \inc\themes\default\head.inc.php and edit line 13.

2) When the prices bet back in to the thousands, do you use number_format() so values display as 1,000 and not 1000 ?
Good question, for some reason I haven't set the number_format() function to display the comma separator but I will change that in future releases.
You can change it yourself by opening \lib\bit-sci.lib.php and editing line 167 (put a comma in the last argument of number_format()).
And if you were wondering about other price formats such a mBTC, that's a feature I plan to add in the future.

3) Would really like to see the 1 BTC = thing update automatically from the MT Gox API or w/e exchange is used.
It should update automatically if you set up a cron job as specified in the installation instructions.

4) Default admin pass admin doesnt seem to let me get in to admin area.
Something I did in the last update has messed up the admin login a little bit.
Try logging in again if it doesn't work the first time and make sure you have cookies enabled.

EDIT: I just realized that I only used the round() function in the head.inc.php file. Replace it with the number_format() function to format it however you want.

XCN: CYsvPpb2YuyAib5ay9GJXU8j3nwohbttTz | BTC: 18MWPVJA9mFLPFT3zht5twuNQmZBDzHoWF
Cryptonite - 1st mini-blockchain altcoin | BitShop - digital shop script
Web Developer - PHP, SQL, JS, AJAX, JSON, XML, RSS, HTML, CSS
MoreBloodWine
Legendary
*
Offline Offline

Activity: 1050
Merit: 1001


View Profile
December 09, 2013, 05:10:23 AM
 #72

As far as admin goes I keep getting wrong password, using the set default admin. Didnt chane it yet because I wana get stuff running before I start changing settings since there's no point in changing too much til I go live.

Maximum number of login attempts exceeded. Please try again in 2 hours.

As for the rest, will look in to it. I stopped watching the youtube video about 6 minutes in to ome here and post about the admin issue.

Edit: Comee to think of it, I'd rather wait to continue on that video til you get the new updated one up that you mentioned you were working on, foret where I read that.

To be decided...
bitfreak! (OP)
Legendary
*
Offline Offline

Activity: 1536
Merit: 1000


electronic [r]evolution


View Profile WWW
December 09, 2013, 05:14:16 AM
 #73

Have you got javascript enabled? The admin login now requires javascript to be enabled because it uses a hashing scheme to protect the admin password for those people who don't have an SSL certificate.

XCN: CYsvPpb2YuyAib5ay9GJXU8j3nwohbttTz | BTC: 18MWPVJA9mFLPFT3zht5twuNQmZBDzHoWF
Cryptonite - 1st mini-blockchain altcoin | BitShop - digital shop script
Web Developer - PHP, SQL, JS, AJAX, JSON, XML, RSS, HTML, CSS
MoreBloodWine
Legendary
*
Offline Offline

Activity: 1050
Merit: 1001


View Profile
December 09, 2013, 05:28:09 AM
 #74

Have you got javascript enabled? The admin login now requires javascript to be enabled because it uses a hashing scheme to protect the admin password for those people who don't have an SSL certificate.
Tried it in two different browsers with cookies enabled to the same effect... wrong pass. I went ahead and changed it from the default, will wait the 2hrs and try again and will post back here.

To be decided...
bitfreak! (OP)
Legendary
*
Offline Offline

Activity: 1536
Merit: 1000


electronic [r]evolution


View Profile WWW
December 09, 2013, 05:30:39 AM
 #75

Ok, I just noticed a small javascript error on the admin login page which might be causing your problem.

Replace all of line 48 of the inc/admin/login.inc.php file with the following line of code:

  var pass = $("#pass_txt").val();

I forgot to put the 'var' keyword before the variable and that was causing the problem I mentioned earlier.
After applying that fix I don't have to try to log in twice anymore, so it may fix your problem as well.

XCN: CYsvPpb2YuyAib5ay9GJXU8j3nwohbttTz | BTC: 18MWPVJA9mFLPFT3zht5twuNQmZBDzHoWF
Cryptonite - 1st mini-blockchain altcoin | BitShop - digital shop script
Web Developer - PHP, SQL, JS, AJAX, JSON, XML, RSS, HTML, CSS
bitfreak! (OP)
Legendary
*
Offline Offline

Activity: 1536
Merit: 1000


electronic [r]evolution


View Profile WWW
December 09, 2013, 05:39:18 AM
 #76

will wait the 2hrs and try again and will post back here.
You don't have to wait 2 hours, just add these lines to the bottom of \inc\common.inc.php (just before the closing PHP tag):

  session_unset();
  session_destroy();
  unset_cookies();

And then refresh the login page, and then remove those lines from the common.inc.php page and try logging in again.

XCN: CYsvPpb2YuyAib5ay9GJXU8j3nwohbttTz | BTC: 18MWPVJA9mFLPFT3zht5twuNQmZBDzHoWF
Cryptonite - 1st mini-blockchain altcoin | BitShop - digital shop script
Web Developer - PHP, SQL, JS, AJAX, JSON, XML, RSS, HTML, CSS
MoreBloodWine
Legendary
*
Offline Offline

Activity: 1050
Merit: 1001


View Profile
December 09, 2013, 05:46:50 AM
 #77

will wait the 2hrs and try again and will post back here.
You don't have to wait 2 hours, just add these lines to the bottom of \inc\common.inc.php (just before the closing PHP tag):

  session_unset();
  session_destroy();
  unset_cookies();

And then refresh the login page, and then remove those lines from the common.inc.php page and try logging in again.
Did as sugested in previous reply and this as well. Admin pass seems to take now, but upon hitting the submit button the admin login page just sorta refreshed back to the enter password screen. Is that what its supposed to do ?

I suspet this is going to come back down to me missing something since I didnt wah the full install video, but as I said before. I'd rather wait for the updated video before proceeding.

Edit: Just ran /goxgrab/mtgox_update.php manually, shows price now as $763.31 but the price on gox itself is $843

To be decided...
bitfreak! (OP)
Legendary
*
Offline Offline

Activity: 1536
Merit: 1000


electronic [r]evolution


View Profile WWW
December 09, 2013, 05:56:22 AM
 #78

Did as sugested in previous reply and this as well. Admin pass seems to take now, but upon hitting the submit button the admin login page just sorta refreshed back to the enter password screen. Is that what its supposed to do ?
Try logging in a second time like I said before and see if it works. It looks like my javascript fix didn't fix that annoying problem after all.

Quote
Just ran /goxgrab/mtgox_update.php manually, shows price now as $763.31 but the price on gox itself is $843
The price data is actually taken from bitcoincharts.com, so it might not be exactly the same as shown on Mt. Gox. It should be though.

XCN: CYsvPpb2YuyAib5ay9GJXU8j3nwohbttTz | BTC: 18MWPVJA9mFLPFT3zht5twuNQmZBDzHoWF
Cryptonite - 1st mini-blockchain altcoin | BitShop - digital shop script
Web Developer - PHP, SQL, JS, AJAX, JSON, XML, RSS, HTML, CSS
MoreBloodWine
Legendary
*
Offline Offline

Activity: 1050
Merit: 1001


View Profile
December 09, 2013, 06:01:58 AM
 #79

Did as sugested in previous reply and this as well. Admin pass seems to take now, but upon hitting the submit button the admin login page just sorta refreshed back to the enter password screen. Is that what its supposed to do ?
Try logging in a second time like I said before and see if it works. It looks like my javascript fix didn't fix that annoying problem after all.
Just tried 10 times in a row to no avail, in two browsers.

Quote
Just ran /goxgrab/mtgox_update.php manually, shows price now as $763.31 but the price on gox itself is $843
The price data is actually taken from bitcoincharts.com, so it might not be exactly the same as shown on Mt. Gox. It should be though.
So if I wanted it to be as close as possible to whats shown on Gox, what do I need to do ? I assume something will need to be rewriten to pull from their API directly ?

To be decided...
bitfreak! (OP)
Legendary
*
Offline Offline

Activity: 1536
Merit: 1000


electronic [r]evolution


View Profile WWW
December 09, 2013, 06:12:27 AM
 #80

Just tried 10 times in a row to no avail, in two browsers.
Ok, well then it has something to do with your server not handling cookies properly. I remember there was another guy a few months ago who had a similar problem logging into the admin area and the only way he could solve it was by changing to another host or by completely removing the cookie handling code from the admin login page.

So if I wanted it to be as close as possible to whats shown on Gox, what do I need to do ? I assume something will need to be rewriten to pull from their API directly ?
Oh I realized why it's different, because the script is using the 24 weighted average price. If you want to change it find all places where $btc_stats['avg'] is used and replace it with $btc_stats['close']

XCN: CYsvPpb2YuyAib5ay9GJXU8j3nwohbttTz | BTC: 18MWPVJA9mFLPFT3zht5twuNQmZBDzHoWF
Cryptonite - 1st mini-blockchain altcoin | BitShop - digital shop script
Web Developer - PHP, SQL, JS, AJAX, JSON, XML, RSS, HTML, CSS
Pages: « 1 2 3 [4] 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 »
  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!