Get in touch
  • OpenCart
  • Shipping
  • v1.0.2

Nova Post Global for OpenCart — international shipping rates at checkout

Nova Poshta international shipping for OpenCart 4, 3 and 2.3: the price abroad is calculated at checkout through the Nova Post Global API from the cart weight and size.

Download Free
Pro · lifetime licence The more sites, the less each one costs
Compatibility
OpenCart 2.3.0.x, 3.0.2 – 3.0.5.0 and 4.0.2 – 4.1.x
Version
v1.0.2 (OpenCart 4)
v1.0.2 (OpenCart 3.x)
v1.0.2 (OpenCart 2.3)
Licence
two sites, lifetime
Trial
7 days, no card, one per site
Or all 173 Pro modules with All Access — 4 990 ₴ / year

What Free has,
and what Pro adds

The free version works with no time limit. Pro adds the rest of the features in the table.

Feature Free Pro
Nova Post Global rates abroad in the shipping step, through the official NPG API ✔ ✔
Calculated from the actual weight and size of the cart ✔ ✔
Global Delivery Econom (code 28) or another service of your choice ✔ ✔
Hidden for Ukraine and countries outside the tariff ✔ ✔
Default weight and size for products with empty fields ✔ ✔
Converted to the store currency at the OpenCart rate ✔ ✔
Rate caching and a flat price when the API fails ✔ ✔
Connection test that explains NPG codes ✔ ✔
Geo zone, tax class, sort order ✔ ✔
Builds for OpenCart 4.x, 3.x and 2.3 ✔ ✔
Delivery to a Nova Post branch abroad — ✔
Markup on the rate: a percentage and a fixed amount — ✔
Free international shipping above an order total — ✔
Heavy orders split into several pieces within NPG limits — ✔

What it looks like

Nova Post Global settings in the OpenCart 4 admin
OpenCart 4.1 admin: API access, connection test, parcel settings and Pro options.

Key points

What the buyer sees

The shipping step shows a “Nova Post Global — shipping abroad” method with a price in the store currency.

What the admin gets

One settings page: API login and password (the password is stored encrypted), production or test environment, service code, weight and size for products with empty fields, the per-piece limit, behaviour when the API fails, caching and an error log, geo zone, tax class and sort order.

The trial starts when you ask

A fresh install is the free version, nothing switches on by itself. The “Try Pro for 7 days” button → e-mail → the key right in the window and by e-mail.

One key — two sites

Moving the store? Unbind the licence on the old domain and activate it on the new one yourself. For studios — keys for 5 or 25 sites, or unlimited.

Technical requirements

  • OpenCart 4.0.2 – 4.1.x, 3.0.2 – 3.0.5.0 or 2.3.0.x — a separate build for each line.
  • PHP 8.1+ for OpenCart 4, 7.0+ for 3.x and 2.3; the cURL extension.
  • A Nova Post Global API login and password issued to your company. The regular Nova Poshta Ukraine API key doesn’t work for international rates.
  • Your hosting must allow outgoing connections to port 8243.

Version history

v1.0.2 Current

Fixed a licence module error on the OpenCart storefront.

v1.0.1

The API password is encrypted with AES-256-CBC plus HMAC instead of the old method that hosting antivirus scanners flagged and deleted.

v1.0.0 First release

For OpenCart 4.x, 3.x and 2.3: Nova Post Global rates at checkout through the API and a connection test that explains NPG codes; in Pro, branch delivery abroad, markup, free shipping above…

Frequently bought with Nova Post Global for OpenCart

4 modules in one order — 40% cheaper than separately

“Store starter” bundle Nova Post Global Nova Poshta Premium LiqPay Telegram notifications and Viber/SMS for customers Need more — all 173 modules in All Access for 4 990 ₴.
3 590 ₴ lifetime instead of 5 960 UAH bought separately
Buy the bundle →

Full module description

Nova Post Global for OpenCart puts Nova Poshta international shipping with a price right into checkout. A shopper from Germany, Poland or the US enters their address and immediately sees the cost of delivery abroad, instead of asking a manager “how much to Berlin?”. The rate comes from the official Nova Post Global API, calculated from the weight and size of that exact cart. Three builds: OpenCart 4.x, 3.x and 2.3.

What the buyer sees

The shipping step shows a “Nova Post Global — shipping abroad” method with a price in the store currency. It appears only for countries the NPG tariff covers and only for addresses outside Ukraine — Ukrainian buyers keep seeing regular Nova Poshta. If NPG doesn’t ship to the country (CALC004) or the weight is outside the tariff, the method simply doesn’t appear.

What the admin gets

One settings page: API login and password (the password is stored encrypted), production or test environment, service code, weight and size for products with empty fields, the per-piece limit, behaviour when the API fails, caching and an error log, geo zone, tax class and sort order. The “Test connection” button explains in plain words what’s wrong: a wrong password, a closed port 8243 or a country outside the tariff.

How it works, step by step

  1. The buyer adds products to the cart and enters an address abroad.
  2. The module packs the cart as one box: total actual weight, total volume, the longest item as the longest side. Store weight and length units are converted to kilograms and centimetres through the OpenCart core.
  3. The request goes to the Nova Post Global API (IEW/publicCalculateCost) — Global Delivery Econom, the same product as in the public NPG calculator.
  4. NPG returns the price in UAH; the module converts it to the store currency at the rate from “Localisation → Currencies”, and Pro adds a markup or makes shipping free above a total.
  5. The price is cached, so the same cart to the same country doesn’t call the API on every checkout refresh.

Heavy orders (Pro). Econom carries one piece up to 68 kg, and to most countries only rates up to ~30 kg paid weight. Without Pro such an order gets no rate. Pro splits it into several identical pieces — by actual weight, and on a CALC005 answer by paid weight (actual or volumetric L×W×H/5000) — and shows the number of pieces in the method name.

Under the hood

  • A regular OpenCart shipping extension, with no ocmod patches and no core file changes.
  • An HTTP 424 answer with CALC004/CALC005/CALC006 is treated as a tariff answer and cached; network and authorisation errors aren’t cached, so the next request tries again.
  • The API password is encrypted in the database: a DB dump won’t give it away in plain text.
  • The same licence client as other CatCode modules: a 7-day trial.

How to install

  1. Upload the build for your version via “Extensions → Installer”: cc_npglobal.ocmod.zip for OpenCart 4.x, cc_npglobal-oc3-1.0.0.ocmod.zip for 3.x, cc_npglobal-oc2-1.0.0.ocmod.zip for 2.3.
  2. “Extensions → Extensions → Shipping”: install “Nova Post Global” and open its settings.
  3. Enter the API login and password, enable the module, save and press “Test connection”.
  4. Place a test order with an address abroad and check that the price appears in the shipping step.

Questions
about the module

Didn't find the answer? Message us on Telegram and we'll reply within a business day.

@catcode_support Setup, compatibility, activation
Will my Nova Poshta API key work?

No. International rates come from a separate Nova Post Global API with its own login and password. Ask your NPG manager for access.

Why doesn't the method appear for some countries?

NPG answered that the service doesn't cover that country (CALC004) or that the weight is outside the tariff (CALC005). Pro handles heavy orders.

Does the licence need renewing?

No. For OpenCart the licence is perpetual: one payment, and the Pro features stay with you.

Not quite what you are looking for?

We build custom modules for WordPress, WooCommerce, OpenCart and Shopify. Tell us about the task and we'll prepare an estimate.

Order a custom module