Answers.Body: <p>Stripe uses javascript to submit the credit card credentials to the stripe server (so that they're never handled by the CiviCRM server). The console is showing that it's unable to do that because of javascript errors.</p>
  
  <p>A browser may or may not stop processing if it encounters javascript errors, it depends on the browser/settings.</p>
  
  <p>On your referenced page, it's CiviCRM loading the jquery.min.js file, so that suggests it's a purely CiviCRM issue - there's likely some Civi or extension javascript running that's trying to execute some jquery and getting an error.</p>
  
  <p>As per Pete's comment, I'd start with thinking about what has changed since it was last working (e.g. a CiviCRM or extension update, a change with WordPress, etc.).</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-12-04T19:06:45.917Z
Answers.LastActivityDate: 2019-12-04T19:06:45.917Z
Answers.UserDisplayName: Alan Dixon
Body: <p>It's Giving Tuesday and this donation form on my client's website won't allow credit card donors to submit their donations :o </p>
  
  <p><a href="https://apprenticelearning.org/civicrm/?page=CiviCRM&amp;q=civicrm%2Fcontribute%2Ftransact&amp;reset=1&amp;id=3" rel="nofollow noreferrer">https://apprenticelearning.org/civicrm/?page=CiviCRM&amp;q=civicrm%2Fcontribute%2Ftransact&amp;reset=1&amp;id=3</a></p>
  
  <p>When I've filled out all the information and try to submit a donation, this shows up (once Inspected):</p>
  
  <p>VM625:1 Uncaught TypeError: Cannot read property 'id' of undefined
      at v (eval at  (jquery.min.js?r=Z0KlZ:2), :1:694)
      at w (eval at  (jquery.min.js?r=Z0KlZ:2), :1:1555)
      at Object.eval (eval at  (jquery.min.js?r=Z0KlZ:2), :1:1450)
      at Object. (jquery.min.js?r=Z0KlZ:2)
      at i (jquery.min.js?r=Z0KlZ:2)
      at Object.fireWith [as resolveWith] (jquery.min.js?r=Z0KlZ:2)
      at x (jquery.min.js?r=Z0KlZ:4)
      at XMLHttpRequest.c (jquery.min.js?r=Z0KlZ:4)</p>
  
  <p>Any help would be so appreciated!</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-12-04T04:30:12.943Z
Comments.Text: You may help folk help you if you give more information such as what Payment Processor you are using, when it was last known to work, what has changed since then etc
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-12-04T04:32:29.953Z
Comments.Text: looks like Stripe with WordPress but not using a shortcode - is that correct?
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-12-04T04:51:52.677Z
Comments.Text: the client uses Stripe! not sure about shortcodes ...
Comments.UserDisplayName: Yann Chwen
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-12-04T05:09:34.327Z
Comments.Text: Can you check your civi logs for any other error logs.
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-12-04T08:26:46.363Z
Comments.Text: we found an issue with Stripe and the https://civicrm.org/extensions/percentage-price-field/ extension but i don't recall seeing that on your page. But, i wondered if you wanted to make the simplest possible Contribution form (ie not 'on behalf of org' or anything)  just in case there is something else there that is intefering, esp anything that uses js
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-12-04T09:50:13.063Z
Comments.Text: thanks ... i tried removing various extra functions (like the "on behalf of an org" section) but no difference. i'm not sure how to check the civi log for error logs without resetting/making huge changes to the site ... thank you all for your feedback so far!
Comments.UserDisplayName: Yann Chwen
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-12-04T16:57:59.130Z
Comments.Text: Yann, did you try the 'test drive' option (as opposed to live contribution) just to verify that it is the payment processor that is a problem? If you try 'test' drive you can still generation transactions but eliminate payment processor.
Comments.UserDisplayName: Lesley Evensen
Tags: <civicontribute><contributions>
Title: Contribution form issue: cannot submit donation
ThreadText: # Contribution form issue: cannot submit donation
  
  (Asked by: username_0 on 2019-12-04)
  
  It's Giving Tuesday and this donation form on my client's website won't allow credit card donors to submit their donations :o
  
  <https://apprenticelearning.org/civicrm/?page=CiviCRM&q=civicrm%2Fcontribute%2Ftransact&reset=1&id=3>
  
  When I've filled out all the information and try to submit a donation, this shows up (once Inspected):
  
  VM625:1 Uncaught TypeError: Cannot read property 'id' of undefined
  at v (eval at (jquery.min.js?r=Z0KlZ:2), :1:694)
  at w (eval at (jquery.min.js?r=Z0KlZ:2), :1:1555)
  at Object.eval (eval at (jquery.min.js?r=Z0KlZ:2), :1:1450)
  at Object. (jquery.min.js?r=Z0KlZ:2)
  at i (jquery.min.js?r=Z0KlZ:2)
  at Object.fireWith [as resolveWith] (jquery.min.js?r=Z0KlZ:2)
  at x (jquery.min.js?r=Z0KlZ:4)
  at XMLHttpRequest.c (jquery.min.js?r=Z0KlZ:4)
  
  Any help would be so appreciated!
  
  **Tags:** civicontribute, contributions
  
  > **Comments:**
  > **username_1**: You may help folk help you if you give more information such as what Payment Processor you are using, when it was last known to work, what has changed since then etc  
  > **username_1**: looks like Stripe with WordPress but not using a shortcode - is that correct?  
  > **username_0**: the client uses Stripe! not sure about shortcodes ...  
  > **username_1**: Can you check your civi logs for any other error logs.  
  > **username_1**: we found an issue with Stripe and the https://civicrm.org/extensions/percentage-price-field/ extension but i don't recall seeing that on your page. But, i wondered if you wanted to make the simplest possible Contribution form (ie not 'on behalf of org' or anything)  just in case there is something else there that is intefering, esp anything that uses js  
  > **username_0**: thanks ... i tried removing various extra functions (like the "on behalf of an org" section) but no difference. i'm not sure how to check the civi log for error logs without resetting/making huge changes to the site ... thank you all for your feedback so far!  
  > **username_2**: Yann, did you try the 'test drive' option (as opposed to live contribution) just to verify that it is the payment processor that is a problem? If you try 'test' drive you can still generation transactions but eliminate payment processor.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2019-12-04. Score: 1
  
  Stripe uses javascript to submit the credit card credentials to the stripe server (so that they're never handled by the CiviCRM server). The console is showing that it's unable to do that because of javascript errors.
  
  A browser may or may not stop processing if it encounters javascript errors, it depends on the browser/settings.
  
  On your referenced page, it's CiviCRM loading the jquery.min.js file, so that suggests it's a purely CiviCRM issue - there's likely some Civi or extension javascript running that's trying to execute some jquery and getting an error.
  
  As per Pete's comment, I'd start with thinking about what has changed since it was last working (e.g. a CiviCRM or extension update, a change with WordPress, etc.).
  
  
  ---
  
  