Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter yamatomooo

    (@yamatomooo)

    Hi Frank,

    Thank you very much for the detailed investigation and clarification.

    I appreciate you escalating this internally to the development team.

    I may be slower to respond over the next couple of days due to work, but I will continue to provide any additional information if needed.

    Thank you again for your support.

    Thread Starter yamatomooo

    (@yamatomooo)

    Hi Frank,

    Thank you for checking the logs.

    I checked the PHP version settings on XSERVER.

    PHP 8.4.20 is available, but XSERVER currently marks PHP 8.3.30 as the recommended version.

    Also, PHP versions are configured per domain on XSERVER, so changing PHP to 8.4 would affect the production domain as well. Because this is a live WooCommerce site, I would prefer not to switch the production environment to PHP 8.4 without confirming compatibility first.

    Would it also be possible to investigate the deprecation notice on the WooCommerce Square side?

    The relevant notice is:

    Creation of dynamic property Automattic\WooCommerce\Admin\Overrides\Order::$square_version is deprecated - Gateway.php line 435

    Please let me know if there is any safer way to test this without changing the production PHP version.

    I may be slower to respond over the next couple of days due to work, but I will continue to provide additional information as needed.

    Thank you.

    • This reply was modified 2 weeks ago by yamatomooo.
    Thread Starter yamatomooo

    (@yamatomooo)

    Hi Frank,

    Thank you for your confirmation.

    I understand that the issue could not be reproduced in a clean environment using Square sandbox test cards.

    Regarding your requested items, please see the following:

    • System Status Report / WooCommerce Square logs
    The previous QuickForget link had expired, so I uploaded the files again using a new link:
    https://quickforget.com/s/8386518c387f816f0c305ba7c3f0817cc17c7e2d5fc20314

    • VISA card issuing country
    All failing VISA cards are Japanese-issued cards.

    • curl timing test
    I ran a curl timing test from the XSERVER environment against:
    https://connect.squareup.com

    Result:
    DNS:0.189 Connect:0.196 SSL:0.244 TTFB:0.368 Total:0.368

    The response time appears normal and does not seem to indicate significant latency.

    Thank you again for your assistance, and I appreciate your continued support.

    I may be slower to respond over the next couple of days due to work, but I will continue to provide additional information as needed.

    • This reply was modified 2 weeks ago by yamatomooo.
    Thread Starter yamatomooo

    (@yamatomooo)

    Hi LovingBro,

    I uploaded the requested materials to the following URL:

    https://quickforget.com/s/8135987a9abaeacd600f3806066155f6d91317defe3ed72e

    Uploaded contents:

    • WooCommerce System Status Report
    • WooCommerce / Square related logs
    • Screenshots from the VISA 3D Secure authentication failure flow

    In addition, I performed further isolation tests and would like to share the results.

    ■ Disabled all plugins except WooCommerce and WooCommerce Square
    → The same error still occurred.

    ■ Switched to the default theme “Twenty Twenty Four”
    → The same error still occurred.

    ■ Tested in Incognito / Private browser mode
    → The same error still occurred.

    ■ Tested on mobile browsers
    → The same error also occurred on mobile browsers.

    ■ Tested with multiple VISA cards from different banks
    → The same error occurred with multiple VISA cards.

    ■ Whether console errors appear during the 3DS popup / authentication process
    → Console errors were also displayed even when the payment completed successfully.

    Could you please review the above information?

    Thank you.

    Thread Starter yamatomooo

    (@yamatomooo)

    Hi @lovingbro,

    Thank you for your reply.

    I will prepare the WooCommerce System Status Report and relevant logs, with sensitive information removed, and share them shortly. Please allow me some time.

    Here is some additional information based on our current testing:

    • The issue occurs mainly on desktop Chrome browsers.
    • JCB cards work correctly.
    • MasterCard also works correctly.
    • Only VISA cards sometimes fail during the 3D Secure authentication flow.
    • The same VISA card has successfully completed payment on mobile browsers in some cases.
    • Similar behavior has been observed with multiple VISA cards.
    • In the Square Dashboard, failed VISA transactions are recorded as “Not Authorized”.
    • The WooCommerce checkout API response contains:
      "payment_status": "failure"
      "payment_details": []
    • The site response header only includes:
      Content-Security-Policy: frame-ancestors 'self';
      so it does not appear that our site is directly blocking Square CDN resources.

    We also found additional behavior during testing.

    When testing on another desktop PC environment, initially the Square card input fields did not appear at all, and the following error appeared in the browser console:

    Web Payments SDK was unable to be initialized in time

    However, after some time, the card fields appeared correctly and a VISA payment was completed successfully.

    Immediately after that successful transaction, we repeated the test using the same VISA card, same browser, and same PC environment, but the payment failed again.

    During the failed attempt, the VISA 3D Secure authentication screen (one-time password challenge) displayed correctly and authentication completed successfully, but the following console errors appeared afterward:

    TokenizationError: Tokenization has failed
    An error occurred while verifying the buyer

    Based on this behavior, it appears the issue may not occur before the 3D Secure challenge starts, but rather during the buyer verification / tokenization process afterward.

    We also confirmed that the CSP / font-related console warnings appear even during successful transactions.
    Therefore, those warnings themselves may not be the direct cause of the payment failures.

    I will share the logs and screenshots once they are ready.

    Thank you.

    Thread Starter yamatomooo

    (@yamatomooo)

    ishitaka

    ご教授いただきました内容で検証したところ、バッチリ設定できました!
    本当に助かりました。ありがとうございました。

    今後とも、よろしくお願いいたします!

    Thread Starter yamatomooo

    (@yamatomooo)

    早速のご回答、誠にありがとうございます!

    近日中に検証して、またご連絡させていただきます。

    ありがとうございます!

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