• Resolved brettmhoffman

    (@brettmhoffman)


    Just noticed my product pages were throwing an error and failing to load. The WooCommerce logs were showing this error with the Square plugin’s Digital Wallet feature when the product stock is currently 0:

    CRITICAL Uncaught Exception: You cannot add that amount of “\PRODUCT NAME]”; to the cart because there is not enough stock (0 remaining). in /var/www/tudies/public_html/wp-content/plugins/woocommerce-square/includes/Gateway/Digital_Wallet.php:349

    Turning off Digital Wallet under the Payments settings made the product pages load again without issue.

    Just wanted to pass this along for review.

Viewing 2 replies - 1 through 2 (of 2 total)
  • anastas10s

    (@anastas10s)

    Hi there folks ??

    Just wanted to share an update, since our developers are working on a fix, but there’s no timeframe for the release yet.

    Meanwhile, disabling Digital Wallets can work as a workaround, since downgrading to older versions doesn’t help. So, disabling digital wallets is the best workaround for now.

    Feel free to keep an eye on this page, for the changelog in the next release. Thank you.

    Plugin Support Douglas I. a11n

    (@imodouglas)

    Hi all,

    This is to notify you that this issue has been fixed and released in version 4.3.1. Please update your Square extension to resolve the issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Digital Wallet Critical Error when stock is 0’ is closed to new replies.