Magento 2 FedEx Dry Ice REST API Extension
Real‑time FedEx rates for cold‑chain shipments. The module fetches transit times first, calculates the exact dry‑ice needed per service, splits the order into compliant boxes, adds per‑box cost and optional Express dry‑ice surcharge, and returns per‑service rates so customers can pick the fastest or most economical option.
Ship frozen and perishable goods with confidence. ToweringMedia FedEx Dry Ice integrates Magento 2 with the FedEx REST API to deliver accurate, compliant shipping for cold‑chain orders. The extension calculates dry‑ice needs from real transit times, splits heavy orders into legal boxes, and presents clear per‑service prices and ETAs so shoppers can choose the best option.
How it works
- Transit first: The module makes a FedEx API call requesting transit times for the allowed services, using an initial split of the order weight.
- Dry‑ice by service: For each returned service, it maps transit days (e.g., 1, 2, 3, 4, 5) and applies the configured dry‑ice weight per package for that duration.
- Recalculate weight and boxes: It adds the dry‑ice weight to the shipment, then recomputes how many packages are required to keep each under the configured max package weight; weights per package are adjusted exactly.
- Per‑service rate call: With the final per‑package weight, it requests the rate for that specific service (account/list), ensuring pricing matches the real shipment.
- Fees and filtering: Adds the per‑box cost to every package and (optionally) an Express dry‑ice surcharge to air services only; filters out services exceeding the “Max Transit Days.”
- Clear titles at checkout: Method titles include transit time, total added dry ice, number of boxes, total shipment weight, and package count (e.g., “(2 business days, +15 lbs dry ice, 1 box, 75 lbs total)”).
Why it’s better
- Accurate pricing: Rates are fetched using the actual per‑service weight after dry‑ice and box count are calculated.
- Compliant packaging: Automatic splitting keeps each box under your max package weight (includes dry ice).
- Right service for the distance: Close destinations surface Ground as the value option; longer distances suggest Express automatically.
- Admin control: Enable only the FedEx services you want to sell; set dry‑ice weights per transit day, per‑box cost, optional Express dry‑ice surcharge, and max transit days.
- Operational visibility: Optional debug logging to
var/log/fedex_dry_ice.log.
Configuration highlights
- API: OAuth2 Client ID/Secret, Account Number; Sandbox toggle (disable Sandbox for production).
- Services: Multiselect of Ground, Home Delivery, Express Saver, 2Day, 2Day AM, Standard/Priority/First Overnight.
- Dry‑ice rules: Per‑day weights (1–5 day), Max Package Weight, Show Transit Time.
- Costs: Per‑box cost (applied to every package) and optional per‑package Express dry‑ice surcharge (air only).
Ideal for
Meat and seafood, ice‑cream and frozen foods, medical and lab supplies, and any perishable ecommerce with dry‑ice requirements.
| Edition | Community |
|---|