Support

Home Forums Event Espresso Premium Authorize.net not working

Authorize.net not working

Posted: March 5, 2014 at 8:50 am

Viewing 2 reply threads


Delray Wannemcher

March 5, 2014 at 8:50 am

We have wordpress 3.8.1 and Event Espresso 4.1.8.reg (new installation).
Whe we try to register and use the Authorize.net payment option all seems to work until we press the “Finalize Registration” button, I see an error in Firebug that says error in file https://www.fsxinterlinked.com/wp-content/plugins/event-espresso-core-reg/modules/single_page_checkout/assets/single_page_checkout.js?ver=4.1.8.reg :

<code>
TypeError: lbl_txt is null
if ( lbl_txt.length &amp;&amp; $(input).hasClass( &#039;required&#039; ) ) {
</code>


Delray Wannemcher

March 5, 2014 at 9:21 am

I think the problem is the following line:
var lbl_txt = $(input).closest('.reg-page-form-field-wrap-pg').find('label').html();

This code can be found on this file https://www.fsxinterlinked.com/wp-content/plugins/event-espresso-core-reg/modules/single_page_checkout/assets/single_page_checkout.js?ver=4.1.8.reg it seems that for the Expiry Date lbl_text end up being null.


Josh

  • Support Staff

March 5, 2014 at 4:45 pm

Hi there,

I get the same error when I swapped out the version of jQuery that WordPress ships with and swapped in jQuery version 1.7.2 (the same version that your theme is using). You can fix this by ensuring that the current version of jQuery is used.

You can contact the theme author and they may have an update to the theme. If they do not, then the next step is to find where the older version of jQuery is being added to replace the version that WordPress ships with, and remove that code. You might also need to update the other jQuery plugins that the theme has if they aren’t compatible with current jQuery libraries.

Viewing 2 reply threads

The support post ‘Authorize.net not working’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso