Place the checkout button after the order details
Playing around with the natural hierarchy of page elements confuses users, resulting in them leaving without buying. Allow users to review the order before proceeding to the checkout and place the checkout button at the bottom of the page. This way, you support intuitive user behavior to make a final check if everything is fine or if any further modifications are needed.