From 47c1dd9acab7fdc2ed68fbbcd8a699bc1b27240a Mon Sep 17 00:00:00 2001
From: Matthew Wire <mjw@mjwconsult.co.uk>
Date: Wed, 16 Nov 2022 22:14:22 +0000
Subject: [PATCH] Fix recaptcha

---
 js/civicrmStripe.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/js/civicrmStripe.js b/js/civicrmStripe.js
index 22059402..09c92598 100644
--- a/js/civicrmStripe.js
+++ b/js/civicrmStripe.js
@@ -38,7 +38,7 @@
       CRM.payment.resetBillingFieldsRequiredForJQueryValidate();
 
       if (script.getReCAPTCHAToken()) {
-        let recaptcha = script.reloadReCAPTCHA();
+        let recaptcha = await script.reloadReCAPTCHA();
 
         // Insert the token ID into the form so it gets submitted to the server
         var hiddenInput2 = document.createElement('input');
-- 
GitLab