coinables / blockchain-receive-payments-api-shopping-cart Goto Github PK
View Code? Open in Web Editor NEWIntegrate Bitcoin Payments in a Shopping Cart with Blockchain Receive Payments API v2
Integrate Bitcoin Payments in a Shopping Cart with Blockchain Receive Payments API v2
THIS PROJECT HAS BEEN ABANDONDED AND IS NO LONGER UPDATED. PLEASE REFER TO THE REPOSITORY THAT DOES NOT REQUIRED AN API KEY OR RELY ON BLOCKCHAIN.INFO, OR A NODE -> https://github.com/coinables/NoNodePay ###################################### # Blockchain Receive Payments API v2 # # Open Shopping Cart # ###################################### No account with blockchain.info required however you will need an API key. Request one here: https://api.blockchain.info/v2/apikey/request/ Blockchain.info's new Receive Payments API uses HD addresses to generate unique addresses for taking bitcoin payments. Since these addresses are deterministic no payment forwarding is needed like the previous version of the API. All you need is a API key and an extended public key (BIP 32) 1. Download the files in the repository 2. Create and configure a database on your webserver (How to: http://www.fastcomet.com/tutorials/cpanel/create-database) 3. Import the included SQL database files using PHPmyadmin or similar database manager (How to: https://www.namecheap.com/support/knowledgebase/article.aspx/9143/29/how-to-import-and-export-database-in-cpanel-access-denied-create-database-dbname-error-and-how-to-fix-it 4. Open the config.php file and update the fields That's it! Access the admin panel to manage your orders and products with login.php The password to access the admin page is set in your config.php
On Pay.php, my mobile wallet cannot read the QR Code (both Copay and Blockchain)
It says "Could not recognize valid bitcoin qr code"
It is also not showing up the raw address inside the text box like I see it is supposed to.
Seems that
<?php echo $_SESSION['payTo']; ?>
Contains no data, so the qr code has no data, and hence, input box has no data.
Thanks for your help and corrections in code!
Got items on my site which is set to a fixed BTC amount, is there a way to add this?
Seems like this has been updated, can we turn of the cart process now or no ? I thought you had a script that was just a button without the cart. I had the code saved but seems to have went missing.
Gap between last used address and next address too large. This might make funds inaccessible.
I want to recover my BTC. Which is showing unspent in Blockchain the wallet.
My Contact number is
Plz help me.
Hi,
How do I change this code to accept Euro's (or any other currency)
I found the $ signs and changed them into โฌ, but how is the calculation made into bitcoins?
Everything works perfect, i must admit, GREAT job.
One small thing is that i must click twice on "Empty Cart" to be actually empty.
There is no issue with css, but i have issue with css :), i have no clue how to obtain what i need.
I just want shop to look better, like attached file for example (i made it in photoshop), can anyone help me?
Hey,
This is a great application and thanks for taking the time - it's exactly what I was looking for to help me understand this a little more. One thing though, how the heck do you get approved with blockchain api. They have denied me 3 times now
Been trying to figure this out for 3 hours, maybe I a little slow ... lol
There never seems to be a callback - so the DB doesn't update at all. We didn't change anything the code, just wanted to test your system and work with it after we see it complete in flow. Everything works, but no callback ever.
HI Coinables, Thanks for your amazing work.
Im cant manage to run the store in local. Im on last ubuntu, have tried using Lampp, Xampp, and manual steps to install diferent server versions with the db.
I created the db in phpmyadmin, it works, but when I run the site I get
Unknown error 1146
Im stuck here!, I searched a lot and In an act of despair Im trying to get your feedback ...
Thanks in advance
I was wondering how if possible your code could be changed to send payment ot multiple wallets. Lets say the wallet IDs are pulled from the DB and the payment is split between them all.
I know it can be done but what would i need to do to your script to make it possible??
Is there a way to disable the cart and once the buy button is pressed they go straight to the checkout??
Im sorrry for asking this question here but im digging internet from many days to find a way to get it done but could not find anything useful.
my question is.
How is it possible to have bitcoin wallet into my website. So my website can generate all users bitcoin address to receive payment. So once payment is sent to their address is should be credited into their wallet into my website.
And they should be able to send payment to any bitcoin address from my website?
I need help in PHP
Cart works, admin works, I was able to add products with no issues in admin, I can add them to my shopping cart, I then enter all my details (email, address, state, etc) and click submit and it says the form is incomplete.
So basically, the validation ins't working for some reason, OR the session is not picking up the data entered so the validation thinks it is empty. Any ideas?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.