Author

Topic: LimeCart, Simple Crypto Accepting Shopping Cart (Read 4193 times)

sr. member
Activity: 489
Merit: 250
looks interesting project looking for similler script to handle services and deliver digital and goods so any body can recommend some script with advance features
full member
Activity: 164
Merit: 100
Did this project continue?

If not is there something else out there that is recommended?
member
Activity: 84
Merit: 10
Free Publicity For Your Biz, Coin, Product, or Svc

LimeCart is a stand alone shopping cart system that uses any crypto Daemon to accept payments.

buyer picks product -> checkout page gathers info and supplies payment address from daemon ->
waits for for confirmations -> moves sale to cold storage -> stores sale in database, emails, buyer receipt and merchant about sale.


This was coded as a basic starting point for a website that wants to sell items for crypto currency (LimeCoin).
Initially project was created for LimeCoin but can easily be adapted to any coin, Bitcoin, Litecoin with a few changes in configuration.
This is a basic project, and left simple, the code is probably a mess and my coding style is considered the master of spaghetti code but if you can manage to read my shitty code then feel free to edit bugs add security or add features. Or simply just take it and use it as, as is it is fully functional and easy to install and configure.

Like i said, this isn't professional, this is simple, this is a mess... but its functional, and i am happy with it, i'm sure many elite professional coders out there will knock it but they are invited to submit changes and grow for the community. I just worry when i show people my source... don't be to harsh on the criticism please...

Come into IRC for support / dev, and find vual on freenode.



Source Code




Installation




Features

  • Fully Customizable
  • Fully Transparent
  • Set Confirmations
  • QR Code Integration
  • Uses Free MailChimp mail sending API (12,000 free mails a month)
  • Google Map Integration to confirm buyer shipping details when required
  • Emails Merchant on Purchase
  • Accepts LimeCoin
  • Uses Daemon RPC calls
  • Stores payments in offline Cold Storage
  • Large Option of Settings
  • CSS Themes
  • Easily Configurable for any Crypto Currency



Technologies




To-Do List

  • Add error handling
  • Logging
  • Clean up code and file structures
  • Add admin area (currently use phpmyadmin to add product)
  • Version check and upgrade from git
  • Add multiple coin support at the same time



Demo






EDIT:
Buyers where finding it hard to navigate, untill i fix that here are instructions for buyers...
Have javascript on not  blocked in browser, also NEVER leave site untill you are told to...

How To Make a Purchase

Add item to cart,
click checkout,
fill in details or just email,
click submit to show address,
copy address and paste into your corresponding desktop wallet for relevant crypto currency,
send payment from your desktop wallet to website's wallet,
click "check confirmations",
wait 5min click "check confirmations",
leave when told,
check email for receipt.




I think this is something we will be looking into deeper real soon. 


thanks
legendary
Activity: 2114
Merit: 1040
A Great Time to Start Something!
The demo site is down now?
hero member
Activity: 714
Merit: 500
I modified this script for use on http://xxxcoincams.com/

It is integrated with xxx coin obviously and while we're in the initial testing phase of the site, the payment script is working well.

Could have used a little more commenting throughout the code, but anyone with a little PHP experience should be able to work through it.

The only "issue" I have with it, is that if a user sends a payment and leaves the page (closes, power outage, etc) there is no way for the script to verify that users transaction.

The script calls checkconfirmations.php and includes the order number with the send to payment address.  The daemon then checks to see if payment arrived, if it did, it updates the database to say that order is filled.

So, if the user loads a new payment address by clicking on the "get address" button, or any of the things I mentioned above.  There is no way to tie the two pieces together.

I'll be modifying it to take a user_id, storing that with the tx id in the database.  A cron will run periodically.  All addresses will be checked, if not confirmed within 30 minutes, they'll be removed from the database to eliminate bloat in the database.

This will also eliminate any issues if the daemon goes down between generating the send address, and verifying the transaction.  A check will be in place with the cron, that checks to see the daemon is running fine.

Again, great script to start from, thanks!

Feel free to comment for me, im so dam busy hahaha

All changes you make to make it "better" simply commit to git and we can merge them and build from it Smiley

I see all points you make and they are valid points, i have fuck all time if you make those changes and share with the community it would be much appreciated!
full member
Activity: 168
Merit: 100
I modified this script for use on http://xxxcoincams.com/

It is integrated with xxx coin obviously and while we're in the initial testing phase of the site, the payment script is working well.

Could have used a little more commenting throughout the code, but anyone with a little PHP experience should be able to work through it.

The only "issue" I have with it, is that if a user sends a payment and leaves the page (closes, power outage, etc) there is no way for the script to verify that users transaction.

The script calls checkconfirmations.php and includes the order number with the send to payment address.  The daemon then checks to see if payment arrived, if it did, it updates the database to say that order is filled.

So, if the user loads a new payment address by clicking on the "get address" button, or any of the things I mentioned above.  There is no way to tie the two pieces together.

I'll be modifying it to take a user_id, storing that with the tx id in the database.  A cron will run periodically.  All addresses will be checked, if not confirmed within 30 minutes, they'll be removed from the database to eliminate bloat in the database.

This will also eliminate any issues if the daemon goes down between generating the send address, and verifying the transaction.  A check will be in place with the cron, that checks to see the daemon is running fine.

Again, great script to start from, thanks!
hero member
Activity: 714
Merit: 500
How to use with "BITCOIN"

I had a question in PM how to use this with BITCOIN,
Thought i will post here for others.
You may use with ANY daemon, as simple as 1, 2 3.


https://github.com/Limecoin/LimeCart/wiki/Installation

1. Install DAEMON of choice (Bitcoin)
2. Clone repo
3. Edit Config

^_*

Find me on [IRC]FREENODE im vual.
full member
Activity: 133
Merit: 100
great job. thanks
legendary
Activity: 1974
Merit: 1108
Free Free Palestine
Very good product.
Good luck buddy !!!
hero member
Activity: 714
Merit: 500
How many market and how many country recept it?

can only accept 1 coin atm, coinfreaks.com is demo site it uses LimeCoin, hence  LimeCart....
In regards to country receipt it, i don't know what that means sorry, all country's i assume....
Legal obligations in exotic country's i don't know sorry.

If you mean TAX well you can change fee in config for tax setting, so if your tax was 10% on goods then you can make fee setting 10.
Ill have to work more on tax and accounting to meet local laws and regulations good point, thanks for bringing that to my attention.
member
Activity: 115
Merit: 10
Cryptocurrencies is future
How many market and how many country recept it?
hero member
Activity: 714
Merit: 500

LimeCart is a stand alone shopping cart system that uses any crypto Daemon to accept payments.

buyer picks product -> checkout page gathers info and supplies payment address from daemon ->
waits for for confirmations -> moves sale to cold storage -> stores sale in database, emails, buyer receipt and merchant about sale.


This was coded as a basic starting point for a website that wants to sell items for crypto currency (LimeCoin).
Initially project was created for LimeCoin but can easily be adapted to any coin, Bitcoin, Litecoin with a few changes in configuration.
This is a basic project, and left simple, the code is probably a mess and my coding style is considered the master of spaghetti code but if you can manage to read my shitty code then feel free to edit bugs add security or add features. Or simply just take it and use it as, as is it is fully functional and easy to install and configure.

Like i said, this isn't professional, this is simple, this is a mess... but its functional, and i am happy with it, i'm sure many elite professional coders out there will knock it but they are invited to submit changes and grow for the community. I just worry when i show people my source... don't be to harsh on the criticism please...

Come into IRC for support / dev, and find vual on freenode.



Source Code




Installation




Features

  • Fully Customizable
  • Fully Transparent
  • Set Confirmations
  • QR Code Integration
  • Uses Free MailChimp mail sending API (12,000 free mails a month)
  • Google Map Integration to confirm buyer shipping details when required
  • Emails Merchant on Purchase
  • Accepts LimeCoin
  • Uses Daemon RPC calls
  • Stores payments in offline Cold Storage
  • Large Option of Settings
  • CSS Themes
  • Easily Configurable for any Crypto Currency



Technologies




To-Do List

  • Add error handling
  • Logging
  • Clean up code and file structures
  • Add admin area (currently use phpmyadmin to add product)
  • Version check and upgrade from git
  • Add multiple coin support at the same time



Demo






EDIT:
Buyers where finding it hard to navigate, untill i fix that here are instructions for buyers...
Have javascript on not  blocked in browser, also NEVER leave site untill you are told to...

How To Make a Purchase

Add item to cart,
click checkout,
fill in details or just email,
click submit to show address,
copy address and paste into your corresponding desktop wallet for relevant crypto currency,
send payment from your desktop wallet to website's wallet,
click "check confirmations",
wait 5min click "check confirmations",
leave when told,
check email for receipt.


Jump to: