• I’m facing a nearly identical issue to this user here: https://wordpress.org/support/topic/first-payment-attempt-fails-everytime/

    To reproduce:

    1. Place any item in your cart
    2. Go through the checkout flow, select either pick-up or delivery
    3. Fill out all required fields
    4. Observe: how the Gift Card field, has a “Enter your gift card number” tooltop on click, and Credit card number does not
    5. Observe: Filling out the Card number field (when working/connected) will mask to the appropriate CC processor. 41… VISA | 34… AMEX
    6. Fill out Card number with placeholder card (4111 1111 1111 1111 – 11/26 – 111)
    7. Click place holder, and wait for page to reload
    8. Observe: how the Card number now produces a tooltip below
    9. Observe: how the card masking now work
    10. Observe: how the Card goes through far enough to tell you it’s an invalid card

    Context:

    I’ve done my best to rule out caching, by disabling litespeed and siteground caching modules. We’re not using Cloudflare or any other external CDN.

    This issue appears to be limited to anonymous users who do not yet have data in the session. I see a 304 request come in from https://web.squarecdn.com/1.83.4/single-card-element-iframe.html, from square.js as a logged in user, that I don’t see an anonymous.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Frank Remmy (woo-hc)

    (@frankremmy)

    Hi @mrobbe,

    Thanks for the incredibly detailed reproduction steps and the network request observation.

    I was able to reproduce the behavior on my end as well, the card type tooltip and masking only appear after the checkout reloads rather than on initial load for anonymous users. Here’s a screen recording of what I’m seeing: https://share.zight.com/Wnuv9xDJ

    That said, I also tested on my side with the latest version of the plugin and it’s working as expected there. I noticed you appear to be running an older version of Square: https://share.zight.com/DOuZyqkR

    Could you update to the latest version of the plugin and give it another try? There have been several fixes related to the Square card element initialization and anonymous session handling in recent releases, and it’s very possible this has already been addressed.

    If the issue persists after updating, please let us know and we’ll continue digging. Looking forward to your response.

    Thread Starter mrobbe

    (@mrobbe)

    @frankremmy Love the prompt response and insights. I’ll work on Corralling subscriptions, getting things updated, and report back for you and all other internet souls.

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    Thanks for the update, appreciate it

    Sure, take your time let us know what you find.

    Thread Starter mrobbe

    (@mrobbe)

    Was able to update most modules, all Woocommerce, Square. WordPress is at 6.9.4

    I was not able to (yet) update:

    • ACF Pro 6.3.11 installed
    • All-in-One WP Migration Multisite Extension 4.52 installed
    • Conditional Shipping Methods 1.3.23 installed
    • Elementor Pro 3.24.1 installed
    • Flexible Shipping Locations Add-on 2.3.25 installed
    • Flexible Shipping PRO 2.18.4 installed

    The bug persists.

    Base theme I have also left un-updated: Hello Elementor @ 3.1.1

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

You must be logged in to reply to this topic.