Answer the question
In order to leave comments, you need to log in
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
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question