canBuyShipment hook