Bitcoin Forum
November 19, 2024, 09:23:40 AM *
News: Latest Bitcoin Core release: 28.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 74867 times)
bitfreak! (OP)
Legendary
*
Offline Offline

Activity: 1536
Merit: 1000


electronic [r]evolution


View Profile WWW
May 25, 2014, 03:12:15 PM
 #241

Ok I just released v1.0.0 RC2, which fixes a small formatting issue in the payment gateway and also fixes a problem with the confirmation email received by buyers after a purchase.

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: 1064
Merit: 1001


View Profile
May 25, 2014, 09:56:07 PM
 #242

If an item was deactivated that was featured, it doesn't show as active with the other items but it still comes up as a featured item.
Did you ever look at this bitfreak ?

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

Activity: 1536
Merit: 1000


electronic [r]evolution


View Profile WWW
May 26, 2014, 04:39:14 AM
 #243

Yes that issue has been fixed.

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

Activity: 168
Merit: 100


View Profile
June 08, 2014, 09:39:07 PM
Last edit: June 08, 2014, 10:07:56 PM by mdzedzej
 #244

thanks for the message
bitfreak! (OP)
Legendary
*
Offline Offline

Activity: 1536
Merit: 1000


electronic [r]evolution


View Profile WWW
June 08, 2014, 10:08:23 PM
 #245

thanks for the message
I just sent you a PM.

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
June 22, 2014, 04:16:06 PM
 #246

Ok well it looks like RC3 was pretty much bug free so I've released v1.0.0 Final. The only difference between it and RC3 is a few cosmetic changes in the admin area. If you're running anything lower than RC3 I'd highly suggest updating to v1.0.0 Final.

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
June 22, 2014, 04:17:41 PM
 #247

Good work bitfreak! Gonna do update soon! :-)

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
June 22, 2014, 04:29:40 PM
Last edit: June 22, 2014, 04:43:41 PM by bitfreak!
 #248

Good work bitfreak! Gonna do update soon! :-)
Thank you! Might be a while before I release another update but I'm always looking for helpful suggestions about what sorts of features I should include in future releases. Some of the ideas I already have planned for the near and distant future are the following:

- support for discount/coupon codes
- send email to subscribers when item in stock
- user account system (undecided)
- support for other alt coins
- support for other databases
- wider range of translations

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

Activity: 1974
Merit: 1003



View Profile
June 22, 2014, 04:45:41 PM
 #249

good job buddy, im thinking to make a store for my forum, might use this one
bitfreak! (OP)
Legendary
*
Offline Offline

Activity: 1536
Merit: 1000


electronic [r]evolution


View Profile WWW
June 22, 2014, 04:52:48 PM
 #250

good job buddy, im thinking to make a store for my forum, might use this one
Good to hear! If you have any questions I'm always around.

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

Activity: 4
Merit: 0


View Profile
July 05, 2014, 12:20:04 PM
 #251

Please help, when i try to export my bitcoin keys it shows:

Quote
1,"14n2BiJxxxxtQSB51mfgbwVMU988UHvZbS","*** Invalid Ciphertext ***"

Private / Public keys should be fine.
MoreBloodWine
Legendary
*
Offline Offline

Activity: 1064
Merit: 1001


View Profile
July 05, 2014, 12:48:55 PM
 #252

When I click show files for 0.9.9 to 1.0.0 I get a new page with a shit on of stuff and not something showing like the few updated pages I expected to see.

If what shows now on the new page is what was updated then I'm sure as shit to lose every custom edit ever made lol.

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

Activity: 1536
Merit: 1000


electronic [r]evolution


View Profile WWW
July 05, 2014, 10:33:10 PM
Last edit: July 06, 2014, 12:56:33 AM by bitfreak!
 #253

When I click show files for 0.9.9 to 1.0.0 I get a new page with a shit on of stuff and not something showing like the few updated pages I expected to see.

If what shows now on the new page is what was updated then I'm sure as shit to lose every custom edit ever made lol.
Well that's because there's a lot of code changes between 0.9.9 and 1.0.0. The page with all the stuff is still listing which files need to be updated, it just contains more information. The column you want to focus on is the "Comparison result" column. If it says "Text files are different" or "Binary files are different" then you need to update the corresponding file. If it says "Left only" that means the corresponding file is new to 1.0.0 and "Right only" means the file only exists in 0.9.9 and has been removed from 1.0.0.

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
July 05, 2014, 10:33:23 PM
 #254

Please help, when i try to export my bitcoin keys it shows:

Quote
1,"14n2BiJxxxxtQSB51mfgbwVMU988UHvZbS","*** Invalid Ciphertext ***"

Private / Public keys should be fine.
Probably the only reason that can happen now is that you failed to properly copy the public key. Some other people who had that problem said that some web browsers don't select the full key properly when you double click in the text box because the key contains ':' characters. Log into the admin area and then go to Settings and then select RSA KEYGEN. Then generate a new RSA key pair and make sure to copy the full public key properly. Click inside the text box and use ctrl+a to select all the text.

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

Activity: 4
Merit: 0


View Profile
July 06, 2014, 08:59:39 AM
 #255

thank you.
How can i reset the latest transaction list on the home page ? Dont find the infos anywhere..
bitfreak! (OP)
Legendary
*
Offline Offline

Activity: 1536
Merit: 1000


electronic [r]evolution


View Profile WWW
July 06, 2014, 01:17:58 PM
 #256

thank you.
How can i reset the latest transaction list on the home page ? Dont find the infos anywhere..
All you should need to do is delete the inc/rss.inc file.

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: 1064
Merit: 1001


View Profile
July 06, 2014, 01:54:29 PM
Last edit: July 07, 2014, 03:35:54 AM by MoreBloodWine
 #257

I like how we can use Coinbase now for payments, seems a bit safer IMO.

Anyway, when I go to test the callback URL I get a pop up saying the following...

The page at https://coinbase.com says:

Error! Server responded with:

301 Moved Permanently

I don't understand why this would be happening, I have everything set up right or so I thought, here's what my URL looks like.

http://www.spend-ur-bits.com/sci/callback.php?s=<secret defined in sci config>

Even if I use: http://spend-ur-bits.com/sci/callback.php?s=<secret defined in sci config>

I get a 500 Internal error.

I even went as far as trying: https://spend-ur-bits.com/sci/callback.php?s=<secret defined in sci config>

I thought that worked because when I hit the Test button from Coinbase, I didnt get a popup of any sort. Logs didnt show anything but failed previous attempts. So I thought all was ok, did a test buy, sent the fund, still had like 9:30 on the timer. Ater payment was sent I go back to the site and get this in red letters.

ERROR: the transaction has not been confirmed!

So apparently my call back is broke an so is my store if I can't process coinbase payments.

The order did show as completed on coinbase and I refunded myself... so ya, thats my day so far with the new shop heh.

Edit: I've come to realize it's my .htaccess or something in the code of the store but here's what's in my .htaccess file for my store address. I use the exact same for other URL's that always redirect to the www address, grant it they're all SMF forums, but it seems that the store is the only thing being funny.

Code:
#Spend-ur-Bits.com
RewriteCond %{HTTP_HOST} ^Spend-ur-Bits.com$ [OR]
RewriteCond %{HTTP_HOST} ^Spend-ur-Bits.turtle-tv.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.Spend-ur-Bits.turtle-tv.com$ [OR]

RewriteCond %{HTTP_HOST} ^turtle-tv.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.turtle-tv.com$
RewriteRule ^BTCShop\/?(.*)$ "http\:\/\/www\.Spend-ur-Bits\.com\/$1" [R=301,L]

Edi2: What should it say when successful in the popup and how will it's current "error" affect payments at all ? I did a test buy without payment and it loaded to the coinbase payment screen just fine with the 10 minute timer thing.

Speaking of that timer, is that adjustable at all ?

Edit 3: Was I supposed to do anything the way o the databases for upgrading from 0.9.9 to 1.0.0 ?

All I did was just remove the install folder and upload everything replacing everything already on the server for the store.

Edit 4: When I try to edit pages like about, they break...

Existing
Code:
<h1><?php echo LANG('ABOUT_TITLE'); ?></h1>

<p><?php echo LANG('TEXT_HERE'3' '); ?></p>

Shows
Code:
About Us
Your text goes here. Your text goes here. Your text goes here.

Edit Existing
Code:
<h1><?php echo LANG('ABOUT_TITLE'); ?></h1>

<p><?php echo LANG('Test...'3' '); ?></p>

Shows
Code:
About Us


To be decided...
MoreBloodWine
Legendary
*
Offline Offline

Activity: 1064
Merit: 1001


View Profile
July 06, 2014, 11:41:01 PM
Last edit: July 07, 2014, 03:33:16 AM by MoreBloodWine
 #258

I like how we can use Coinbase now for payments, seems a bit safer IMO.

Anyway, when I go to test the callback URL I get a pop up saying the following...

The page at https://coinbase.com says:

Error! Server responded with:

301 Moved Permanently

I don't understand why this would be happening, I have everything set up right or so I thought, here's what my URL looks like.

http://www.spend-ur-bits.com/sci/callback.php?s=<secret defined in sci config>

Even if I use: http://spend-ur-bits.com/sci/callback.php?s=<secret defined in sci config>

I get a 500 Internal error.

I even went as far as trying: https://spend-ur-bits.com/sci/callback.php?s=<secret defined in sci config>

I thought that worked because when I hit the Test button from Coinbase, I didnt get a popup of any sort. Logs didnt show anything but failed previous attempts. So I thought all was ok, did a test buy, sent the fund, still had like 9:30 on the timer. Ater payment was sent I go back to the site and get this in red letters.

ERROR: the transaction has not been confirmed!

So apparently my call back is broke an so is my store if I can't process coinbase payments.

Edit: I've come to realize it's my .htaccess or something in the code of the store but here's what's in my .htaccess file for my store address. I use the exact same for other URL's that always redirect to the www address, grant it they're all SMF forums, but it seems that the store is the only thing being funny.

Code:
#Spend-ur-Bits.com
RewriteCond %{HTTP_HOST} ^Spend-ur-Bits.com$ [OR]
RewriteCond %{HTTP_HOST} ^Spend-ur-Bits.turtle-tv.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.Spend-ur-Bits.turtle-tv.com$ [OR]

RewriteCond %{HTTP_HOST} ^turtle-tv.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.turtle-tv.com$
RewriteRule ^BTCShop\/?(.*)$ "http\:\/\/www\.Spend-ur-Bits\.com\/$1" [R=301,L]

Edi2: What should it say when successful in the popup and how will it's current "error" affect payments at all ? I did a test buy without payment and it loaded to the coinbase payment screen just fine with the 10 minute timer thing.

Speaking of that timer, is that adjustable at all ?

Edit 3: Was I supposed to do anything the way o the databases for upgrading from 0.9.9 to 1.0.0 ?

All I did was just remove the install folder and upload everything replacing everything already on the server for the store.

Edit 4: When I try to edit pages like about, they break...

Existing
Code:
<h1><?php echo LANG('ABOUT_TITLE'); ?></h1>

<p><?php echo LANG('TEXT_HERE'3' '); ?></p>

Shows
Code:
About Us
Your text goes here. Your text goes here. Your text goes here.

Edit Existing
Code:
<h1><?php echo LANG('ABOUT_TITLE'); ?></h1>

<p><?php echo LANG('Test...'3' '); ?></p>

Shows
Code:
About Us


To be decided...
MoreBloodWine
Legendary
*
Offline Offline

Activity: 1064
Merit: 1001


View Profile
July 07, 2014, 12:51:33 AM
 #259

In addition to my previous reply, any news on this ?
Quote
Also, how can I use more than 5 images / thumbnails per item and have them break after 4 on item view since the 5th gets squished due to set frame size in the code ?
I'll look into it.

Found it looking for this code so I can re-edit side.inc.php... any chance of this making it into the official release ? It's a rather nice addition if you recall why I requested it.


Replace this line:
Code:
                    echo "<li$c_active><a href='index.php?page=cats&amp;id=".$category['CatID'].
"'>".$img_html.' '.safe_str($category['Name'])."</a></li>";

With this:
Code:
					$total_cats = count_file_cat(safe_sql_str($category['CatID']));
$sub_cats = get_scats($category['CatID']);

if (!empty($sub_cats) && ($sub_cats != 'N/A')) {  
 while ($row = mysqli_fetch_assoc($sub_cats)) {
if ($row['Active']) {
 $total_cats += count_file_cat(safe_sql_str($row['CatID']));
}
 }
}

                    echo "<li$c_active><a href='index.php?page=cats&amp;id=".$category['CatID'].
               "'>".$img_html.' '.safe_str($category['Name'])." ($total_cats)</a></li>";
 

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

Activity: 1536
Merit: 1000


electronic [r]evolution


View Profile WWW
July 07, 2014, 03:56:42 AM
 #260

.@MoreBloodWine: I didn't write the coinbase code so I can't really say what the issue is until I look into, and I don't really have much time right now. Did you try the .htaccess file from 1.0.0? Maybe try doing a fresh install using the install.php script? Try using a different web browser or different computer and see if that makes a difference. And no, you don't have to upgrade anything in the database. As for your question about the pages breaking, just remove the PHP code and replace it with what ever HTML you want. Eg:

<h1>My Title</h1>
<p>My page text.</p>

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!