Forum Replies Created

Viewing 15 replies - 1 through 15 (of 378 total)
  • Plugin Author IQComputing

    (@iqcomputing)

    @dpkonofa We wanted to let you know that we have just published v1.0.2 which better refines the caching system which we believe should take care of the strange shipping services issues you’re seeing on checkout. If the latest update does not immediately resolve the issue, please try clicking the Clear Cache button under WooCommerce > Settings > Integration > ShipStation.

    We agree with your UX suggestion, especially when using ShipStation there may be a number of available services to choose from. Unfortunately, this is either Theme or WooCommerce territory. The entire experience there is the WooCommerce Checkout Block (or Checkout shortcode depending on your usecase). We’re just not sure that 1). overriding this is feasible cross-theme and 2). a UX change such as this fits within the context of this plugins’ expected modifications. That being said, if you have further resources to support this kind of update, or plugins that also do this kind of UX change, we may reconsider.

    Thanks again for your patience and assistance getting our little plugin off the ground. If you run into any other issues please let us know – have a wonderful rest of your week!

    Plugin Author IQComputing

    (@iqcomputing)

    @dpkonofa Thank you again for both your patience and debugging regarding this matter.

    We have found that this is a legitimate issue with individual packages not returning shipping requests back to the shipping method and have pushed v1.0.1 early to resolve this issue.

    Could you please update to the latest version of this plugin and let us know if you continue to run into issues?

    Plugin Author IQComputing

    (@iqcomputing)

    @dpkonofa Thank you for sharing your logs. We see that everything looks correct in the logs.

    What we’re not seeing is any requests to rates/estimate which means the API hasn’t tried to run a rates query yet. The Rates endpoint does require a zip/postal code before it can run a valid rates estimate.

    The Legacy WooCommerce Cart page (which used a shortcode) had a “Calculate Shipping” link where the customer could input their zip/postal code to get Shipping Rates on the Cart page. This has been removed in the new WooCommerce Block Editor experience and only runs for existing users with zip/postal codes set.

    The WooCommerce Checkout runs the Rates Estimate request in either Block or Legacy whenever the Zipcode/Portal Code input has been updated.

    In short, the system needs a zip/postal code to work with before it can make a valid rates request. It either needs to be pre-existing on the customer or input by the customer during the cart/checkout process.

    Could you try to get to the Checkout page, enter a zipcode that your store supports shipping to, and let us know your results? The WooCommerce Logs mentioned in the previous reply should also log this request as well.

    Plugin Author IQComputing

    (@iqcomputing)

    Hello,

    Thank you for giving our plugin a try! We apologize that you’re running into issues with it and will do our best to assist.

    The (manual) flag should denote Shipping Carriers that were manually connected to ShipStation, which are not the ShipStation core carriers. That being said, we have found some issues with the returned API flags that could mark core ShipStation Carriers as (manual) in some cases, which will be patched in version 1.0.1 scheduled for next week.

    One of the features on our roadmap is a better log/error system outside just the WooCommerce logs. In the meantime, you can enable WooCommerce debug logs by following the below instructions:

    1. Log in your WordPress Admin Panel.
    2. Using the left-hand navigation, navigate to WooCommerce > Settings > Integration > ShipStation
    3. Toward the bottom of the settings page is a checkbox labeled “Enable Logging”, please check this checkbox and save the settings on this page.

    This will log API requests and errors. These logs can get quite lengthy, we do not recommend leaving them on for extended periods of time and to clear them out whenever you’re done. You can review these logs by visiting the following page:

    1. Through the WordPress Admin Panel, navigate to WooCommerce > Status > Logs

    Here you should see a list of WooCommerce logs. The specific logs you want to look for are going to be labeled live-rates-for-shipstation – Within these logs you should see a number of Info tags with an Additional Context accordion that you can click to see the JSON behind the request / data.

    Could you please enable logging as described above, go through the cart/checkout process, and then check those logs for any Debug flags? Otherwise, if you expand the Info tags, does it show any errors / error messages?

    Plugin Author IQComputing

    (@iqcomputing)

    Hello,

    You won’t be able to view that by direct URL. The noscript fallback is specifically for users who have their browsers JavaScript disabled. Google will display this fallback ReCaptcha in an iFrame with images and checkboxes. You should be able to disregard any SEO tool messages regarding 404s as these won’t be indexed.

    That being said, the error may be due to tight restrictions on the servers Content Security Policy headers. We recommend adding the following to your CSP definition, or reaching out to your hosting provider to do so.

    frame-src https://*.gstatic.com *.google.com

    This will ensure that your server will allows iframe callbacks from the above URLs which should help the ReCaptcha Fallback display properly.

    Hopefully that explanation makes sense, but if you have any questions you may reply back to this this thread and we may assist further. Have a wonderful rest of your week!

    Plugin Author IQComputing

    (@iqcomputing)

    Hello,

    We were able to test this with a Magnific Popup implementation which worked as expected – but the popup is inline content, not dymaically loaded via ajax.

    The google-recaptcha script is enqueued whenever Contact Form 7 calls the tag handler. If you don’t see this in the footer of your website you will need to manually enqueue it using the code from our previous reply – it is a key ingredient.

    Next, if you can find a JavaScript event that corresponds with your popup opening, you can call the recaptcha render method and pass in the params associated with the recaptcha container. All the reCaptcha settings are held as data attributes to the container. This means they will be available in JavaScript to use during the render method as seen in the example below:

    document.addEventListener( 'yourPopupOpenEvent', ( e ) => {

    /* This querySelector may need to be specific to your popup ID or class */
    let reCaptchaAll = document.querySelectorAll( '.wpcf7-recaptcha' );
    if( reCaptchaAll.length ) {

    let reCaptcha = reCaptchaAll[0];
    grecaptcha.render( reCaptcha, {
    'sitekey': reCaptcha.getAttribute( 'data-sitekey' ),
    'type': reCaptcha.getAttribute( 'data-type' ),
    'size': reCaptcha.getAttribute( 'data-size' ),
    'theme': reCaptcha.getAttribute( 'data-theme' ),
    'align': reCaptcha.getAttribute( 'data-align' ),
    'badge': reCaptcha.getAttribute( 'data-badge' ),
    'tabindex': reCaptcha.getAttribute( 'data-tabindex' )
    } );

    }
    } );

    Hopefully you’re able to get this solution working for your usecase. Have a wonderful rest of your week!

    Plugin Author IQComputing

    (@iqcomputing)

    Hello,

    The way this ReCaptcha loads is through a JS Callback function supplied to the initial Google ReCaptcha API script as seen in the link below:

    https://plugins.trac.ww.wp.xz.cn/browser/wpcf7-recaptcha/tags/1.4.9/recaptcha-v2.php#L68

    You may be able to copy the wpcf7-recaptcha-controls.js JS section which contains the callback to initialize it when the popup opens. The recaptchaCallback JS is linked below:

    https://plugins.trac.ww.wp.xz.cn/browser/wpcf7-recaptcha/tags/1.4.9/assets/js/wpcf7-recaptcha-controls.js#L4

    Hopefully you’re able to get this working through your customizations.

    Plugin Author IQComputing

    (@iqcomputing)

    Hello,

    It appears there was a misunderstanding. The original description appeared to be regarding a 3rd party plugin and did not appear to have to do with Contact Form 7.

    Without seeing the page in question, or knowing the plugin which drives the popup, it’s difficult to address this kind of question. This plugin uses the recommend wp_enqueue_script which may load scripts into the header or footer depending. This means that if the popup is loading the content dynamically, via AJAX, that the ReCaptcha Script will not trigger.

    If the popup is loading inline, you can check the source to see if the google-recaptcha has been added. If you don’t see that in the source then it may indicate that the popup is incompatible with this plugin. If you’re familiar with PHP you may be able to use the following code to enqueue the script globally (or conditionally). We strongly recommend not doing the following if you’re unfamiliar with WordPress development.

    /**
    * Enqueue ReCaptcha Globally
    */
    function wpcf7_enqueue_recaptcha1748634272() {
    wp_enqueue_script( 'google-recaptcha' );
    }
    add_action( 'wp_enqueue_scripts', 'wpcf7_enqueue_recaptcha1748634272', 55 );

    The priority of 55 is important since this plugin does it’s enqueue at priority 50. Hopefully you’re able to resolve this issue with your popup but if there’s anything else we can help with please reply back to this thread with more information.

    Plugin Author IQComputing

    (@iqcomputing)

    Hello,

    This is something we have in the works. We plan to support both the Classic and Cloud approach to make this transition as easy as possible, defaulting to the Classic approach by default and allowing the user to switch to the Cloud approach if they choose to do so.

    As this is not yet implemented, we do recommend sticking to the Classic approach. We’ll keep this topic tagged and reply back to it once this new implementation is in place.

    Plugin Author IQComputing

    (@iqcomputing)

    @cmd4400 In our settings via Contact > reCaptcha version you’re able to select the Default (v3) or v2, but again I don’t think you can run both at the same time.

    One mistake I see many websites make is that they’ll have a Contact Form, but then also in the body of their content, header, or footer they will display their contact email address. Spam bots will usually scrape website content and parse out the email addresses to spam.

    It’s also worth noting that because of how ReCaptcha v3 works it does need to be functioning on the website for a certain amount of time before it can “hone in” on spam/bot like behavior.

    Finally, you could also give hCaptcha a try as an alternative to Google ReCaptcha.

    Hopefully, you’re able to find a solution to your spam issues, best of luck!

    Plugin Author IQComputing

    (@iqcomputing)

    @cmd4400 This is true, you cannot run both v2 and v3 versions of ReCaptcha at the same time. If I recall correctly, the scripts Google needs to run for the 2 reCaptcha versions conflict.

    Plugin Author IQComputing

    (@iqcomputing)

    Hello @joaopcos

    Whenever you edit a Contact Form, there’s a Messages tab. Toward the bottom of this list should be a couple “reCaptcha” inputs to change the error messages. If you’re developer-savvy, you could use the wpcf7_messages hook to update these messages throughout.

    You can view the codebase to see how we implement these messages via the same filter hook. These are the messages Contact Form 7 uses in the validation $_POST callback.

    Hopefully, using the above you’re able to resolve your issue. If not, please reply back and we can investigate this issue further.

    Plugin Author IQComputing

    (@iqcomputing)

    Hello,

    We do see on your website that the validation message is not translating correctly. That specific string is used 3 times throughout the system (1, 2, 3) – each time it’s sent through the translation functions and has the correct domain passed. We’ll have to investigate this further to see what exactly is going on. Possibly reaching out to the core Polyglots team for assistance.

    Once we have more information we’ll reply back to this thread and let you know.

    Plugin Author IQComputing

    (@iqcomputing)

    Hello,

    Looking at your posted URL and the Browser JavaScript Console, it looks like the API keys may be incorrect. Please review the Installation Guide and verify that your website domain is listed under the API key, that the Site Key and Secret Key are correct, and that you’ve set the ReCpatcha to be v2 under Contact > ReCaptcha Version. If you’ve verified all these settings and are still running into issues, try to change the ReCaptcha Source from google to recaptcha.net. This can be done under Contact > ReCaptcha Version.

    Hopefully with the above instructions you’re able to resolve your issue. Otherwise, you may reply back to this thread and we can assist further. Have a wonderful rest of your week!

    Plugin Author IQComputing

    (@iqcomputing)

    Could this be some kind of localized caching going on?

    We see the ReCaptcha in an Incognito (Private Browsing Window) in all 3 browsers (Chrome, Firefox, Edge) using the provided troubleshooting URL: /help/contact-us-recaptcha-troubleshooting-version/

Viewing 15 replies - 1 through 15 (of 378 total)