fix: use 'kassa_ai' base model name for guest metadata patch

kassa_ai_sbp has no separate CRUD module, causing guest purchase
metadata to not be saved, which breaks webhook fulfillment.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
sMedia.tech
2026-03-19 22:00:38 +03:00
parent 463c5385d6
commit 182667ecb8

View File

@@ -721,7 +721,7 @@ class PaymentService(
payment_system_id=ps_id,
)
if result:
await _patch_guest_metadata(result['local_payment_id'], payment_method)
await _patch_guest_metadata(result['local_payment_id'], 'kassa_ai')
return {
'payment_url': result.get('payment_url'),
'payment_id': result.get('order_id'),