Support

Home Forums Event Espresso Premium Credit Card vs Check vs Invoice required fields

Credit Card vs Check vs Invoice required fields

Posted: September 21, 2020 at 7:59 am


Lauren Slocum

September 21, 2020 at 7:59 am

We’ve made NO changes to the programming on the site – EE is up to date. The credit card payment is the default option to pay (it has required fields for the card info).

However, if the user selects to pay by Check or Invoice, the required fields for the credit card are staying on the page – they shouldn’t.

We’ve made no programming changes and this issue has cropped up in the last week or so.

Ideas?


Tony

  • Support Staff

September 21, 2020 at 11:00 am

Hi there,

Can you link me to an event so I can take a look?

Blind guess is that you’ve recently updated to WP5.5+ and now either your theme or another plugin is throwing a JavaScript error everywhere on your site becuase the jQuery Migrate script was removed from WordPress (it’s a common issue with many plugins since WP5.5).

You could try installing this plugin: https://wordpress.org/plugins/enable-jquery-migrate-helper/

It should ‘fix’ the above if that’s the cause but is not considered a permanent fix but a stopgap to give you time to update the code on the site that needs it.


Lauren Slocum

September 24, 2020 at 8:09 am

thank you @Tony – that fixed the problem, but when you say it’s just a stop gap solution – how the heck is the average joe who knows NOTHING about programming is supposed to fix something like this?

I mean, we use WordPress and your product so we, as small business owners can keep costs down. We are just a small local Chamber of Commerce 🙁

Frustrating!

https://checkoutri.com/


Tony

  • Support Staff

September 24, 2020 at 8:51 am

thank you @Tony – that fixed the problem

Great! I’m glad it worked.

but when you say it’s just a stop gap solution – how the heck is the average joe who knows NOTHING about programming is supposed to fix something like this?

I hear ya! The same comment has been made over and over on various WP support forums.

Just to be clear here though the problem you have likely has nothing to do with Event Espresso itself but rather because something on your site is relying on a function in that file (the jQuery migrate file) it’s throwing errors around your site. As that’s obviously happening on the front end it breaks the JavaScript EE uses to switch payment methods/submit etc.

The reason the above is a stop gap is the functions in that file now have new and improved versions which should be used in their place, which means updating the code. If its ina plugin then you contact the plugin author and ask them to fix it, if its the theme you do the same but with the theme author. It gets a little more complicated if it’s your own theme you’ve had developed by someone who is no longer available but should still be done.

I can’t access your site, all I see when I got to your URL is:

https://monosnap.com/file/tcGIdKiruqea53Tx1HdJ8CLmFmoqs1

Which means I can’t see the problem to be able to give you any info on what is causing it. If you can grant me access to the site and temporarily disable the above plugin so the error is thrown again, I’ll happily take a look and see what stands out. As mentioned the issue is unlikely to be within Event Espresso as we don’t rely on functions within that file.

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: publish

Updated by  Tony 1 month ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!
[gravityform id=80 title=false description=false ajax=false]
<div class='gf_browser_unknown gform_wrapper' id='gform_wrapper_80' ><form method='post' enctype='multipart/form-data' id='gform_80' action='/topic/credit-card-vs-check-vs-invoice-required-fields/'> <div class='gform_body'><ul id='gform_fields_80' class='gform_fields top_label form_sublabel_below description_below'><li id='field_80_1' class='gfield gfield_contains_required field_sublabel_below field_description_below gfield_visibility_visible' ><label class='gfield_label' for='input_80_1' >First name<span class='gfield_required'>*</span></label><div class='ginput_container ginput_container_text'><input name='input_1' id='input_80_1' type='text' value='' class='medium' aria-required="true" aria-invalid="false" /></div></li><li id='field_80_2' class='gfield gfield_contains_required field_sublabel_below field_description_below gfield_visibility_visible' ><label class='gfield_label' for='input_80_2' >Email address<span class='gfield_required'>*</span></label><div class='ginput_container ginput_container_email'> <input name='input_2' id='input_80_2' type='email' value='' class='medium' aria-required="true" aria-invalid="false" /> </div></li><li id='field_80_3' class='gfield gfield_contains_required field_sublabel_below field_description_below gfield_visibility_visible' ><label class='gfield_label' >GDPR Agreement<span class='gfield_required'>*</span></label><div class='ginput_container ginput_container_checkbox'><ul class='gfield_checkbox' id='input_80_3'><li class='gchoice_80_3_1'> <input name='input_3.1' type='checkbox' value='I consent to have this website store my submitted information so they can respond to my inquiry.' id='choice_80_3_1' /> <label for='choice_80_3_1' id='label_80_3_1'>I consent to have this website store my submitted information so they can respond to my inquiry.</label> </li></ul></div></li><li id='field_80_4' class='gfield gform_validation_container field_sublabel_below field_description_below gfield_visibility_visible' ><label class='gfield_label' for='input_80_4' >Email</label><div class='ginput_container'><input name='input_4' id='input_80_4' type='text' value='' autocomplete='off'/></div><div class='gfield_description' id='gfield_description_80_4'>This field is for validation purposes and should be left unchanged.</div></li> </ul></div> <div class='gform_footer top_label'> <input type='submit' id='gform_submit_button_80' class='gform_button button' value='Download Now' onclick='if(window["gf_submitting_80"]){return false;} if( !jQuery("#gform_80")[0].checkValidity || jQuery("#gform_80")[0].checkValidity()){window["gf_submitting_80"]=true;} ' onkeypress='if( event.keyCode == 13 ){ if(window["gf_submitting_80"]){return false;} if( !jQuery("#gform_80")[0].checkValidity || jQuery("#gform_80")[0].checkValidity()){window["gf_submitting_80"]=true;} jQuery("#gform_80").trigger("submit",[true]); }' /> <input type='hidden' class='gform_hidden' name='is_submit_80' value='1' /> <input type='hidden' class='gform_hidden' name='gform_submit' value='80' /> <input type='hidden' class='gform_hidden' name='gform_unique_id' value='' /> <input type='hidden' class='gform_hidden' name='state_80' value='WyJbXSIsIjBiNjdjZjkyMDUzOWUxOWY5Y2NiZjIwMzM4YjA1Mjk4Il0=' /> <input type='hidden' class='gform_hidden' name='gform_target_page_number_80' id='gform_target_page_number_80' value='0' /> <input type='hidden' class='gform_hidden' name='gform_source_page_number_80' id='gform_source_page_number_80' value='1' /> <input type='hidden' name='gform_field_values' value='' /> </div> </form> </div><script type='text/javascript'> jQuery(document).bind('gform_post_render', function(event, formId, currentPage){if(formId == 80) {} } );jQuery(document).bind('gform_post_conditional_logic', function(event, formId, fields, isInit){} );</script><script type='text/javascript'> jQuery(document).ready(function(){jQuery(document).trigger('gform_post_render', [80, 1]) } ); </script>
[i]
[i]