Bitcoin Forum
May 17, 2024, 01:00:03 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 74729 times)
bobbit
Full Member
***
Offline Offline

Activity: 215
Merit: 100


View Profile
March 13, 2013, 03:57:01 PM
 #21

Thanks for your attention to my issue bitfreak! You rock.
bobbit
Full Member
***
Offline Offline

Activity: 215
Merit: 100


View Profile
March 13, 2013, 10:56:48 PM
 #22



So, I'm adding my stuff to the store, and get to item 25...hit edit to upload an image and WTH??
There is already a preview of an image....nice cat btw. Would have preferred one NOT cleaning it's crotch though. Smiley
So I looked in the clean download, in the /pics folder, and there is a 25 already, with this image in it.

LOL, thanks for the "what the hell" moment I had
bitfreak! (OP)
Legendary
*
Offline Offline

Activity: 1536
Merit: 1000


electronic [r]evolution


View Profile WWW
March 14, 2013, 03:01:37 AM
 #23

lol that's a pic of my cat. Grin

Sorry I must have left that pic in there accidentally after I did some testing.

Thanks for letting me know though.  Wink

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

Activity: 482
Merit: 502



View Profile WWW
March 15, 2013, 07:31:48 AM
 #24

Is it possible to accept 0 confirmation payments?
bitfreak! (OP)
Legendary
*
Offline Offline

Activity: 1536
Merit: 1000


electronic [r]evolution


View Profile WWW
March 15, 2013, 08:32:11 AM
Last edit: March 15, 2013, 09:03:14 AM by bitfreak!
 #25

Is it possible to accept 0 confirmation payments?
Not really, because the blockexplorer.com API doesn't allow it (last I checked). However the script does switch between using the blockexplorer.com API and the blockchain.info API every few calls. To make it work properly with 0 confirmations you'd probably need to change to the script to use only blockchain.info, which I could do for you. But then if blockchain.info went down you wouldn't have blockexplorer.com to fall back on.

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

Activity: 215
Merit: 100


View Profile
March 25, 2013, 09:31:19 PM
 #26

Have you thought about adding LTC payments? I had someone ask about it, seems he only wants to horde BTC, not actually help it become a currency.
bitfreak! (OP)
Legendary
*
Offline Offline

Activity: 1536
Merit: 1000


electronic [r]evolution


View Profile WWW
March 26, 2013, 05:16:01 AM
 #27

Have you thought about adding LTC payments?
No I haven't thought about that before actually. I may add that feature in a future version if I think it'll be worth the effort but for now it'll just be bitcoin. I just want to keep things as simple as possible for now.

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

Activity: 215
Merit: 100


View Profile
March 26, 2013, 11:34:40 AM
 #28

Thanks for the update.
Future development could be made modular, with the ability to add any type of alt currency payment. I don't use many, just BTC and LTC, but there is a potential for country specific alt currency to spring up.
Lethn
Legendary
*
Offline Offline

Activity: 1540
Merit: 1000



View Profile WWW
April 21, 2013, 08:41:35 AM
Last edit: April 21, 2013, 10:20:11 AM by Lethn
 #29

I think I've mucked something up, is there any reason why I'd get an "Update failed!" red error message? I did double check my stages so I wonder if it's something I've unwittingly botched through editing, I think I need to download the source code again.

Edit 1: Seems to be happening even when I edit just the most basic settings but I'll keep tweaking to see if I can find the cause, I still seem to be able to generate RSA keys just fine though for some reason.

Edit 2: Well I think I've tried all I can, I wonder if it's something to do with my FTP server, I'll have a look around but I've never come across this issue, I also tried changing file permissions etc. just in case.
Lethn
Legendary
*
Offline Offline

Activity: 1540
Merit: 1000



View Profile WWW
April 24, 2013, 09:28:45 AM
Last edit: April 30, 2013, 03:15:58 PM by Lethn
 #30

You guys will love this, this is what I get for not reading up the comments carefully:

Quote
// turn on/off error reporting (disable when live)
ini_set('display_errors', 1);
error_reporting(E_ALL);

// show sql debug info on error (disable when live)
$debug_sql = true;

Will let you know if it works.

Edit: Well nothing I tried worked so I give up now, the admin editing area seems to be borked for some reason but for some reason I can still edit up the pages in notepad++ and upload the changes just fine. The products page and the RSA Keygen works though so I guess I'll just edit offline as a workaround until I can find out what's wrong.

Edit 2: My webhost has apparently been DDOS'd a lot and the cpanel has gone down entirely now, that's probably why the store wasn't updating properly if I do any editing on it online.
Lethn
Legendary
*
Offline Offline

Activity: 1540
Merit: 1000



View Profile WWW
May 02, 2013, 06:54:04 PM
Last edit: May 12, 2013, 02:33:44 AM by Lethn
 #31

For those who want to know I found the source of the problem and for whatever reason the store decided to work when I set my permissions to 777 a lot of weirdness going on there but it's working as it did before now.

Edit: I also found changing the folder name of the shop fixed things
bitfreak! (OP)
Legendary
*
Offline Offline

Activity: 1536
Merit: 1000


electronic [r]evolution


View Profile WWW
May 30, 2013, 02:34:37 AM
 #32

Just released version 0.9.0. It adds multiple new features including a new section for managing and exporting the bitcoin keys in the admin area and increased modularity in the template system. I've also added a showcase page to the BitShop website which contains a few good examples of what can be done with this script.

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

Activity: 1540
Merit: 1000



View Profile WWW
June 30, 2013, 12:17:41 PM
Last edit: June 30, 2013, 12:44:14 PM by Lethn
 #33

I have most of Bitshop figured out now but is there any particular reason why I'd be getting this error? Everything else works including making products etc.


Quote
There was an error creating the transaction. Please go back and try again.

If it helps I've made a test file key, I'll keep checking over the instructions to see if I can fix it myself, also getting these weird problems where the admin login page won't confirm my login and let me in.
escrow.ms
Legendary
*
Offline Offline

Activity: 1274
Merit: 1004


View Profile
June 30, 2013, 12:28:10 PM
 #34

This looks really great. However you should add subcategories option.
bitfreak! (OP)
Legendary
*
Offline Offline

Activity: 1536
Merit: 1000


electronic [r]evolution


View Profile WWW
June 30, 2013, 10:32:50 PM
 #35

I have most of Bitshop figured out now but is there any particular reason why I'd be getting this error? Everything else works including making products etc.

Quote
There was an error creating the transaction. Please go back and try again.

If it helps I've made a test file key, I'll keep checking over the instructions to see if I can fix it myself, also getting these weird problems where the admin login page won't confirm my login and let me in.
Have you setup the configuration files properly and added your public RSA key to the SCI configuration file?

I recently made a rather large update to the script so the installation video needs to be updated a little bit. But it should be fairly easy to work out.

And if you have cookies disabled that might explain the admin login problem and perhaps the other problems as well. Try using another web browser and see what happens.

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 30, 2013, 10:43:36 PM
 #36

This looks really great. However you should add subcategories option.
Yeah that's something a lot of people have requested but it's one of those updates I've been trying to avoid because it'll probably be fairly difficult to do. I will add that feature in one of the upcoming releases 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
escrow.ms
Legendary
*
Offline Offline

Activity: 1274
Merit: 1004


View Profile
July 01, 2013, 01:39:23 AM
 #37

This looks really great. However you should add subcategories option.
Yeah that's something a lot of people have requested but it's one of those updates I've been trying to avoid because it'll probably be fairly difficult to do. I will add that feature in one of the upcoming releases though.

That will be nice and you should make a better version of of this script with user registration system, credit system and ability to sell physical stuff.

There are many scripts that does that like opencart etc but they have too many functions or they are not so simple and user friendly.

bitfreak! (OP)
Legendary
*
Offline Offline

Activity: 1536
Merit: 1000


electronic [r]evolution


View Profile WWW
July 01, 2013, 02:29:43 AM
 #38

user registration system, credit system and ability to sell physical stuff.
The reason it doesn't have a user registration system is because it's designed to only sell digital stuff. I decided that there's no real point to having a registration system if you're selling digital items for BTC because everything can be automated and it makes the process much faster.

That's why there is no item cart either, the buyer can only purchase one item at a time, similar to eBay, because at the end of the confirmation process the buyer will automatically receive the file/codes for the single item they purchased, and it would be difficult to change that now.

So basically it's not designed to be like a typical shopping cart software, it's uniquely tailored to handle digital items and codes. That's a specific design choice I made because it's very difficult to make it support both support physical items and digital items at the same time.

Sorry to give you such a disappointing answer but I don't really plan to add support for physical items.

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 01, 2013, 03:31:05 AM
 #39

Now for a bit of good news. I finally think I figured out what was causing those random errors when confirming a transaction. I wasn't really sure it was a real bug because I'd never seen it myself and only had it reported to me by 1 or 2 people. However I was looking at the code and I realized why it might actually be a real bug.

The script changes between using the blockchain.info and the blockexplorer.com API's every few calls, however the script always double checks a payment before it will confirm it. I believe the problem would occur when the payment was confirmed with one of the API's and then when it went to double-check the payment it would switch to the other API, which didn't yet show the payment had been confirmed. So basically it would fail upon double checking the payment because one of the API's was lagging behind.

I believe I have now fixed this problem with the latest release (version 0.9.1). Now when it double-checks the payment it should use the same API that it used to confirm the payment. Hopefully that should solve the problem and that random bug will disappear.

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

Activity: 1540
Merit: 1000



View Profile WWW
July 01, 2013, 07:56:32 AM
 #40

Thanks for the update Bitfreak, I'll give that a try and see if it does anything different, as for physical products, I guess what the people asking for physical products must be looking for some kind of automated system but I don't see what would be so hard about just putting the quantity of items and having orders emailed in via the little notes section, you'd just have people write the email and postage address they need and then it would be sent off. Since it's Bitcoin, you don't need all these silly amounts of details in order to just buy a physical item, it's just a different system that the customer and merchant has to get used to the only difference to the normal system is you don't have several input fields to go through which I actually prefer because my real name causes all sorts of problems with those stupid databases.
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!