Skip to content

For development we use the Stripe Sandbox (Glaucous Disc). You can check out the dashboard and view anything or make configuration changes you see necessary, but realize that this is shared among all developers. This is not shared among any deployed stages however (other than live stages).

If you want to use Stripe on the frontend you need to make sure your domains are configured here.

Then select the payment providers. We use Apple Pay and Google Pay.

You can configure your domain. You will likely want to add https://<stage>.modelmatch.dev and https://<stage>.live.modelmatch.com.

There is, unfortunately, no way to do this programmatically through an API offered by Stripe.

Secret

You can view Sandbox Test Keys with bunx sst secret list.

You need to have both the Secret Key and the Public Key in your .env file.

STRIPE_API_KEY="sk_test***********"
STRIPE_PUBLIC_KEY="pk_test***********"