mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-30 02:23:47 +00:00
feat: read gift warning from status response, soften poll error state
- Add warning field to GiftPurchaseStatus type - Read warning from status response with URL param fallback - Show PollErrorState for all poll errors (softer UX for gateway payments)
This commit is contained in:
@@ -74,6 +74,7 @@ export interface GiftPurchaseStatus {
|
||||
gift_message: string | null;
|
||||
tariff_name: string | null;
|
||||
period_days: number | null;
|
||||
warning: string | null;
|
||||
}
|
||||
|
||||
export interface PendingGift {
|
||||
|
||||
Reference in New Issue
Block a user