Skip to main content

Testing with a Stripe test account

Spin up a throwaway test Stripe account, connect it to Plans LQ, and run a full subscribe → role granted flow — without touching live money or entering any real business, identity, or bank details. Everything below uses Stripe's magic test values, which satisfy onboarding instantly in test mode.

Prerequisite: your platform owner has completed the one-time owner-site setup (OWNER.md) so Connect with Stripe can finalize. If that button errors with Invalid or expired state or Server not configured, that setup is missing — not something you can fix from here.

Just want zero setup? Skip straight to 1-click default test in Setup — it runs every test buyer through a shared platform test account, so you can ignore steps 2–3 entirely. The steps below are for connecting your own test account.

1. Switch the dashboard to Test mode

In Plans LQ → Setup, set the mode dropdown (top-right) to Test (amber). Everything you configure from here is scoped to test mode; your live setup is untouched.

2. Connect a test account (Connect with Stripe)

  1. Click Connect with Stripe. A new tab opens Stripe's hosted connect flow in test mode.
  2. Choose create a new account (or sign into an existing test account), then fill the activation form using the test values in step 3.
  3. Authorize. You should land on "Account connected — close this tab." Close it and return to the dashboard.
  4. Click Re-check on the Setup checklist — the Connect row should read connected · charges enabled.

Already have a test account and its sk_test_… key? The Stripe secret key field in Setup is a faster shortcut than the OAuth round-trip.

3. Stripe onboarding — magic test values

Enter these in Stripe's activation form. They pass verification instantly in test mode. Never enter real data in test mode.

FieldValueNotes
Phone — SMS code000-000the OTP for any test phone number
Phone number0000000000passes validation
Individual ID (SSN)000000000full SSN; use 0000 when only the last 4 are asked
Date of birth1901-01-01successful match — avoid 1900-01-01 (OFAC alert)
Business tax ID (EIN)000000000use 000000001 for a non-profit
Address — line 1address_full_matchenables both charges + payouts
Bank routing (US)110000000
Bank account (US)000999999991payouts enabled (completes after a short delay)

Outside the US, Stripe uses region-specific test bank numbers — see the full list in Stripe's Connect testing docs.

4. Finish the test-mode setup

Back in Setup (still Test mode), complete the remaining checklist rows:

  • Register webhook — creates the test Stripe webhook + stores its signing secret.
  • Configure Billing Portal — sets up the Manage / Switch flows.
  • Sync plans — only shows if you created plans before connecting test mode; it backfills their test-mode Stripe ids.

Run Re-check — every row should be green.

5. Run a test checkout

Force a buyer into test mode either by flipping the published-site test-mode switch in Settings, or by appending ?lqTest=<token> to your plans page URL (generate the token in Settings). Then subscribe with a test card:

ScenarioCard numberExtra
Success4242 4242 4242 4242any future expiry, any CVC, any ZIP
Requires 3D Secure4000 0027 6000 3184complete the authentication dialog
Generic decline4000 0000 0000 0002

Mastercard 5555 5555 5555 4444 and Amex 3782 822463 10005 (4-digit CVC) also work for a successful charge.

After checkout, click Verify access on the confirmation page — your member role should appear.

6. Clean up

Wix has no test mode, so a test subscription grants the real member role + contact label. When you're done, cancel the test subscription in the Stripe dashboard — the webhook then strips the role and label.


Card and onboarding values are from Stripe's official testing docs: Test cards · Connect testing.