Include contractual conditions that specify pre-shipment inspection by independent authority.
Finding out what cargo has been shipped after the vessel has sailed is folklorically after the ship has sailed wouldn't you say?
Inspection upon landing prior to payment may also be appropriate.
Contact your government agency responsible for import control.
Do not enter into Irrevocable Letters of Credit unless the exporter is beyond reproach.