diff --git a/js/civicrm_stripe.js b/js/civicrm_stripe.js
index b2b619cd2765fd568e2b5198f370af55fff3dc0f..44d0ba565b658325d940ee006ab63931d0e16022 100644
--- a/js/civicrm_stripe.js
+++ b/js/civicrm_stripe.js
@@ -205,7 +205,7 @@
           $.post(url, {
             payment_method_id: result.paymentMethod.id,
             amount: CRM.payment.getTotalAmount().toFixed(2),
-            currency: getCurrency(),
+            currency: CRM.payment.getCurrency(CRM.vars.stripe.currency),
             id: CRM.vars.stripe.id,
             description: document.title,
             csrfToken: CRM.vars.stripe.csrfToken
@@ -625,19 +625,6 @@
     return submit;
   }
 
-  /**
-   * Get currency on the form
-   * @returns {currency}
-   */
-  function getCurrency() {
-    if (document.getElementById('currency')) {
-      return document.getElementById("currency").value;
-    }
-    else {
-      return CRM.vars.stripe.currency;
-    }
-  }
-
   function cardElementChanged(event) {
     if (event.empty) {
       $('div#card-errors').hide();