Proxybunker
Well-known member
Hi im looking to see if anyone can help I want to move the apple pay button from the top of the checkout to the bottom see image
in the second image is the two places that I want to move the button to
this is the code I have tried but has not worked
any help will be much appreciated

in the second image is the two places that I want to move the button to
this is the code I have tried but has not worked
any help will be much appreciated
PHP:
/*
* Removes Apple Pay button on the checkout page.
*/
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 );

