2

The "Make Contribution" button fails to load confirmation page. We had recently added a captcha and a premium section to the page, so tried disabling them. We found that the premium section was the culprit, and disabling it allows the page to work as normal.

Running 5.19.4 on Drupal 7. No useful errors on Civi or Drupal logs. Is anyone else having this problem?

3
  • Should also note that we are using Stripe – KSFR Apr 9 '20 at 19:30
  • What happens when you disable the confirmation page? – Andy Burns Apr 9 '20 at 20:58
  • @AndyBurns Same problem if confirmation page is disabled and premium section is enabled. – KSFR Apr 10 '20 at 18:58
2

April 21:

The issue appears to be related to Stripe. The submit button is generating a couple of ajax calls to the stripe url as:

https://q.stripe.com/?event=elements.event.focus&event_count=12&timestamp=1587498851543& ...

https://q.stripe.com/?event=elements.event.blur&event_count=13&timestamp=1587498851574& ....

After that first click, presumably the stripe extension is going to disable the submit button to avoid multiple clicks, and then it doesn't re-enable it, presumably because it doesn't get back the answer it expects, so no further action happens on clicking submit again.

Apr 28:

For anyone else trying to debug this - the first clue is to enable javascript debugging, i.e. at /civicrm/admin/setting/stripe:

Enable Stripe Javascript debugging?

That provides me with the clue that it's getting blocked at line 335 of civicrm_stripe.js (of the unminified version), i.e. it's using a jquery validation plugin that thinks the form is not valid. If I remove that check, it goes ahead (and tells me my credit card is invalid).

So we've narrowed it down to some kind of conflict between the premiums section and the stripe extension's use of the jquery validation plugin.

2
  • 6.3.2 did not fix this issue. – Alan Dixon Apr 22 '20 at 22:00
  • I am successfully using premiums with Stripe 6.5.4. – Andy Burns Nov 20 '20 at 20:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.