Answers.Body: <p>So the error occurs when CiviCRM is doing it's implementation of the Luhn algorithm <a href="https://en.wikipedia.org/wiki/Luhn_algorithm" rel="noreferrer">https://en.wikipedia.org/wiki/Luhn_algorithm</a></p>
  
  <p>The picture suggests it's javascript related, but note that there are no console errors showing.</p>
  
  <p>Fix: I cleared both the site cache and the browser cache and now it works.</p>
  
  <p>The weird [object Object] title that you can see in the console seems to be a red herring.</p>
  
  <p>In our case, the issue is likely due to css/js/img resources having long caches and not getting cleared by CiviCRM with the upgrade, so restarting Varnish in front of the site is likely the right answer.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-11-22T15:42:10.030Z
Answers.LastActivityDate: 2019-11-22T15:51:44.347Z
Answers.LastEditDate: 2019-11-22T15:51:44.347Z
Answers.UserDisplayName: Alan Dixon
Body: <p>We have three different clients reporting erratic errors on public-facing and administrative credit card donation forms.</p>
  
  <p>The error is that CiviCRM reports that a credit card + expiry is invalid, and the error shows up before talking to the payment processor, i.e. it's form error, not a payment processor error. We've confirmed that the cc credentials are in fact valid.</p>
  
  <p>These started happening after the latest (Nov 20 2019) security update (some on the 5.13.7, some on 5.19.2, not all using the same payment processor).</p>
  
  <p>See attached picture for a clue: note the title of the cc images.</p>
  
  <p><a href="https://i.sstatic.net/tbCK8.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/tbCK8.png" alt="contribution form"></a></p>
  
Tags: <civicontribute>
Title: Contribution form errors after latest security release
ThreadText: # Contribution form errors after latest security release
  
  (Asked by: username_0 on 2019-11-22)
  
  We have three different clients reporting erratic errors on public-facing and administrative credit card donation forms.
  
  The error is that CiviCRM reports that a credit card + expiry is invalid, and the error shows up before talking to the payment processor, i.e. it's form error, not a payment processor error. We've confirmed that the cc credentials are in fact valid.
  
  These started happening after the latest (Nov 20 2019) security update (some on the 5.13.7, some on 5.19.2, not all using the same payment processor).
  
  See attached picture for a clue: note the title of the cc images.
  
  [![contribution form](https://i.sstatic.net/tbCK8.png)](https://i.sstatic.net/tbCK8.png)
  
  **Tags:** civicontribute
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2019-11-22. Score: 5
  
  So the error occurs when CiviCRM is doing it's implementation of the Luhn algorithm <https://en.wikipedia.org/wiki/Luhn_algorithm>
  
  The picture suggests it's javascript related, but note that there are no console errors showing.
  
  Fix: I cleared both the site cache and the browser cache and now it works.
  
  The weird [object Object] title that you can see in the console seems to be a red herring.
  
  In our case, the issue is likely due to css/js/img resources having long caches and not getting cleared by CiviCRM with the upgrade, so restarting Varnish in front of the site is likely the right answer.
  
  
  ---
  
  