3252a8
ce6273a652
fix(payments): apply request timeout changes without restart
...
PAYMENT_REQUEST_TIMEOUT_SECONDS was read once in each provider's
__init__ and baked into the aiohttp session, so admin overrides
(applied in-process) only took effect after a container restart.
Providers now hand HttpClientMixin a timeout source callable; the
mixin builds the session with the current value and swaps in a fresh
session when the value changes, closing the replaced one only after
any in-flight request on it is bound by its own total timeout.
Also:
- check the Heleket payment-info success flag before reading the
payload so a non-dict provider response cannot raise in the
pending-payment reuse path
- add PAYMENT_REQUEST_TIMEOUT_SECONDS to the FreeKassa settings stub
in test_security.py (fixes three tests broken by the new field)
2026-06-10 11:21:15 +03:00
..
2026-05-18 16:32:19 +03:00
2026-05-30 21:15:17 +03:00
2026-05-25 00:36:15 +03:00
2026-06-05 16:19:53 +03:00
2026-06-01 15:05:10 +03:00
2026-06-05 23:40:02 +03:00
2026-05-25 00:06:29 +03:00
2026-05-17 00:31:12 +03:00
2026-06-03 14:47:47 +03:00
2026-05-24 23:35:19 +03:00
2026-06-03 23:51:46 +03:00
2026-06-02 12:57:15 +03:00
2026-06-01 15:52:54 +03:00
2026-05-12 16:14:11 +03:00
2026-05-24 18:51:37 +03:00
2026-05-20 21:55:22 +03:00
2026-05-22 18:23:11 +03:00
2026-06-03 23:51:46 +03:00
2026-05-31 14:57:32 +03:00
2026-05-27 23:01:42 +03:00
2026-06-04 13:32:15 +03:00
2026-06-03 14:47:47 +03:00
2026-06-02 14:10:49 +03:00
2026-04-28 15:25:46 +03:00
2026-06-08 22:34:03 +03:00
2026-06-03 11:06:19 +03:00
2026-06-07 23:21:34 +03:00
2026-06-03 23:51:46 +03:00
2026-06-03 23:51:46 +03:00
2026-05-27 14:29:45 +03:00
2026-06-03 23:51:46 +03:00
2026-06-04 13:32:15 +03:00
2026-06-03 14:47:47 +03:00
2026-05-27 13:53:30 +03:00
2026-05-31 23:05:40 +03:00
2026-06-04 13:32:15 +03:00
2026-05-31 23:05:29 +03:00
2026-06-02 12:29:43 +03:00
2026-06-01 10:32:38 +03:00
2026-05-25 00:06:29 +03:00
2026-05-30 11:52:07 +03:00
2026-06-10 11:21:15 +03:00
2026-06-04 16:21:10 +03:00
2026-05-27 18:31:14 +03:00
2026-06-03 23:51:46 +03:00
2026-06-02 12:29:43 +03:00
2026-05-25 00:06:29 +03:00
2026-06-07 22:23:42 +03:00
2026-06-04 13:32:15 +03:00
2026-05-29 22:30:31 +03:00
2026-06-04 13:32:15 +03:00
2026-06-10 11:21:15 +03:00
2026-06-02 19:18:11 +03:00
2026-06-08 11:25:02 +03:00
2026-06-07 22:28:30 +03:00
2026-05-17 22:20:45 +03:00
2026-05-24 18:51:37 +03:00
2026-05-24 18:51:37 +03:00
2026-06-03 10:55:52 +03:00
2026-06-02 19:53:13 +03:00
2026-06-07 22:23:42 +03:00
2026-05-20 16:38:24 +03:00
2026-05-20 16:38:24 +03:00
2026-05-20 16:38:24 +03:00
2026-06-02 00:13:54 +03:00
2026-06-06 23:27:22 +03:00
2026-05-20 16:38:24 +03:00
2026-05-31 23:05:29 +03:00
2026-05-31 22:17:28 +03:00
2026-05-31 00:17:20 +03:00
2026-06-01 14:14:02 +03:00
2026-05-25 00:06:29 +03:00
2026-05-25 12:18:58 +03:00
2026-06-08 09:22:24 +03:00
2026-06-02 00:13:54 +03:00
2026-06-03 10:55:52 +03:00
2026-06-10 03:42:49 +03:00
2026-05-28 22:07:43 +03:00
2026-06-08 22:47:44 +03:00
2026-06-03 23:51:46 +03:00
2026-06-07 23:57:06 +03:00
2026-05-29 23:23:55 +03:00
2026-06-10 04:09:46 +03:00
2026-05-24 23:25:21 +03:00
2026-05-22 13:58:34 +03:00
2026-06-07 22:28:30 +03:00
2026-06-04 23:22:53 +03:00
2026-06-01 20:34:49 +03:00
2026-06-04 23:22:53 +03:00
2026-06-04 10:51:58 +03:00
2026-05-20 21:55:22 +03:00
2026-06-03 23:51:46 +03:00