feat: add AuraPay payment provider to cabinet frontend

- Payment method label and icon (violet gradient, AP)
- Admin settings tree entry for AURAPAY category
- Locale strings and descriptions for ru, en, zh, fa
This commit is contained in:
Fringg
2026-04-18 00:05:56 +03:00
parent 4eed0f358e
commit 48827e430d
7 changed files with 32 additions and 0 deletions

View File

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

View File

@@ -54,6 +54,7 @@ export const SETTINGS_TREE: SettingsTreeConfig = {
{ id: 'payments_severpay', categories: ['SEVERPAY'] },
{ id: 'payments_paypear', categories: ['PAYPEAR'] },
{ id: 'payments_rollypay', categories: ['ROLLYPAY'] },
{ id: 'payments_aurapay', categories: ['AURAPAY'] },
],
},
{