Name Your Price v3.7.3 – PayPal Payments Smart Buttons Fix

Name Your Price 3.7.3 is a one-fix release. The compatibility module for WooCommerce PayPal Payments, which keeps PayPal’s smart buttons off Name Your Price product pages, stopped loading when PayPal Payments 4.0.0 removed the class that Name Your Price checked for before including it. 3.7.3, released the next day, checks for a class present in every PayPal Payments version, so the buttons stay hidden on those pages and customers set their price before they reach PayPal at checkout. There is no database update with this release.

Fixes

PayPal Payments smart buttons stay off Name Your Price product pages

WooCommerce PayPal Payments can render its smart buttons and Pay Later messaging on the single product page, so a customer can pay without visiting the cart. On a Name Your Price product there is no price until the customer types one, so those buttons would start a PayPal order with no amount. Name Your Price has carried a compatibility module for this since 3.3.10: it answers PayPal Payments’ woocommerce_paypal_payments_product_supports_payment_request_button filter with false for any Name Your Price product, or variable product with a Name Your Price variation, and PayPal Payments then skips the buttons and messaging on that page.

Name Your Price only includes that module when PayPal Payments is active, and the check looked for the class WooCommerce\PayPalCommerce\PluginWooCommerce PayPal Payments 4.0.0, released on 30 March 2026, removed that class, so from that update on the module was skipped and PayPal’s buttons came back on Name Your Price product pages. 3.7.3, released on 31 March 2026, checks for WooCommerce\PayPalCommerce\PluginModule instead, a class present in PayPal Payments from 1.x through the current 4.x releases, so the module loads on PayPal Payments 4.0 and on older versions alike. Customers on Name Your Price products enter their price, add to cart and pay with PayPal at checkout as normal. PayPal’s buttons on your other products are unaffected.

Why this matters

  • No PayPal buttons on a product that has no price yet, so no PayPal orders started with a missing amount
  • Customers set their price first and pay with PayPal at checkout as before
  • PayPal smart buttons and Pay Later messaging on your other products stay exactly as configured
  • Loads on WooCommerce PayPal Payments 4.0 and later as well as older releases, with no settings to change

Similar Posts