Title: Javascript error: Uncaught ReferenceError: Heartland is not defined
Last modified: April 30, 2017

---

# Javascript error: Uncaught ReferenceError: Heartland is not defined

 *  [LoicTheAztec](https://wordpress.org/support/users/lomars/)
 * (@lomars)
 * [9 years ago](https://wordpress.org/support/topic/javascript-error-uncaught-referenceerror-heartland-is-not-defined/)
 * I am Using
    – latest version of WordPress – WooCommerce version 2.6.x – Woocommerce
   Secure Submit version 1.11.4.
 * Secure Submit gateway (Credit card) is enabled in WooCommerce.
 * I have this javascript error:
 *     ```
       uncaught ReferenceError: Heartland is not defined at VM1686 field.html:1
       (anonymous) @ VM1686 field.html:1
       ```
   
 * for:
    `(new Heartland.HPS).configureFieldIframe()` when I am on checkout page
   with my browser inspector on **VM1686 field.html** file.
 * The web site is crateful.la

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [SecureSubmit](https://wordpress.org/support/users/markhagan/)
 * (@markhagan)
 * [9 years ago](https://wordpress.org/support/topic/javascript-error-uncaught-referenceerror-heartland-is-not-defined/#post-9085668)
 * Hi Loic,
 * Thanks for the report. I just went through your checkout, but I’m unable to reproduce
   your error. Are there any steps that need to be taken to evoke the error you’re
   seeing?
 *  Thread Starter [LoicTheAztec](https://wordpress.org/support/users/lomars/)
 * (@lomars)
 * [9 years ago](https://wordpress.org/support/topic/javascript-error-uncaught-referenceerror-heartland-is-not-defined/#post-9150084)
 * May be this issue is related to this one:
 * [https://wordpress.org/support/topic/update-1-11-3-issue-with-wc-2-6-x](https://wordpress.org/support/topic/update-1-11-3-issue-with-wc-2-6-x)
 * So for now, I revert back to to version 1.11.2 of WooCommerce Secure submit plugin.
 * Best regards
 *  Plugin Author [SecureSubmit](https://wordpress.org/support/users/markhagan/)
 * (@markhagan)
 * [9 years ago](https://wordpress.org/support/topic/javascript-error-uncaught-referenceerror-heartland-is-not-defined/#post-9156180)
 * Hi Loic,
 * The two issues should be unrelated. Were you able to produce a set of steps that
   evoke the JavaScript error you’re seeing? We have not been able to reproduce 
   the error on our end.
 *  Thread Starter [LoicTheAztec](https://wordpress.org/support/users/lomars/)
 * (@lomars)
 * [9 years ago](https://wordpress.org/support/topic/javascript-error-uncaught-referenceerror-heartland-is-not-defined/#post-9157060)
 * Hi Mark,
 * Is difficult for me to say what is related or not. I have move back for the moment
   to version 1.11.2 and I don’t have this problem with it. Just hope that next 
   update will solve it all. Thanks.
 * There is is still a lot of people running WC 2.6.x as version 3.0+ is a mega 
   major version, and to update from WC 2.6.x to 3.0+, is a lot of work and a long
   process for Web shops with big customizations. Thanks.
 * Best regards
 *  Plugin Author [SecureSubmit](https://wordpress.org/support/users/markhagan/)
 * (@markhagan)
 * [9 years ago](https://wordpress.org/support/topic/javascript-error-uncaught-referenceerror-heartland-is-not-defined/#post-9160894)
 * Hi Loic,
 * Sadly, we’re still not seeing any issues on your site nor on any of our test 
   sites. Is this still an issue on your end?

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Javascript error: Uncaught ReferenceError: Heartland is not defined’ 
is closed to new replies.

 * ![](https://ps.w.org/woocommerce-securesubmit-gateway/assets/icon-256x256.png?
   rev=3385858)
 * [Global Payments SecureSubmit Gateway](https://wordpress.org/plugins/woocommerce-securesubmit-gateway/)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-securesubmit-gateway/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-securesubmit-gateway/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-securesubmit-gateway/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-securesubmit-gateway/reviews/)

## Tags

 * [javascript error](https://wordpress.org/support/topic-tag/javascript-error/)

 * 5 replies
 * 2 participants
 * Last reply from: [SecureSubmit](https://wordpress.org/support/users/markhagan/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/javascript-error-uncaught-referenceerror-heartland-is-not-defined/#post-9160894)
 * Status: not resolved