S
S
ssick132019-08-18 01:05:12
Python
ssick13, 2019-08-18 01:05:12

SimpleQIWI Overriding Bill?

comment = api.bill(suma)
        api.start()
        while True:
          if api.check(comment):
            bot.send_message(message.chat.id, 'Платеж получен')
            break

          sleep(1)
        api.stop()

After the second time I run the Overriding Bill error

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dimonchik, 2019-08-18
@dimonchik2013

write another amount

F
flex7r, 2020-02-16
@flex7r

After reading the code of the library, I did not quite understand what this error is coming from, but I suspect that
it is not necessary to overwrite comment
You can try to wait 5 seconds before repeating

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question