Took me a few days to figure this out and I know I came across someone else asking about it. Thought I would share and save someone the time. So I created a custom column in the Admin Order List using booster with nothing in it. Using the field name, I then used the following function to add the url to the admin order screen.
//Display details in booster created customer column #4, on order admin list (populate the column)
function action_manage_shop_order_posts_custom_column( $column, $post_id ) {
// Compare
if ( $column == ‘wcj_orders_custom_column_4’ ) {
// Get order
$order = wc_get_order( $post_id );
// Get url
$url = $order->get_checkout_payment_url();
// Output
echo ‘‘ . esc_html__( ‘Payment Link’, ‘woocommerce’ ) . ‘‘;
}
}
add_action( ‘manage_shop_order_posts_custom_column’ , ‘action_manage_shop_order_posts_custom_column’, 10, 2 );