layerqa / aiocryptopay

https://t.me/CryptoBot api asynchronous python wrapper
https://pypi.org/project/aiocryptopay/
MIT License
84 stars 19 forks source link

Webhook usage is not working #13

Closed Lavash925 closed 5 months ago

Lavash925 commented 5 months ago

Good afternoon. I tried to use the code in the Webhook Usage section, set the mode to TEST_NET, entered the application token, but the invoice was not sent. Also, in the Crypto Testnet Bot, I specified a webhook site for test sending a POST request, added a PEM certificate, paid for a test invoice, but no information was sent to my site. With what it can be connected? Please help. Thank you ~ Добрый день. Пытался воспользоваться кодом в разделе Webhook Usage, поставил режим TEST_NET, ввел токен приложения, однако инвойс не отправился. Также в боте Crypto Testnet Bot указал вебхук сайт для тестовой отправки POST запроса, добавил PEM сертификат, оплатил тестовый инвойс, однако никакой информации на этот сайт не отправилось. С чем это может быть связано? Прошу помочь. Спасибо

layerqa commented 5 months ago

Try using ngrok and check the logs to see if a request is coming from CryptoPay (you can check this in the ngrok web interface at http://127.0.0.1:4040/).

layerqa commented 5 months ago

I just checked, and I'm not receiving updates either. It looks like webhooks are temporarily not working in the test bot.

vo1s commented 3 months ago

any updates? Webhooks still don't work in TEST_NET?