Linux 软件免费装
Banner图

WPRuby Shipping Rates for Canada Post and WooCommerce

开发者 waseem_senjer
wprubyplugins
更新时间 2026年11月28日 18:38
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

shipping rates canada post canada woocommerce shipping shipping calculator

下载

1.0.0 1.0.1

详情介绍:

Show your customers live Canada Post shipping rates at checkout, quoted from your own Canada Post account. Rates come from Canada Post's Rating API for every order, so they follow the weight and size of the cart and the customer's address. Features Need more? Upgrade to Canada Post Pro Canada Post Pro adds everything after checkout: Your shipping zones keep their settings when you upgrade. Links

安装:

From your WordPress dashboard
  1. Go to Plugins → Add New.
  2. Search for "WPRuby Shipping Rates for Canada Post".
  3. Click Install Now, then Activate.
After activation
  1. On the Canada Post Developer Portal, create an app and add the Rating API product to it.
  2. In WooCommerce → Settings → Shipping → Canada Post, enter the app's API key and secret, your customer number and your ship-from postal code. Choose whether it's a Production or a Test app, then save.
  3. Click Test connection. It asks Canada Post for a Regular Parcel rate from your postal code to itself.
  4. Go to WooCommerce → Settings → Shipping, edit a shipping zone (for example "Canada"), add the Canada Post method and choose its services.
Products need a weight for accurate rates, and a size if Canada Post bills your parcels by volume.

屏幕截图:

  • Choosing and renaming the services a shipping zone offers.
  • A Canada Post rate with its delivery estimate at the block checkout.

升级注意事项:

1.0.1 Adds information about Canada Post Pro to the settings screens. No changes to rates. 1.0.0 First release.

常见问题:

What do I need from Canada Post?

A Canada Post business account (Solutions for Small Business or a commercial contract) with a customer number, and an app on the Canada Post Developer Portal with the Rating API product. The app gives you an API key and secret.

Why don't I see any Canada Post rates at checkout?

Check that:

  • the API key, secret and customer number are saved, and Test connection succeeds;
  • the zone that matches the customer's address has the Canada Post method, with at least one service ticked for that destination;
  • the address has a postal code (Canada) or ZIP code (US);
  • the app is a Production app: rates from a Test app are shown to shop managers only.
Turn on Debug mode in the Canada Post settings to see Canada Post's error on the cart and checkout (shop managers only) and in WooCommerce → Status → Logs.

Are the rates before or after tax?

Canada Post's price includes GST/HST/PST. When the zone's tax status is "Taxable", the plugin removes Canada Post's tax and WooCommerce charges your own tax on shipping. When it's "None", customers pay Canada Post's price including tax.

My store isn't in Canadian dollars.

Canada Post quotes in CAD. Set the CAD exchange rate in the Canada Post settings, and rates are multiplied by it.

Can I print shipping labels?

Not with the free version. Canada Post Pro prints labels from the order screen, in bulk, with manifests, tracking and returns.

How do I upgrade to Pro?

Install and activate Canada Post Pro. While Pro is active, this free plugin stops running, and Pro uses your existing Canada Post shipping zones. Enter your API key and secret in Pro, then deactivate and delete the free plugin.

Can I keep the API key out of the database?

Yes. Define WPRUBY_CPS_API_KEY and WPRUBY_CPS_API_SECRET in wp-config.php and the settings fields are locked.

更新日志:

1.0.1 1.0.0