1

First, I read this article, but it's not my case. I'm creating crypto payments solution inside Telegram Bot for multivendor.

Here is my problem: Customer have unique wallet for payments. When he buying something, I can detect his transactions, bot how to link this transaction to his order? For example, user bought 1 item from different sellers. Each item have the same price. User sent ETH, but how detect, which order belongs to transaction? User can send 2 transactions with different gas and one transaction may stack because of low gas or network error. And how detect, who get his ETH and who not?

My opinion is to ask the user TX Hash for every transaction.

1

You can simply ask the user to add order number to the extra data field of the Transaction.

Or, you can go beyond that and create a hash of the order (using order detail) on your website and ask the user to put it in extra data field.

  • Thank you. I have this idea too. Forgot to mention it in my question. – user3013494 Sep 4 '18 at 3:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.