Skip to content

Demo shopping website that uses blockonomics payments API

Notifications You must be signed in to change notification settings

venchenco/shopping-cart-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shopping-cart-demo

Demo shopping website that uses blockonomics payments API, hosted at http://shopping.blockonomics.co

Requirements

php, php-sqli and mysql-server
sudo apt-get install php php-sqli mysql-server

Web server supporting php like nginx, apache. For a simple php server you can run
php -S localhost:8000

Setup

##Blockonomics merchant setup

  • Complete merchant wizard
  • Set [Your server_url]/shopping-cart-demo/php/callback.php?secret=[your secret] as the callback url
  • Obtain api key from Wallet Watcher > Settings

##Server Setup

  • Clone the git repository into the ROOT of your web server.
  • Change the file php/config.php to set your db credentials, blockonomics api key and secret
  • Run your web server
  • Navigate to shopping-cart-demo/php/setup.php in your browser (Should show Database setup is done)
  • Navigate to shopping-cart-demo/index.html in browser and enjoy shopping !

All contributions are welcome. Please create a pull request and we will be happy to merge it in.

About

Demo shopping website that uses blockonomics payments API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published