Class WC_Stripe_Apple_Pay
-
Hi,
What is the new version if this class
WC_Stripe_Apple_Pay
I need to update this code :
remove_action( 'woocommerce_checkout_before_customer_details', array( WC_Stripe_Apple_Pay::instance(), 'display_apple_pay_button' ), 1 ); remove_action( 'woocommerce_checkout_before_customer_details', array( WC_Stripe_Apple_Pay::instance(), 'display_apple_pay_separator_html' ), 2 ); /* * Adds Apple Pay button on the checkout page, below customers details, and inverse button/separator order. */ add_action( 'woocommerce_checkout_after_customer_details', array( WC_Stripe_Apple_Pay::instance(), 'display_apple_pay_separator_html' ), 1 ); add_action( 'woocommerce_checkout_after_customer_details', array( WC_Stripe_Apple_Pay::instance(), 'display_apple_pay_button' ), 2 );
Thank You,
Laurent
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘Class WC_Stripe_Apple_Pay’ is closed to new replies.