N
N
None2021-07-19 06:13:08
Python
None, 2021-07-19 06:13:08

How to implement auto payment through qiwi?

I have a bot in a telegram, I wanted to attach something like a virtual account to it, chose qiwi, connected qiwi notifications and implemented their authorization on the server... But as it always happens with me, I didn’t think through what to do next.
From the qiwi documentation, I realized that I have only 2 options for how to accept payment - invoicing and the usual link for transfers, I didn’t like invoicing right away, because. there you will need to ask the user to set the transfer amount in the cart and, based on it, create a link for the transfer. Therefore, I was originally aimed at a regular link ... But I’m stupid, having already finished everything on the side of the bot, at the very last moment I began to write a function to replenish the virtual balance, but it turned out that I stupidly had no clues to who made a transfer, yes I have an amount, yes there is a date, there is even a unique ID generated in qiwi for this very transfer ... But there is no connection between all this and the bot user.
Tell me, kind people, how can I implement this without using invoicing, or can I somehow not set a specific amount in these invoices, but leave it to the user?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
Turkmen Time, 2021-07-19
@alexandr__boss

you can put the user id in the payment comment

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question