Bitcoin Forum
March 28, 2024, 03:01:50 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: MyBitcoin_SCI  (Read 2542 times)
kiba (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1014


View Profile
December 18, 2010, 04:17:18 AM
Last edit: December 18, 2010, 03:13:01 PM by kiba
 #1

Hey, I started a wiki page about MyBitcoin SCI. I was hoping to collaborate together on information on how to use MyBitcoin SCI.

https://en.bitcoin.it/wiki/MyBitcoin_SCI

1711638110
Hero Member
*
Offline Offline

Posts: 1711638110

View Profile Personal Message (Offline)

Ignore
1711638110
Reply with quote  #2

1711638110
Report to moderator
1711638110
Hero Member
*
Offline Offline

Posts: 1711638110

View Profile Personal Message (Offline)

Ignore
1711638110
Reply with quote  #2

1711638110
Report to moderator
The network tries to produce one block per 10 minutes. It does this by automatically adjusting how difficult it is to produce blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1711638110
Hero Member
*
Offline Offline

Posts: 1711638110

View Profile Personal Message (Offline)

Ignore
1711638110
Reply with quote  #2

1711638110
Report to moderator
1711638110
Hero Member
*
Offline Offline

Posts: 1711638110

View Profile Personal Message (Offline)

Ignore
1711638110
Reply with quote  #2

1711638110
Report to moderator
1711638110
Hero Member
*
Offline Offline

Posts: 1711638110

View Profile Personal Message (Offline)

Ignore
1711638110
Reply with quote  #2

1711638110
Report to moderator
The Madhatter
Hero Member
*****
Offline Offline

Activity: 490
Merit: 509


My avatar pic says it all


View Profile
December 18, 2010, 07:52:32 AM
 #2

That's a good idea.

Hopefully it will make it easier for existing sites to at least add Bitcoin as an additional payment option.
Mahkul
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250


Every saint has a past. Every sinner has a future.


View Profile
December 18, 2010, 02:52:57 PM
 #3

That's great. Exactly what I need now!
kiba (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1014


View Profile
December 18, 2010, 03:13:16 PM
 #4

Doh! I forgot to put in the links. Now I did.

kiba (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1014


View Profile
December 21, 2010, 04:59:17 AM
 #5

Does anybody know how MyBitCoin SCI works?

I just use their form builder as a template for my purchasing form, but I have no idea about how MyBitcoin send data back to my web app for validation.

BioMike
Legendary
*
Offline Offline

Activity: 1658
Merit: 1001


View Profile
December 21, 2010, 07:58:19 AM
Last edit: December 21, 2010, 09:07:48 AM by BioMike
 #6

Does anybody know how MyBitCoin SCI works?

I just use their form builder as a template for my purchasing form, but I have no idea about how MyBitcoin send data back to my web app for validation.

Yeah, I know how it works. Didn't have time to write things down yet.

<edit>
I've written down most steps here in Mousepad. Need to validate some steps. Then I'll post on the wiki.
</edit>
BioMike
Legendary
*
Offline Offline

Activity: 1658
Merit: 1001


View Profile
December 21, 2010, 09:39:27 AM
 #7

Ok, the page is in the wiki.

If it helps you implementing MyBitcoin for your million dollar business , consider donating a few bitcoins to: 175dFDZhnYHwVE9f5NA3aHqwaJZEDmKQ8b
kiba (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1014


View Profile
December 21, 2010, 03:25:52 PM
 #8

Thanks...but I don't use PHP... I'll have to decipher which part is necessary and which is not.

BioMike
Legendary
*
Offline Offline

Activity: 1658
Merit: 1001


View Profile
December 21, 2010, 03:58:05 PM
 #9

Thanks...but I don't use PHP... I'll have to decipher which part is necessary and which is not.

The receipt receives a normal HTTP POST response that you have to catch and "decypher". The lib isn't that big, so you should be able to rewrite it in your language of choice.
kiba (OP)
Legendary
*
Offline Offline

Activity: 980
Merit: 1014


View Profile
December 21, 2010, 05:38:43 PM
 #10

Yeah, that should be more generalized beyond PHP.

semyazza
Sr. Member
****
Offline Offline

Activity: 339
Merit: 250


View Profile
December 24, 2010, 01:34:08 AM
 #11

Hello Everyone,
Here is some Python code that I hacked together that I thought I would share regarding the MyBitcoin_SCI. I have not included all the code, error checking and other misc things are missing, but this should be enough to get some started. I will share the PGP verification code once it is completed and other additions as they are made.

License:http://www.gnu.org/licenses/gpl-3.0.txt
The Madhatter
Hero Member
*****
Offline Offline

Activity: 490
Merit: 509


My avatar pic says it all


View Profile
December 24, 2010, 07:12:36 PM
 #12

Sweet! The wiki looks nice so far!

A couple of suggestions:

1. You should mention that the timestamps returned by mybitcoin are in UTC. This one had me a tad stumped at first. I store all of my date and time fields in my local timezone.

2. You may want to document the background URI encryptor. It's a new feature that was implemented in the latest mbc-toolkit. You can post your URI in the background and the SCI will return the encrypted version of the URI. I ended up using it on Bitcoin2CC to stop people who were trying to cheat my price calculator. It works perfectly. I wish other systems like LR had this feature.

3. You might want to mention the Bitcoin payment forward feature. Paranoid people (like myself) don't trust others with their coins. Mentioning how to setup forwarding might be a good idea.

BioMike
Legendary
*
Offline Offline

Activity: 1658
Merit: 1001


View Profile
December 27, 2010, 11:06:52 AM
 #13

Sweet! The wiki looks nice so far!

A couple of suggestions:

1. You should mention that the timestamps returned by mybitcoin are in UTC. This one had me a tad stumped at first. I store all of my date and time fields in my local timezone.

2. You may want to document the background URI encryptor. It's a new feature that was implemented in the latest mbc-toolkit. You can post your URI in the background and the SCI will return the encrypted version of the URI. I ended up using it on Bitcoin2CC to stop people who were trying to cheat my price calculator. It works perfectly. I wish other systems like LR had this feature.

3. You might want to mention the Bitcoin payment forward feature. Paranoid people (like myself) don't trust others with their coins. Mentioning how to setup forwarding might be a good idea.

Thank you for the suggestions. You could also update the wiki yourself. Wink But I'll do it later if you don't have the time.
jgarzik
Legendary
*
Offline Offline

Activity: 1596
Merit: 1091


View Profile
December 27, 2010, 03:32:08 PM
 #14

2. You may want to document the background URI encryptor. It's a new feature that was implemented in the latest mbc-toolkit. You can post your URI in the background and the SCI will return the encrypted version of the URI. I ended up using it on Bitcoin2CC to stop people who were trying to cheat my price calculator. It works perfectly. I wish other systems like LR had this feature.

Pecunix and GlobalDigitalPay have a feature that permits validation of the input form.  You hash the input fields, plus an API secret key.  Totally eliminates tampering.

I've long wished Liberty Reserve had a similar feature.

Jeff Garzik, Bloq CEO, former bitcoin core dev team; opinions are my own.
Visit bloq.com / metronome.io
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
wnetwork
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile WWW
February 01, 2011, 09:58:35 PM
 #15

Hey, I started a wiki page about MyBitcoin SCI. I was hoping to collaborate together on information on how to use MyBitcoin SCI.

https://en.bitcoin.it/wiki/MyBitcoin_SCI

Looking at https://en.bitcoin.it/wiki/MyBitcoin_SCI - Table of Keys & Values.
It would be good idea add actual keys as shown below.

Code:
amount
currency
payee_bcaddr
note
baggage
payee_name
success_url
cancel_url
and so on....

Anyone know 'SCI Payer' and 'SCI Transaction Number'? My automatic download store won't process orders without transaction/batch #.
BioMike
Legendary
*
Offline Offline

Activity: 1658
Merit: 1001


View Profile
February 02, 2011, 06:06:48 AM
 #16

Looking at https://en.bitcoin.it/wiki/MyBitcoin_SCI - Table of Keys & Values.
It would be good idea add actual keys as shown below.

Code:
amount
currency
payee_bcaddr
note
baggage
payee_name
success_url
cancel_url
and so on....

Anyone know 'SCI Payer' and 'SCI Transaction Number'? My automatic download store won't process orders without transaction/batch #.

Those things are part of the 1.2 interface (page does still reflect the 1.1 interface).
SCI Payer is determined by MyBitcoin (depending on how the person pays).
SCI Transaction Number is also determined by  Bitcoin (it is the number of the financial transaction).

If you need your own numbers/data included encode them in the baggage field.
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!