Skip to main content

Why Card Payments Will Not Set Up

When a step of the Payments screen's set-up will not let you go on, it says why under the box in one sentence. This page explains each of those sentences and what to do. Open the menu, choose Payments under Administration, and select Set up Stripe (or Change key or Change address once payments are on) to get back to the step.

Why does the Web address check fail?​

The Web address step of the Payments set-up checks that your server can reach the address you give and recognise this very ABM Service server. Stripe and your customers must also be able to reach it over the internet. When the check fails it shows one of these:

  • "Give the address people reach this server on, such as https://service.yourcompany.com." — the box is empty.
  • The address in quotation marks, then "is not a web address." — what you typed cannot be read as an address.
  • "The address must start with https:// — Stripe and your customers connect only over a secure connection." — the address starts http://. Card payments need a secure address.
  • "The address must be one Stripe and your customers can reach from the internet, not this computer's own." — the address names the server itself, such as localhost, which nobody outside can reach.
  • "Give the address alone, with nothing after the name (no path, no ?, no #)." — remove everything after the name, such as /calls.
  • The address followed by "answered, but not as this server", a number in brackets, and "Check the address is this company's own." — something answered at that address, but it is not this ABM Service server: another company's, or another program on yours.
  • The address followed by "did not answer within ten seconds." or "could not be reached from this server:" and a reason — the server could not reach its own public address. Whoever looks after your network needs to make that address reach the ABM Service web server from the server itself as well as from outside.

Correct the address and select Check again.

Why does the Payments screen tell me to use the web version?​

If a check on the Payments screen says "Stripe reports payments to the web server, so set payments up from the web version of ABM Service, signed in as the administrator.", you are in the ABM Service desktop app. The desktop app cannot prove the web address, because Stripe reports payments to your ABM Service web server, not to the desktop app on your computer.

Open ABM Service in a web browser at your company's web address, sign in as user 1, and set up card payments there. The same applies to Change key, Switch to live and Change address, which go through the same checks.

Why is my Stripe key refused?​

The Stripe key step of the Payments set-up refuses a key that is the wrong kind, before Stripe is asked anything:

  • "That is a full live key, which can do anything in the Stripe account — refunds and payouts included." — ABM Service takes only a restricted live key, which starts rk_live_. In Stripe, use Developers › API keys › Create restricted key, as the message says.
  • "That is a publishable key, which only a web page uses." — paste a restricted key, starting rk_live_ or rk_test_, instead.
  • "That is a webhook signing secret. ABM Service makes its own" — ABM Service makes its own reporting address in Stripe; paste a restricted key instead.
  • "That is not a Stripe API key" or "That is not a Stripe key: it has spaces in it, or is far too long." — something else was pasted, or the key picked up a space or a line break. Copy it again from Stripe.
  • "Paste the key from Stripe first." — no key was pasted and there is no enabled saved key to use. When payments are already enabled, leaving the box empty checks the stored key instead.

A full test key beginning sk_test_ is accepted. A restricted live key is required for real money.

When the key is the right kind, Stripe is asked about it:

  • "Stripe does not take this key." followed by Stripe's own words — the key was mistyped, has been deleted in Stripe, or has expired. Make or copy a key again.
  • A list under What the key may not do, and "This key may not do everything ABM Service needs. In Stripe, edit the restricted key and give it" followed by the missing permissions — edit the key's permissions in Stripe as the list says, then select Check again.
  • "Stripe did not answer. Please try again in a moment." — Stripe could not be reached just then.

On Switch to live, a test key is refused with "This is a test key. Switching to live needs a live one, which starts rk_live_."

What do the Ready step's notes about other reporting addresses mean?​

The Ready step of the Payments set-up says, before you press Finish, what Finish will do in your Stripe account. Besides "Finish tells Stripe to report every payment to" your server's address, it may add:

  • "This key is another Stripe account or another kind of money, so first every payment link still open is stopped with the key payments use now." — you are moving payments to a different Stripe account, or from test to live money. Links already sent stop working.
  • "Stripe still has a reporting address this server made earlier" with its name in Stripe, then "whose secret this server no longer has. Finish deletes it and makes a new one." — an earlier set-up on this server left one behind. ABM Service replaces only an address that it made itself, at this server's exact address, in the same Stripe account and kind of money.
  • "Stripe also has a webhook at this address that this server did not make" with its name, then "Finish leaves it alone; it will fail, so delete it in Stripe's dashboard (Developers › Webhooks)." — somebody made one by hand. ABM Service never deletes what it did not make; delete it in Stripe yourself.

After Finish, the same notes, and any address ABM Service could not delete, appear under "Card payments are set up and on." and in the Recently card.

Why is Finish refused on the Payments screen?​

When Finish on the Payments set-up is refused, the sentence under the buttons says why:

  • "The payments set-up was changed since this page read it. Look at it again, then try again." — somebody changed the set-up after you opened the screen, perhaps you in another window. The screen reads the set-up again; go through the steps again.
  • "Payments are being turned off. Finish that, or keep them on, before setting them up again." — a turn-off has not finished. Use Try again or Keep payments as they were on the Payments screen first.
  • "This server cannot store a Stripe key:" followed by a reason — the copy of ABM Service on your server lacks what it needs to encrypt the key. Nothing you change in Stripe or on this screen fixes it; tell your software supplier.
  • "Stripe would not let this key tell it where to report payments." followed by Stripe's words — the key lacks the write permission for reporting addresses; edit it in Stripe.
  • "This server cannot read the key payments were made with, so it cannot stop the links still open. Turn payments off and set them up again." — you are changing to another account or kind of money, and the old key cannot be read. Turning off also needs to settle open links. Check and stop unresolved links in Stripe before ending their ABM Service records, then finish turning off and set payments up afresh.

If the connection drops during Finish, reload Payments and check the saved account, address and unfinished-change card before repeating. Finish can have saved or stopped links even when its response did not arrive. The address check also refuses a saved address longer than 200 characters with "That address is too long."

If Finish ends on a list headed with the set-up's name and "not finished", Stripe would not say what became of some payment links; How to Change the Stripe Key, Switch to Live or Change the Address explains that list.