I have used “payment_button” for “Buy Now”
{% form ‘product’, product %}> {{ form | payment_button }}> {% endform %}
Issue:
When the user lands on our store and tries to buy a product and clicks the “Buy Now” button. But the product is not yet in the cart, therefore we were not able to show the desired shipping method to the user. When a user has already entered address details and has clicked on “Buy Now”, we could show desired shipping methods.
Reason:
When first time user click on “Buy Now” button. Product is not added in cart.js.