woocommerce / woocommerce-gateway-stripe

The official Stripe Payment Gateway for WooCommerce
https://wordpress.org/plugins/woocommerce-gateway-stripe/
236 stars 206 forks source link

Use correct class name for Link when disabling it for Checkout editor page #3547

Closed senadir closed 2 weeks ago

senadir commented 1 month ago

This is a follow up to https://github.com/woocommerce/woocommerce-gateway-stripe/pull/3516 in which a refactor I made at last moment made that PR useless. This PR fixes that.

Testing instructions

  1. Ensure Link is working fine.
  2. In Checkout editor page, Link shouldn't show as not compatible.
senadir commented 2 weeks ago

Yes I wasn't sure what's the different tbh and Link doesn't seem to have the method title, just the title. For our side, we try our best to find a title to show.