Files
openhuman/src
Mega MindandGitHub 6356e3bdc4 Payment Flow resolved (#127)
* feat: implement payment success deep link handling and confirmation banner

- Added a new state to manage payment confirmation in BillingPanel.
- Implemented a deep link listener for payment success and cancellation events.
- Created functions to build payment success and cancel deep links.
- Displayed a confirmation banner upon successful payment, which auto-hides after 5 seconds.

* feat: enhance payment success handling in BillingPanel

- Updated the onPaymentSuccess function to be asynchronous.
- Added a call to fetch the current billing plan from the backend after a successful payment.
- Implemented error handling for the API call to ensure robustness.

* fix: improve payment success timeout handling in BillingPanel

- Introduced a timeoutRef to manage the auto-hide functionality of the payment confirmation banner.
- Ensured that the timeout is cleared when the component unmounts to prevent memory leaks.
2026-02-21 10:56:49 +04:00
..
2026-02-21 10:56:49 +04:00
2026-02-16 17:10:06 +05:30
2026-02-20 13:03:15 +04:00
2026-02-18 09:18:43 +05:30
2026-02-18 09:18:43 +05:30
2026-02-03 15:26:38 +05:30
2026-02-16 17:10:06 +05:30
2026-02-18 09:18:43 +05:30
2026-02-21 10:56:49 +04:00
2026-02-18 09:18:43 +05:30
2026-02-18 09:18:43 +05:30