I am trying to manually add a card on file for a customer from the Customers dashboard. I did this without issue for six or so other customers over the past few weeks.
I get an error on the screen like "Could not save payment information. Please try again."
I see a 400 network response from dev tools with content {"errors":[{"category":"INVALID_REQUEST_ERROR","code":"INVALID_CARD_DATA","detail":"Invalid card data.","field":"source_id"}]}
As far as I can tell the card number is valid (as per Luhn algorithm). I don't really know anything about what makes a CVV valid, but it doesn't look out of the ordinary.
I have been trying to test adding some other cards to a "test customer" (ie myself) and I do sometimes see the same error, but I haven't been able to pinpoint what's different when it works and when it doesn't.
And I obviously don't have a limitless supply of "test cards".
I'm kind of stuck; is there some way to get more information about why the card is invalid?
Square Community
Square Products