Что не так почему ошибка?!
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)