Use Appointment CONFIRMED STATUS to move Woo Commerce Product Page to Checkout

I’m using Woo Commerce product pages with the following Appointments+ short code;
[app_monthly_schedule worker="3" service="328"][app_pagination month="1" step="1"][app_confirmation title="Check your details" button_text="Click Here to Complete"]

This works well, the user can book an appointment then gets returned back to the Woo Commerce product page.
The user can then exit the product page or press CHECKOUT, which is what I would prefer them to do.

A better solution which is my question here, would be to use the Appointments+ - Appointment CONFIRMED STATUS to move the product page to Checkout.

The current code in Woo Commerce Single Product is as follows:

<form class="cart" method="post" enctype='multipart/form-data'>
	 	<?php do_action( 'woocommerce_before_add_to_cart_button' ); ?>

	 	<input type="hidden" name="add-to-cart" value="<?php echo esc_attr( $product->id ); ?>" />

	 	<button type="submit" class="single_add_to_cart_button button alt"><?php echo esc_html( $product->single_add_to_cart_text() ); ?></button>

		<?php do_action( 'woocommerce_after_add_to_cart_button' ); ?>
	</form>

Basically the Button is waiting for the User to press add to cart.

What I would like is possibly an IF ELSE statement but not sure how to utilize the Appointment CONFIRMED STATUS

IF Appointment CONFIRMED STATUS is true then
go to Checkout
ELSE

<form class="cart" method="post" enctype='multipart/form-data'>
	 	<?php do_action( 'woocommerce_before_add_to_cart_button' ); ?>

	 	<input type="hidden" name="add-to-cart" value="<?php echo esc_attr( $product->id ); ?>" />

	 	<button type="submit" class="single_add_to_cart_button button alt"><?php echo esc_html( $product->single_add_to_cart_text() ); ?></button>

		<?php do_action( 'woocommerce_after_add_to_cart_button' ); ?>
	</form>

END IF

Any help ideas appreciated