Bitcoin Forum
May 08, 2024, 09:17:42 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Best practice for merchants / Magento extension  (Read 898 times)
morningtime (OP)
Full Member
***
Offline Offline

Activity: 160
Merit: 100


View Profile
April 18, 2013, 05:41:12 PM
Last edit: April 18, 2013, 05:52:50 PM by morningtime
 #1

My company develops payment plugins for Magento Commerce. I'm about to release a free Bitcoin (JSON-RPC) extension (http://www.magentocommerce.com/magento-connect/catalog/product/view/id/17305/; once approved).

I have a question concerning best practices of accounts versus addresses. In my implementation I decided to use a unique account for each order number. This way I could track using bitcoind getreceivedbyaccount, even if there are multiple address (is possible). So I create a unique address for each payment attempt, stored under a wallet account for the order number.

For example:
- checkout attempt #1: order ABC = account ABC, address 123
- customer cancels
- checkout attempt #2: order ABC = account ABC, address 456 (new attempt, different address, but same account)

The hierarchy is like this:
Bitcoin wallet = Store
 - Account x = Order
   - Address y = Payment attempt

However, order numbers are linked to addresses in Magento. Is this considered a privacy concern?

Can anyone suggest a "best practice" for Bitcoin wallets, accounts and addresses?
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!