check shipping amount in woocommerce_after_checkout_validation?

I am using a third-party shipping plugin. Sometimes, this plugin somehow acts up, and only charges the client something like 1$.

I’d like to add a sanity check before the order is accepted, that the shipping amount should at least be e.g. 3$.

It seems that I should hook into woocommerce_after_checkout_validation to do this there.

But the shipping amount doesn’t seem to be in $_POST – the only thing of interest is maybe ‘shipping_method’, but there’s no amount to be seen (i just used flat rate as a test):

How can I look up how much shipping is planned to being charged on the order that has just been submitted?

Xin chào các bạn và quý Thầy Cô. Hãy nhập từ khóa mình muốn vào ô tìm kiếm trên Website để tìm kiếm mọi thứ hoặc trên google các bạn hãy nhập từ khóa + dethihsg247.com để tìm kiếm các bài viết của chúng tôi nhé.
  • Hiện tại chúng tôi có hơn 25 nghìn bài văn mẫu các thể loại.
  • Kho tài liệu, đề thi học sinh giỏi các lớp vô cùng phong phú.
  • Mỗi ngày cập nhật hơn 100 đề thi chất lượng từ các website bán tài liệu lớn.

Tải đề thi VIP với giá siêu rẻ tại Vip.Dethihsg247.Com