Bitcoin Forum
May 02, 2024, 07:56:42 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Is this the only way to process bitcoin transactions without Bitpay?  (Read 997 times)
bluebit25 (OP)
Sr. Member
****
Offline Offline

Activity: 1624
Merit: 292


Eloncoin.org - Mars, here we come!


View Profile WWW
October 17, 2013, 12:44:32 AM
 #1


Read the article here: http://bitfreak.info/?page=tools&t=bitsci

Bitcoin SCI: process bitcoin transactions with PHP

The Bitcoin Shopping Cart Interface package is a set of libraries and tools that enable you to process bitcoin transactions with only PHP. You can have your own Instant Payment Notification system without the need for a middleman. If you've been wondering how to handle customer payment since MyBitcoin went down, look no further, because this is the safest solution.

An elliptic curve library written in PHP is used to achieve server side generation of FRESH bitcoin addresses for each customer. The script monitors the status of a payment by making use of the data supplied by blockexplorer.com. As such, there is no need to install a heavy duty service such as bitcoind on your server. The only limitation with this PHP package is that you can't make outgoing payments.

The SCI package comes with a simple example to give you an idea about how to generate new keys and initiate a new payment through the Bitcoin Payment Gateway. This is NOT full shopping cart software, you would typically use this script to offer Bitcoins as one possible method of payment. It is intended to serve as a very basic framework which you can expand upon and integrate with a database.

UPDATE: A lot of improvements have been made in the newest version. I had a suggestion to use public-key cryptography to help better protect the private bitcoin keys, so I implemented the RSA algorithm and it seems to work well. There is a new admin.php file in the sci file to help generate new RSA key pairs and decrypt your bitcoin keys. Encrypted bitcoin keys from older versions will not be compatible with this version, so remember to delete the decrypt_keys.php file if you're upgrading. More information can be found in the download.

History:

11/01/12: implemented QR Code functionality & now used AJAX instead of meta refresh.
31/03/12: added decrypt_keys.php to sci folder.
15/08/12: fixed serious bug which allowed generation of invalid private keys.
15/08/12: added blockchain.info support as alternative API.
15/08/12: added error detection before confirmation process.
15/08/12: added support for item name and item quantity.
10/10/12: multiple security fixes and misc improvements.
10/10/12: developed a more robust confirmation system.
10/10/12: implemented RSA encryption for bitcoin private keys.
10/10/12: added admin.php page for managing bitcoin keys.
23/11/12: transaction data is now handled in a much more secure way.
29/11/12: fixed a few important bugs created during upgrade.
30/11/12: fixed critical bug when converting private keys to addresses.
21/01/13: added payment precision feature for more flexibility.
24/02/13: fixed problem with $p_variance variable and updated payment.php.
05/03/13: fixed potential security problem and fixed missing $p_variance.
20/04/13: fixed link to jquery library in scripts/common.js.
01/07/13: fixed random error confirming transactions
14/08/13: fixed redirection error in ipn-control.php
Version: 0.4.8 (beta)

Language: PHP

Requirements:

PHP 5 or greater
manual configuration









▄▄████████▄▄
▄▄████████████████▄▄
▄██
████████████████████▄
▄███
██████████████████████▄
▄████
███████████████████████▄
███████████████████████▄
█████████████████▄███████
████████████████▄███████▀
██████████▄▄███▄██████▀
████████▄████▄█████▀▀
██████▄██████████▀
███▄▄█████
███████▄
██▄██████████████
░▄██████████████▀
▄█████████████▀
████████████
███████████▀
███████▀▀
Mars,           
here we come!
▄▄███████▄▄
▄███████████████▄
▄███████████████████▄
▄██████████
███████████
▄███████████████████████▄
█████████████████████████
█████████████████████████
█████████████████████████
▀█
██████████████████████▀
▀██
███████████████████▀
▀███████████████████▀
▀█████████
██████▀
▀▀███████▀▀
ElonCoin.org.
████████▄▄███████▄▄
███████▄████████████▌
██████▐██▀███████▀▀██
███████████████████▐█▌
████▄▄▄▄▄▄▄▄▄▄██▄▄▄▄▄
███▐███▀▄█▄█▀▀█▄█▄▀
███████████████████
█████████████▄████
█████████▀░▄▄▄▄▄
███████▄█▄░▀█▄▄░▀
███▄██▄▀███▄█████▄▀
▄██████▄▀███████▀
████████▄▀████▀
█████▄▄
.
"I could either watch it
happen or be a part of it"

▬▬▬▬▬
1714679802
Hero Member
*
Offline Offline

Posts: 1714679802

View Profile Personal Message (Offline)

Ignore
1714679802
Reply with quote  #2

1714679802
Report to moderator
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714679802
Hero Member
*
Offline Offline

Posts: 1714679802

View Profile Personal Message (Offline)

Ignore
1714679802
Reply with quote  #2

1714679802
Report to moderator
1714679802
Hero Member
*
Offline Offline

Posts: 1714679802

View Profile Personal Message (Offline)

Ignore
1714679802
Reply with quote  #2

1714679802
Report to moderator
UnaNos
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
October 17, 2013, 01:48:14 AM
 #2

To answer your question:
NO. This is not the only way to process bitcoin transactions without Bitpay!
moni3z
Hero Member
*****
Offline Offline

Activity: 899
Merit: 1002



View Profile
October 17, 2013, 02:22:03 AM
 #3

Fill your db with pregenerated addresses and hand them out
Pages: [1]
  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!