Pay buttons dont show in order pay page
-
For some reason, i cannot make the apple/google pay button to show in the order pay page (checkout/order-pay/).
im using this snippet to move the pay button in the checkout page and it works well for the regular checkout page, but the buttons dont show in the order pay page.
if ( class_exists( 'WC_Stripe_Payment_Request' ) ) { remove_action( 'woocommerce_checkout_before_customer_details', array( WC_Stripe_Payment_Request::instance(), 'display_payment_request_button_html' ), 1 ); remove_action( 'woocommerce_checkout_before_customer_details', array( WC_Stripe_Payment_Request::instance(), 'display_payment_request_button_separator_html' ), 2 ); add_action( 'woocommerce_review_order_before_payment', array( WC_Stripe_Payment_Request::instance(), 'display_payment_request_button_html' ), 1 ); }
Can you help with this? Thank you in advance
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Pay buttons dont show in order pay page’ is closed to new replies.