Why won't AveeCare accept my Stripe key, or why does Test Connection fail?

AveeCare checks Stripe keys with Stripe before saving them; the usual cause is the shortened copy from Stripe's key list (sk_live_...9a99), so create or reveal the key and copy it from the window Stripe opens.

Quick answer1 min readUpdated for AveeCare
Short answer

When you click Connect Stripe, AveeCare checks the keys with Stripe before saving them and says what is wrong under the box. The most common cause is pasting the shortened copy from Stripe's list of keys (such as sk_live_...9a99 with the key's name next to it). Stripe shows a full key only once, when it is created, so create a new restricted key or click Reveal live key, copy it from the window that opens, and paste it again. Other causes: the publishable and secret keys in each other's boxes, a test key with Test Mode off (or a live key with it on), a key Stripe has deleted or rolled, or a restricted key missing a permission.

Step by step

  1. Read the message under the key box. It names the problem with the key you pasted.
  2. If it says this is the shortened copy, go to Developers, API keys on Stripe and create a new restricted key, or click Reveal live key under Standard keys.
  3. Copy the key from the window Stripe opens. It is one line of letters and numbers with no spaces.
  4. If it names missing permissions, add them on Stripe (the key's ⋯ menu, Edit key, set each to Write).
  5. Paste the key again and click Connect, then Test Connection.

Good to know

  • Already connected but cards fail? Adding a card or charging a client says when the saved Stripe key is the problem. Click Disconnect on the Stripe card in Settings, Payment Integrations, and connect again with a working key.
  • Key was rolled or deleted on Stripe? The old key stops working at once. Connect the new one.
  • Test Mode: on means sandbox keys (rk_test_ or sk_test_ with pk_test_), off means live keys.
Written by
Founding Partner, AveeCare

Builds AveeCare full-time. The AveeCare Help Center is written and maintained by the team that builds the product, so the steps in every article come from the same people who ship the features.