Skip to Content
AlphaWebDocs

Connect Stripe

Connect your Stripe account to accept payments in AlphaWeb. Set up preview testing or live payments, choose your regions, and connect with a secret or restricted key.

6 stepsAbout 10 min

You need access to your workspace's payment settings and permission to manage API keys in Stripe. For real payments, complete Stripe's account activation first.

Keep your keys private

Enter your secret or restricted key only in AlphaWeb's payment connection form. Keep it out of AI chats, screenshots and video recordings.

Open Stripe in your workspace

  1. Sign in to AlphaWeb and select the workspace you want to connect.
  2. Open Payments, then select Stripe.
  3. Keep Account details open while you get your keys from Stripe.

Choose preview testing or live payments

AlphaWeb keeps its Preview and Live connections separate. Connecting one does not configure the other.

Select Preview in AlphaWeb. In Stripe, select the sandbox or test environment you want to use.

Use a publishable key beginning with pk_test_ and a server key beginning with sk_test_ or rk_test_. Preview does not accept live keys.

Use both keys from the same Stripe account and the same sandbox or live environment.

Get your two Stripe keys

Open API keys in the Stripe Dashboard. You can also find this under Developers → API keys; some accounts show it under Workbench → API keys.

You need a publishable key and one server key. A restricted key replaces the secret key; you do not need all three.

A restricted key lets you choose which Stripe resources AlphaWeb can access.

  1. Copy the Publishable key for the selected account and environment.
  2. Choose Create restricted key, or edit a restricted key dedicated to AlphaWeb.
  3. Name it AlphaWeb and set the permissions below for the account you are connecting.
Stripe resourceAccessUsed for
Accounts (under Connect)ReadVerify which Stripe account the key belongs to.
Payment IntentsWriteCreate, confirm, capture and cancel payments, including renewal charges.
CustomersWriteCreate the customer record used for saved payments.
Payment MethodsWriteCreate and retrieve payment methods for checkout and future charges.
Setup IntentsWriteSet up payment methods for future use.
Payment Method ConfigurationsReadRead the payment methods available to checkout.
Webhook Endpoints / Event DestinationsWriteConfigure payment-event delivery to AlphaWeb.
Payment Method DomainsWriteRegister and validate checkout domains for supported wallet payments.

Include these permissions for the features you use:

Stripe resourceAccessUsed for
Charges and RefundsWriteIssue and reconcile refunds through AlphaWeb.
Payment DisputesReadRetrieve dispute information.
  1. Save or Apply changes and complete any verification Stripe requests.
  2. Copy the resulting rk_test_ or rk_live_ key into AlphaWeb's Secret or restricted key field in the next step.

Stripe's labels can vary. Write includes read access. Follow the resource named in a Stripe permission error rather than granting every permission. See Stripe's restricted-key instructions.

Accounts: Read is required even for a valid key

AlphaWeb reads your Stripe account to verify its identity. A restricted key can be valid and still fail this check when Accounts → Read is missing. This permission allows reading Stripe account details, not only its ID; AlphaWeb does not need Accounts → Write for this check.

Paste each key into the matching field

Return to Payments → Stripe in AlphaWeb and check that you are still on the intended tab.

AlphaWeb fieldPaste here
Publishable keyYour pk_test_ or pk_live_ key.
Secret or restricted keyYour sk_test_, rk_test_, sk_live_ or rk_live_ key, in the same mode as the publishable key.

Match the labels, not their order in Stripe. A webhook signing secret beginning with whsec_ does not belong in either field.

Choose regions and connect

  1. For the Live connection, select the regions where Stripe should appear under Enable in regions. This includes published-checkout testing with test keys. The Preview form has no region selector.
  2. Click Connect once and wait for the result.
  3. If setup is still finishing, use Refresh status to check progress.

AlphaWeb verifies the credentials and saves them securely. It configures the checkout connection and its webhooks as setup completes; you do not need to create webhook endpoints or paste a signing secret manually for this flow.

Check the connection before taking payments

  1. Confirm Connected, the expected Test mode or Live mode badge, and no remaining setup or error message.
  2. For a published checkout, confirm Stripe is enabled in the shopper's region.
  3. Test your checkout with test keys and Stripe's test payment details. Confirm the order and payment in AlphaWeb and the matching Stripe sandbox.
  4. If you sell subscriptions or use refunds, test those operations too. A successful connection or first payment alone does not prove every permission on a restricted key.

When you are ready for real payments, configure the Live connection with live keys and check the Live mode badge. Keep Preview on test keys.

Troubleshooting

On this page