<blockquote>
  <p>how it recognizes which payment is from whom? </p>
</blockquote>

<p>I believe you need a system, based on an HD wallet, that generates a new receive address for every order and keeps track of which receive addresses were assigned to each order number and customer ID (or other unique identifiers)</p>

CC BY-SA 4.0
2019-07-04T08:48:06.297Z
2019-07-04T08:48:06.297Z
RedGrittyBrick
<p>I want to add Bitcoin payments on my website. I've found some PHP library, but as far as I understand it's using only one wallet for incoming payments, and possibly just tracking for confirmations. Is that how all of the payment gateways work? If that's the case, how does it recognize which payment is from whom? For example, if two customers buy the same thing on the same time, and only one pays for it, how would it know which one paid? Thanks!</p>

<payment><php><websites>
Pay with Bitcoin?
Hristo Torbov
# Pay with Bitcoin?

(Asked by: username_0 on 2019-07-03)

I want to add Bitcoin payments on my website. I've found some PHP library, but as far as I understand it's using only one wallet for incoming payments, and possibly just tracking for confirmations. Is that how all of the payment gateways work? If that's the case, how does it recognize which payment is from whom? For example, if two customers buy the same thing on the same time, and only one pays for it, how would it know which one paid? Thanks!

**Tags:** payment, php, websites


---

## 1 answers

### Answer by username_1 on 2019-07-04. Score: 1

> how it recognizes which payment is from whom?

I believe you need a system, based on an HD wallet, that generates a new receive address for every order and keeps track of which receive addresses were assigned to each order number and customer ID (or other unique identifiers)


---

