fix: убраны agent_type/supplier_info из чека ЮKassa (вызывали таймаут API)
This commit is contained in:
@@ -284,15 +284,9 @@ def create_yookassa_payment(reg_id, amount, description, return_url, customer_em
|
|||||||
"value": f"{amount:.2f}",
|
"value": f"{amount:.2f}",
|
||||||
"currency": "RUB"
|
"currency": "RUB"
|
||||||
},
|
},
|
||||||
"vat_code": 1, # "Без НДС" (no VAT)
|
"vat_code": 1, # Без НДС
|
||||||
"payment_mode": "full_payment",
|
"payment_mode": "full_payment",
|
||||||
"payment_subject": "service",
|
"payment_subject": "service"
|
||||||
"agent_type": "bank_paying_agent",
|
|
||||||
"supplier_info": {
|
|
||||||
"phone": config.SUPPLIER_PHONE,
|
|
||||||
"name": config.SUPPLIER_NAME,
|
|
||||||
"inn": config.SUPPLIER_INN
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user