mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-29 22:23:01 +00:00
* 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.