diff --git a/templates/CRM/Core/Payment/Stripe/Card.tpl b/templates/CRM/Core/Payment/Stripe/Card.tpl
index 3d8be0a1c0527d8438de933613974021e71e707f..b4f72b6b75510e7785a1dd07e7157a0bba38e8c1 100644
--- a/templates/CRM/Core/Payment/Stripe/Card.tpl
+++ b/templates/CRM/Core/Payment/Stripe/Card.tpl
@@ -23,7 +23,7 @@
 
 {* Add the components required for a Stripe card element *}
 {crmScope extensionKey='com.drastikbydesign.stripe'}
-  <div id="stripeContainer">
+  <div id="crm-payment-js-billing-form-container" class="stripe">
     <div id="card-element" style="display: none"></div>
     <div id="paymentrequest-element" style="display: none"></div>
     {* Area for Stripe to report errors *}