Hey @mobi5965 ,
Hope you are doing well!
The button on the single product pages is being defined in file includes\class-wc-gateway-amazon-payments-advanced.php
in the method WC_Gateway_Amazon_Payments_Advanced::init_handlers()
as add_action( 'woocommerce_single_product_summary', array( $this, 'maybe_separator_and_checkout_button_single_product' ), 30 );
So in your theme you could implement something like the following:
<?php
if ( function_exists( 'wc_apa' ) ) {
remove_action( 'woocommerce_single_product_summary', array( wc_apa()->get_gateway(), 'maybe_separator_and_checkout_button_single_product' ), 30 );
add_action( 'woocommerce_single_product_summary', array( wc_apa()->get_gateway(), 'maybe_separator_and_checkout_button_single_product' ), 60 );
}
Where the 60, would mean that it would be printed later but within the same hook woocommerce_single_product_summary. You could decrease or increase that number as he sees fit. You could also choose to use another hook instead of the woocommerce_single_product_summary to output the button.
Let me know if that helps.
Best,
Christian