B
B
Bleno2020-07-30 20:41:07
bitcoin
Bleno, 2020-07-30 20:41:07

What is the best way to check the payment of bitcoin on the site?

I want to implement the possibility of buying goods on the site through bitcoins. The algorithm is generally clear:
1. Generate a wallet for the buyer at the beginning of the purchase
2. Check transactions in the wallet every 30-60 seconds and, when 2-3 confirmations are reached, send the goods to the user

But, there are inexpensive goods on the site (from a few rubles), and with them is not very clear. Now the average
bitcoin commission is 0.00053 (about 400 rubles!) if a person buys even an average-priced product (say, 500 rubles), then he will have to pay a commission almost equal to the price of the product itself.

In addition, bitcoin transactions can be confirmed from 10 minutes to several hours, which is quite a long time.

The question is how to reduce the commission? How to reduce transaction time? Is it possible to accept payments on the site through services like coinpot?

PS Do not offer ready-made solutions, you are interested in your own implementation of the payment mechanism.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Gavrilov, 2020-07-30
@thexaver

Reduce the commission yes, but the transaction speed will decrease, accept other altcoins, there is a btcpay server, where everything is already there for accepting bitcoin and the sender pays the commission, not the recipient

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question