V
V
Victor Blank2020-02-22 21:07:34
Python
Victor Blank, 2020-02-22 21:07:34

Is it possible to make the telegram bot track the QIWI payment + payment date?

I wonder if it is possible for a person to go to the payment site through the bot, pay and, consequently, the bot keeps track of what the person paid + the date of payment, if this is a monthly fee?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton Shamanov, 2020-02-22
@SilenceOfWinter

and what is the difficulty? the most banal option
1. send a message to the cart when paying
2. record the last payments in the file, the bot checks the file every 10-30 seconds.

M
Michael, 2020-02-23
@moonz

1. Study the qiwi api
documentation 2. Get a qiwi api token
3. Write a bot and attach it to the database
4. When creating a transaction, the bot creates an entry in the database with the user's nickname and the amount
5. Bot once a minute (or more often, see point 1 ) will check incoming transactions.
6. The bot found the transaction, matched it with the nickname and the amount.
7. The bot entered into the database a mark on the successful transfer of funds + date ... then your business logic.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question