Test the Billing Demo
Try test checkout in your app and check the resulting account access.
Set up your local application with Payments and Polar Billing. Configure Stripe test mode with its matching test key and Polar sandbox, then set DEMO_BILLING_PROVIDER_SELECTOR=true and restart the app. The selector is disabled unless those test settings are valid. Configure the offers and webhook listeners you want to test in the linked guides.
For a manual guest purchase, follow Configure transactional delivery: set EMAIL_DELIVERY_MODE=real, keep RESEND_API_KEY and RESEND_FROM_EMAIL in your private server environment, restart the app, and use an inbox you can access. Test payments still send real application emails in this mode. mock suppresses delivery; automated test_capture needs the test run and checkout context and does not provide this manual inbox journey.
Open your app's lifetime pricing or subscription pricing, select Test payment details, and choose Stripe test mode or Polar sandbox. Select an available plan. Lifetime checkout accepts a signed-in buyer or a guest; subscriptions require sign-in.
Use card 4242 4242 4242 4242, any future expiry, and any three-digit CVC. If requested, enter a test address such as 123 Test Street, San Francisco, CA 94102, United States. Do not use a real payment card. These test purchases do not buy CoreMVP and do not charge real money.
After checkout, open Billing and the protected example. A guest lifetime buyer must use the application purchase confirmation's account-setup link and sign in first. A new signup may also require email confirmation. Polar limits its own sandbox customer emails to organization members and their aliases; this does not restrict the application's account emails.
The local walkthrough depends on your configured test providers, webhooks, and email delivery. Hosted deployment of this experimental TanStack Start port has not been verified. The hosted automated billing suite is Stripe test-only; local and hosted results are separate.
Was this page helpful?