feat(sbp-recurring): СБП-оформление подписки на форме покупки тарифа

Вторая CTA «Оформить с автооплатой СБП» под кнопкой покупки с баланса
(и в daily-ветке) — показывается по platega_recurrent_enabled из
purchase-options. POST /platega-recurrent/purchase → редирект в банк
(первое списание = подтверждение привязки), инвалидация подписочных и
sbp-запросов, переход в /subscriptions. Локали en/ru/zh/fa.
This commit is contained in:
Fringg
2026-07-24 19:07:23 +03:00
parent faf4c450b0
commit f448c14994
8 changed files with 90 additions and 4 deletions

View File

@@ -370,6 +370,9 @@ export interface TariffsPurchaseOptions {
has_subscription?: boolean;
// Multi-tariff: all available tariffs already purchased
all_tariffs_purchased?: boolean;
// СБП-оформление (Platega recurrent): показывать кнопку «Оформить с
// автооплатой СБП» рядом с покупкой с баланса
platega_recurrent_enabled?: boolean;
}
export interface ClassicPurchaseOptions {