mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 09:33:46 +00:00
feat: add dedicated TopUpResult page for payment return flow
Replace toast-based payment return with animated result page showing pending/success/failed/timeout states. Extract shared Spinner, AnimatedCheckmark and AnimatedCrossmark components. Add sessionStorage persistence with validation and TTL for cross-redirect payment data. Unify ProtectedRoute with withLayout prop, add aria-live accessibility.
This commit is contained in:
@@ -687,6 +687,19 @@
|
||||
"paymentSuccess": {
|
||||
"title": "Payment Successful",
|
||||
"message": "Your balance has been topped up successfully. The funds are now available."
|
||||
},
|
||||
"topUpResult": {
|
||||
"awaitingPayment": "Awaiting Payment",
|
||||
"awaitingPaymentDesc": "We are waiting for your payment confirmation. This may take a few minutes.",
|
||||
"topUpAmount": "Top-up amount",
|
||||
"success": "Balance Topped Up!",
|
||||
"successDesc": "Your balance has been topped up successfully. The funds are now available.",
|
||||
"failed": "Payment Failed",
|
||||
"failedDesc": "Unfortunately, the payment was not completed. Please try again or choose a different payment method.",
|
||||
"timeout": "Taking Longer Than Expected",
|
||||
"timeoutDesc": "Payment processing is taking longer than usual. You can try checking the status again.",
|
||||
"goToBalance": "Go to Balance",
|
||||
"tryAgain": "Try Again"
|
||||
}
|
||||
},
|
||||
"referral": {
|
||||
|
||||
Reference in New Issue
Block a user