C
C
Collonil Tolli2021-05-27 20:25:10
Python
Collonil Tolli, 2021-05-27 20:25:10

PyQiwip2p how to make new link creation?

I am making a tg bot whose payment goes through qiwi.
from the docks I took this method of generating an invoice
new_bill = p2p.bill(amount=1, lifetime=60)
but there was a problem, the bot sends the same link to all people
how to make the link updated every time a variable is called?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
MinTnt, 2021-05-27
@CollonilTolli

You generate an invoice only once in the code.
new_bill = p2p.bill(amount=1, lifetime=60)
You need to create a receipt for each function call.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question