Afterpay | Site Banner Q3 2026 (US version)

Added by Colleen Harrison on August 11, 2026   Contractual placement to promote Afterpay in supported geos.   Creative: use Cash App Afterpay logo (not original mint version) in the US

Product Icon

Square for WooCommerce

Woo's preferred POS partner, Square, makes online and in-person payments seamless with transparent rates, fast deposits, and integrated inventory management.

Apple Pay Button domain registration script never fires

Inside woocommerce-square/includes/Gateway/Digital_Wallet.php the ‘apple_pay_domain_registration’ callback that is supposed to happen after init never gets fired.

/**
* Setup the Digital Wallet class
*
* @since 2.3
*/
public function __construct( $gateway ) {
$this->gateway = $gateway;

if ( ‘yes’ === $gateway->get_option( ‘enabled’, ‘no’ ) && $this->is_digital_wallet_enabled() ) {
add_action( ‘wp’, array( $this, ‘init’ ) );
add_action( ‘admin_notices’, array( $this, ‘admin_notices’ ) );
}

if ( is_admin() && ( $gateway->get_plugin()->is_gateway_settings() || $gateway->get_plugin()->is_plugin_settings() ) ) {
add_action( ‘init’, array( $this, ‘apple_pay_domain_registration’ ) ); // <– NEVER FIRES
}

If you change the hook to be 'admin_notices' it works just fine…

Author

Petar Cvitanusic

Current Status

Open

Last updated: April 5, 2023

0 comments

Log in to comment on this feature request.

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.