Answer the question
In order to leave comments, you need to log in
QIWI Api does not check the payment, what's the problem?
What's wrong why error?!
api.start() # Начинаем прием платежей
while True:
if api.check(comment): # Проверяем статус
print("Платёж получен!")
break
sleep(1)
api.stop()
Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Users\saxar\AppData\Local\Programs\Python\Python37-32\lib\threading.py", line 917, in _bootstrap_inner
self.run()
File "C:\Users\saxar\AppData\Local\Programs\Python\Python37-32\lib\site-packages\SimpleQIWI\Session.py", line 257, in _async_loop
target()
File "C:\Users\saxar\AppData\Local\Programs\Python\Python37-32\lib\site-packages\SimpleQIWI\Session.py", line 263, in _parse_payments
payments = self.payments
File "C:\Users\saxar\AppData\Local\Programs\Python\Python37-32\lib\site-packages\SimpleQIWI\Session.py", line 60, in payments
return self._get_payments()
File "C:\Users\saxar\AppData\Local\Programs\Python\Python37-32\lib\site-packages\SimpleQIWI\Session.py", line 167, in _get_payments
raise QIWIAPIError(data)
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