Stripe test mode setup
- 1
Get your Stripe test API keys
Stripe Dashboard → Developers → API keys → Test mode toggle. Copy the publishable key (`pk_test_…`) and secret key (`sk_test_…`). Paste into `.env.local` as `STRIPE_PUBLISHABLE_KEY` and `STRIPE_SECRET_KEY`. Restart your dev server.
- 2
Install and authenticate Stripe CLI
Install via Homebrew (`brew install stripe/stripe-cli/stripe`) or download from stripe.com/docs/stripe-cli. Run `stripe login` — opens a browser confirmation. CLI is now linked to your Stripe account; future commands work in test mode by default.
- 3
Forward webhooks to localhost
In a separate terminal: `stripe listen --forward-to localhost:3000/api/webhooks/stripe`. The CLI prints a webhook signing secret (`whsec_…`); copy it to `.env.local` as `STRIPE_WEBHOOK_SECRET`. Restart the dev server again. Every Stripe event now hits your local handler.
- 4
Trigger a test payment with 4242 4242 4242 4242
Sign up on your local dev site, click upgrade to Pro, use card `4242 4242 4242 4242` with any future expiry and any 3-digit CVC. Stripe accepts the test payment, fires `checkout.session.completed`, your handler creates the License row. Verify in `pnpm db:studio`.
Frequently asked questions
What is QRCode Suite?
QRCode Suite is a premium WordPress plugin that generates branded, dynamic QR codes directly inside your WordPress dashboard. Scan data is stored on your own server — not on a third-party SaaS platform — and WooCommerce orders can be attributed to specific QR codes.
Does QRCode Suite require a separate subscription?
The Free plan is available at no cost. Paid plans (Pro, Business, Agency) are licensed per WordPress site and billed monthly or annually. There is no separate per-scan fee.
What QR code types does QRCode Suite support?
QRCode Suite supports 15 QR code types: URL, vCard, Wi-Fi, SMS, Email, WhatsApp, PDF, Coupon, Plain Text, Social profile, WooCommerce Product, WooCommerce Reorder, Link Hub, Phone, and Dynamic URL.
Can I change the destination of a QR code after printing it?
Yes. Dynamic QR codes use a short redirect URL. You can update the destination from your WordPress dashboard at any time without generating or reprinting the code.
Is QRCode Suite GDPR-compliant?
Yes. QRCode Suite hashes IP addresses with SHA-256 before storage so no raw IPs are ever saved. It also filters bot traffic automatically and includes configurable data-retention settings.
Need help getting started?
Download the free plugin or browse all documentation.