SurfSense/surfsense_web/app/dashboard/[search_space_id]/purchase-success
DESKTOP-RTLN3BA\$punk 6e1dd40597 feat: implement finalize checkout endpoint and update purchase success handling
- Added a new endpoint `/stripe/finalize-checkout` to synchronously fulfill a checkout session, addressing the webhook-vs-redirect race condition.
- Updated the `PurchaseSuccessPage` component to handle various states of the checkout process, including loading, completed, pending, and failed states.
- Introduced a new response model `FinalizeCheckoutResponse` to provide immediate feedback on the purchase status.
- Enhanced the Stripe API service to include the new finalize checkout functionality.
2026-05-05 01:01:12 -07:00
..
page.tsx feat: implement finalize checkout endpoint and update purchase success handling 2026-05-05 01:01:12 -07:00