feat: добавлена поддержка SeverPay в кабинете

- Иконка SeverPay (синий градиент, SP)
- Лейбл в paymentMethods
- Статус decline в FAILED_STATUSES
- Локализация (ru, en, fa, zh)
This commit is contained in:
Fringg
2026-03-18 03:49:36 +03:00
parent 5fbebbb686
commit 246fafdbfc
7 changed files with 46 additions and 0 deletions

View File

@@ -215,6 +215,26 @@ export default function PaymentMethodIcon({
);
}
case 'severpay': {
const severpayGradId = `${uid}-severpay`;
return (
<svg className={className} viewBox="0 0 40 40">
<defs>
<linearGradient id={severpayGradId} x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stopColor="#1e40af" />
<stop offset="100%" stopColor="#1d4ed8" />
</linearGradient>
</defs>
<circle cx="20" cy="20" r="20" fill={`url(#${severpayGradId})`} />
<g fill="#fff" fontFamily="Arial,sans-serif" fontWeight="700">
<text x="20" y="26" textAnchor="middle" fontSize="14">
SP
</text>
</g>
</svg>
);
}
default:
return (
<svg className={className} viewBox="0 0 40 40">