fix(пополнение): одно кодирование Receipt в подписи и адресе
Пробелы в JSON кодируются %20, как в строке подписи, а не +; тест проверяет проводной вид Receipt. Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -116,7 +116,7 @@ def create(order: dict) -> dict:
|
||||
"SignatureValue": sig}
|
||||
if _test_mode():
|
||||
params["IsTest"] = "1"
|
||||
return {"provider_id": inv, "pay_url": f"{PAY_URL}?{urlencode(params)}"}
|
||||
return {"provider_id": inv, "pay_url": f"{PAY_URL}?{urlencode(params, quote_via=quote)}"}
|
||||
|
||||
|
||||
def ip_allowed(ip: str) -> bool:
|
||||
|
||||
Reference in New Issue
Block a user