Magento 2 / Adobe Commerce

A native shipping carrier for Magento 2.4+ and Adobe Commerce — drop in the Composer package and live rates appear at checkout.

Magento 2 Extension

Live rates, the Magento-native way

The Nysa_ShipRateAPI extension adds ShipRateAPI as a native shipping carrier. At checkout, Magento calls the extension’s collectRates() method, which builds a payload from the cart and destination, POSTs it to the ShipRateAPI API server-side, and maps the response back to Magento rate objects — all without the API key ever reaching the browser.

Native carrier integration

Built on Magento’s AbstractCarrier — ShipRateAPI appears as a standard shipping method at checkout with no theme edits.

Encrypted credentials

Your API key is stored encrypted in core_config_data and used server-side — it never reaches the browser.

EAV-based tag mapping

Derive ShipRateAPI routing tags from any product attribute with configurable mapping rules — no per-product editing needed.

Configurable endpoint

The full API endpoint URL is stored in config, so version upgrades are a settings change rather than a code release.

Install via Composer

Drop the package into any Magento 2.4+ or Adobe Commerce installation and enable it:

composer require nysa/shiprate
bin/magento module:enable Nysa_ShipRateAPI
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:clean

Then configure under Stores → Configuration → Sales → Shipping Methods → ShipRateAPI Live Rates.

Requirements

  • Magento 2.4+ / Adobe Commerce 2.4+
  • PHP 8.1 or higher
  • Composer 2

Two ways to tag products

Tags are sent per line item and control carrier routing in the ShipRateAPI admin. Assign them directly, or derive them from existing attributes in bulk.

Layer 1 — Direct tags

The extension installs a shiprate_tags attribute on the product entity. Edit a product, open the ShipRateAPI tab, and enter a comma-separated list:

cold-storage, fragile, medicine
Layer 2 — Attribute mapping rules

The Attribute Tag Mapping table derives tags from any existing EAV product attribute without editing each product. Each rule matches an attribute code with an operator (=, !=, contains) and value, then appends a ShipRateAPI tag. Tags from both layers are merged and deduplicated before send.

Set up the Magento 2 extension

The developer guide covers installation, admin configuration, and product tagging in full.

Read the setup guide View on GitHubView pricing