cpmt_… custom payment method type id, which you create on
your own integration path: Stripe Payment
Elements
or Stripe
Checkout.Connect
Three fields, and only the first is mandatory.Create the restricted key
The key is the one value you must have. It is what lets Gale read your checkout sessions and products and record payment outcomes back to Stripe. Create it once per Stripe account, per mode.Open API keys

Developers → API keys
Create a restricted key

Restricted keys → Create restricted key
Choose how the key will be used

Create a restricted key — usage
Grant the permissions

The resource list, all permissions at None

The header and the child row are different — set the child
Name it and create it
Gale HSA/FSA
works well — then click Create key and copy what Stripe shows you.Reading the connection panel
After saving, the panel below the form reports what Gale actually knows:- A tick or a cross per permission — taken from a live check against Stripe, not from what you intended to grant. A cross names the row to go and set, using the same name Stripe’s key builder uses, so you can search for it directly. The full list is in Create the restricted key above.
- Signing secret: set / not set — whether, never what. The value is never sent back to your browser, and there is no fragment of it worth showing.
- Last verified — when that check last ran. Re-check permissions runs it again, which is the only way to refresh it: Stripe will not show you a restricted key twice, so re-saving is not an option.
You cannot take payments yet — add your signing secret
You cannot take payments yet — add your signing secret
Setup is not finished — add your custom payment method ID
Setup is not finished — add your custom payment method ID
cpmt_ id. Nothing is being
rejected — there is simply no custom payment method in Stripe for a shopper
to choose yet. Create it, then paste the id here.Connect your checkout
Once the connection is complete, the page shows the two things you wire up outside Gale. Adapter URL — the URL Stripe calls to start each payment. You paste this into the Checkout Sessions endpoint field on your custom payment method. Your webhook URL — where Gale tells your own application what happened to a payment. Set it under Webhooks in your Gale dashboard.Which webhooks you actually get
This catches people out, because the answer depends on which path you built: Both paths need a Gale webhook URL. What differs is which events arrive where.Import products
Gale needs your catalogue to know what a shopper is buying and whether it is HSA/FSA eligible.- Preview shows exactly what would change and writes nothing.
- Import applies it.
Keep products in sync
A switch on the same card. Turn it on and a product you create, edit or archive in Stripe reaches Gale on its own, with no re-import.Troubleshooting
A permission shows a cross even though I granted it
A permission shows a cross even though I granted it
Everything is ticked but the adapter URL is not shown
Everything is ticked but the adapter URL is not shown
cpmt_ id present. If you are mid-setup and
need the URL to continue, get it from your Gale contact.I connected in sandbox and production looks empty
I connected in sandbox and production looks empty
cpmt_ id shipped in a live
checkout is the most common reason Gale never appears in production.Payments work, but plan changes in Stripe do not reach Gale
Payments work, but plan changes in Stripe do not reach Gale
Related
- Custom Payment Methods overview — which integration path to pick
- Stripe Checkout
- Stripe Payment Elements
