Connect Stripe in test mode

In this guide

Paid sales use Stripe Managed Payments on your own Stripe account. Stripe collects payment and handles tax as merchant of record. Keyseal issues the licence when Stripe confirms the payment. Test and live each have a separate connection.

Prepare a restricted test key

Open your Stripe account in test mode. Check that Managed Payments is enabled and that your product is eligible. In the API key settings, create a restricted test key. Keyseal uses the following identifiers when reporting a missing permission.

Access Stripe permissions
Write checkout_session_write, product_write, plan_write, webhook_write, charge_write, subscription_write
Read customer_read, payment_intent_read, invoice_read, dispute_read, promotion_code_read

Check the connection

In Keyseal, select the organisation and Test. As an owner or administrator, open Settings → Stripe and enter the key in the connection field. Keyseal checks the permissions, creates a Managed Payments test session and expires it. This check makes no charge.

Keyseal configures the notification endpoint used to receive payments. The panel shows the connection status and the last characters of the key. If permissions are missing, add the named permissions in Stripe and retry. If Managed Payments is unavailable, check account eligibility and enablement in Stripe.

Sync the catalogue

A successful connection starts syncing the test catalogue. If a product or price fails to sync, address the reported cause and retry the sync in the console. To get a paid buy link, create a public plan with a price and wait for the price to sync.

Verify billing for your Keyseal organization

The beta is free. On a sandbox installation, the operator links the test catalogue to the identifier of the Sponge Theory seller organization. An owner or administrator of the organization being billed opens its billing settings in Test. Keyseal verifies the recurring price on the seller’s account and opens Stripe Managed Payments. Back in the console, you can check the payment status. A paid invoice confirmed by the webhook grants access for the dates it covers.

If renewal fails, access continues through the paid period. You can stop the next renewal and resume it while the subscription exists. A plan change takes effect for the period paid at the new price. Purchases by your own customers continue to appear in your sales.

The automated tests simulate Stripe. For a manual acceptance check, use a test account and test payment method and follow the payment through to its invoice in settings. Sandbox prices and allowances are fictional. Sponge Theory will decide on commercial pricing using measured usage.

All guides