• Resolved ignitemedia

    (@ignitemedia)


    Customers have been complaining about a choppy checkout process. On many occasions, users will be filling out their billing and shipping information and be shot down to the bottom of the page with a validation error. Often it will read “Please enter a credit card number”. This is before they’ve been able to complete their shipping/billing information.

    I’ve narrowed this down to scripting that is in the cardconnect.js file. Can this be toggled? We don’t mind validation messages; but only when they make sense in the flow of checkout.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author RexAK

    (@rexak)

    The plugin throws errors, like any other gateway plugin, and your theme responds to those messages. There is no code that scrolls the screen, or displays the messages in any particular way. Its up to WooCommerce, and your specific theme to handle the messages. If you are comfortable, you can try switch on the developer options, and see if something works for you.

    What theme are you using, and do you have a page I can take a look at?

    Thread Starter ignitemedia

    (@ignitemedia)

    I’m finding the following code in the bluebird.js file within the Card Connect plugin:

    a.html(‘<ul class=”woocommerce-error”>’+i+”“),t([document.documentElement,document.body]).animate({scrollTop:t(“.payment_method_card_connect”).offset().top},500)

    Plugin Author RexAK

    (@rexak)

    Hi @ignitemedia
    Hmm, that was something I was unaware of. I’ll talk with our dev to see if that dependency is needed any longer.

    You are free to modify the plugin for your needs. It is open source. You would just need to take into account the modification when WP plugin updating happens.

    Thread Starter ignitemedia

    (@ignitemedia)

    Hi RexAK,

    Any update on this? I don’t wish to modify the plugin – this will cause issues with future updates.

    Thanks,
    Nick

    Plugin Author RexAK

    (@rexak)

    Hi @ignitemedia,

    We would not be able to modify the plugin for your specific needs. Our dev is aware of your request, and it will be up to him to decide if this dependency is still needed. We will be issuing a new version of the plugin shortly for compatibility with Woo and the latest WP. I understand this does not help you with your scrolling issue, however, I can say, that if you use the WC_CC_ADVANCED constant as outline on this plugin’s page, you may be able to get around the scrolling issue by using turning off the IFRAME version of the plugin – it does additional checks for errors which may be causing the scrolling in your case. I spoke with a CC rep today and there currently does not seem to be any plans on turning off the JS API.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Undesired Scrolling’ is closed to new replies.