Code

Discussion on Purolator WooCommerce Shipping Plugin for Rates and Tracking

Discussion on Purolator WooCommerce Shipping Plugin for Rates and Tracking

Cart 481 sales

truemedia supports this item

Supported

215 comments found.

Can you please help me to setup this plugin. There is no guide where i can find al the details for production credentials. Its long time i am not even able to use this plugin.

Thanks! The documentation for this plugin is at this link although things have changed a little. You still need to go to Purolator and sign up for a developer account and then request Production credentials. Then you should be able to add the credentials (api user and api key) to the plugin’s settings. All the best.

We have a customer using your plugin, and it throws a fatal error in PHP 8.4 and WordPress 6.8, but downgrading to PHP 8.1 seems to fix it:

PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool given in /public_html/wp-content/plugins/woocommerce-purolator-webservice/framework/packservice.php:109 Stack trace: #0 /public_html/wp-content/plugins/woocommerce-purolator-webservice/framework/packservice.php(82): purowebservice_packservice->boxpack(Array, false, Array) #1 /public_html/wp-content/plugins/woocommerce-purolator-webservice/framework/shippingmethod.php(1629): purowebservice_packservice->productpack(Array, false, Array, 'boxpack3d') #2 /public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-shipping-method.php(259): purowebservice_shippingmethod->calculate_shipping(Array) #3 /public_html/wp-content/plugins/woocommerce/includes/class-wc-shipping.php(348): WC_Shipping_Method->get_rates_for_package(Array) #4 /public_html/wp-content/plugins/woocommerce/includes/class-wc-shipping.php(260): WC_Shipping->calculate_shipping_for_package(Array, 0) #5 /public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1454): WC_Shipping->calculate_shipping(Array) #6 /public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(347): WC_Cart->calculate_shipping() #7 /public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(858): WC_Cart_Totals->get_shipping_from_cart() #8 /public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(152): WC_Cart_Totals->calculate_shipping_totals() #9 /public_html/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php(142): WC_Cart_Totals->calculate() #10 /public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1423): WC_Cart_Totals->__construct(Object(WC_Cart)) #11 /public_html/wp-content/plugins/woocommerce-square/includes/Gateway/Digital_Wallet.php(401): WC_Cart->calculate_totals() #12 /public_html/wp-content/plugins/woocommerce-square/includes/Gateway/Digital_Wallet.php(132): WooCommerce\Square\Gateway\Digital_Wallet->get_payment_request_for_context('cart') #13 /public_html/wp-includes/class-wp-hook.php(324): WooCommerce\Square\Gateway\Digital_Wallet->init(Object(WP)) #14 /public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #15 /public_html/wp-includes/plugin.php(565): WP_Hook->do_action(Array) #16 /public_html/wp-includes/class-wp.php(835): do_action_ref_array('wp', Array) #17 /public_html/wp-includes/functions.php(1342): WP->main('') #18 /public_html/wp-blog-header.php(16): wp() #19 /public_html/index.php(17): require('/var/www/dd3d8c...') #20 {main} thrown in /public_html/wp-content/plugins/woocommerce-purolator-webservice/framework/packservice.php on line 109


Do you have an ETA for a fix that will be posted on CodeCanyon?

Thanks for letting us know. This will likely be fixed if you were to save the settings again. But we will publish a code update to make sure this error does not occur. Thanks, we will publish it soon. All the best

Subject: Inquiry About Purolator Plugin Integration with WooCommerce

Hello,

We’re looking to streamline our shipping process and would like to confirm whether your plugin supports the integration of our existing Purolator account with our WordPress WooCommerce site.

We currently operate a shop in Canada and already use Purolator for shipments, but the process is fully manual — we generate shipments outside the website. Our goal is to automate this, allowing orders placed through the site to be shipped via Purolator directly.

Does your plugin provide this functionality, and if so, could you please share how the integration works?

Thank you in advance for your support.

Thanks for taking a look at this plugin. No, this plugin does not allow you to create paid shipping labels for Purolator. Instead, it provides live rates in the cart and Tracking information on orders after you enter the tracking number on the Woocommerce order. All the best.

hi, need one help according to our project development. can i use this plugin for multiple website ?

Thanks for using this plugin. Yes, you can use it on development sites and test it and also use it on the production site. The auto-update works for one domain (ie. the production website) for each license. Thanks and all the best.

Not able to connect to Purolator. How i can get activation key and the one i have is not working. Where i should enter the activation key and what is the api password field. There is no clear documentation how to connect purolator acocunt.

Thanks for using our plugin. Please register at the eship Purolator site, https://eship.purolator.com/ Then, after logging in please fill out the form to request “Production credentials”. This should provide the API key and password for Purolator Webservices. They should email you the credentials after you submit the form.
This plugin uses 2 methods, Get Rates and TrackpackagesByPin. Make sure to include a note “Please provide access to the V1 Tracking API”—so that your account can use the Tracking API. The validate credentials checks those 2 methods with your account. Thanks and all the best.

Purolator used to provide the username and password in one with just a colon separating them. If they are not in the email after requesting Production credentials, you may have not received them and need to contact Purolator support to ask? Sorry about the confusion, I hope they can give you the API username and key for this to start working for you. Best regards.

Under “Shipping Rates / Boxes”, when we enable “Shipping Package/Box sizes”, we get the option to add multiple boxes. For each box, there is a field for “Box Weight:”.

My question is: Does this refer to the weight of the box itself or the maximum weight the box can carry?

Yes, that’s the weight of the box itself. You would only need to include a value if the box has a significant weight to it, so small boxes or lightweight packaging would not need a value. Thanks!

ubeo

ubeo Purchased

Hi, since a couple of weeks, we have issues with the plugin without changing settings on 2 websites. If we click on validate settings, we get that error :

“Production : Testing Tracking Lookup: Success! Purolator Tracking API connected. Success! API Credentials validated with Purolator Testing Rates Lookup: Error Code: 3001155 Error Msg: Invalid Billing Account specified. Rates Lookup Failed Unable to look up rates. Account number may be invalid or inactive.”

We contacted Purolator and the billing account number is OK and functionnal. Connection to the API seems ok too but we cannot get any rates. What could be the problem ?

Thanks for using this plugin. The Tracking API sounds like it is working. Can you please check to see if you have a valid postal code set as your sender? The account number may need leading zeros, please check what it looks like when you log-in to your Purolator account. Also, make sure you have the Rates selected as “Production”. It may also mean that Purolator needs to enable the method GetQuickEstimate for your API account. All the best.

It doesn’t work. I click “Validate Credentials” in production credentials, and it errors: “Production/Live Server: Testing Tracking Lookup: Error Code: s:9001 Error Msg: Authorization failed—Service Operation is inactive. Failed API Credentials did not validate”

I contacted Purolator, they said: “I activated the methods that goes with the https://codecanyon.net/item/purolator-woocommerce-shipping-plugin/6502904. If you need other methods activated, please let me know.”

Is there some “method” that isn’t mentioned in your documentation that I have to tell them to manually activate? Can I not simply tell them to activate every method instead of messing around with cherry-picking just they one(s) they suppose might work for just this plugin? Thank you.

Thanks for using this plugin ! Yes, this plugin uses 2 methods, Get Rates and TrackpackagesByPin. Make sure to include a note “Please provide access to the V1 Tracking API”—so that your account can use the Tracking API. The validate credentials checks those 2 methods with your account. Thanks and all the best.

Thank you, that did the trick. It’s working great now!

In the documentation provided with the plugin, the “Request Production Key” link is broken (Heading: Purolator API Access, subheading: “Set up Account with Purolator,” item: 3). It looks like the URL doesn’t exist anymore. Where do I request the production key? Thanks

Thanks for the quick response! I have registered and logged in, but I don’t see the “Request a Production Key” link you’re referring to, and I get a 404 error when I try to access it through the documentation you provided. I’m either misunderstanding something or their website has changed. Could you provide a direct link to that page? Thanks again.

That worked – thank you for the fast support!

Hello, I have recently been helping a merchant to setup this plugin. We had to move away from a different shipping plugin and are hoping to have more success with yours. Products on the site are set up to get live rates by weight only. no package dimensions. What we are seeing is a large discrepancy on returned live rates for heavier items then we get on live rate returns from our previous plug-in (upwards of 30-50$ extra shipping charge). Would you be able to offer any insight into this difference? Are there any additional settings we should be changing?

Your assistance is greatly appreciated.

Thanks for using this plugin. To see how the plugin is calculating the rates, try enabling “Rates lookup logging” (under settings > Shipping Rates/Boxes tab). This should show the total weight that is being used to get the rates. If multiple items are in a cart, they are packed together up to the maximum weight of 68kg, then it becomes a second package. If you see that it is incorrectly assigning weight please let me know. You can also switch the packing to “volumetric packing” since you are only using weight and no dimensions – this should help it pack more accurately given your data. Hope that helps! All the best.

Hello, I have an issue with “There are no shipping methods available” in the shopping cart.

The Purolator API Production credentials are active and functional (the rates appear in the “Rates Lookup Logging” feature). Purolator has been added to the Shipping Zones for “The rest of the world,” services are selected (Express, etc.), and the product weights and dimensions are added in the product pages. “Shipping Class Rules” is disabled, yet the plugin still isn’t working.

I also contacted the hosting services and everything (OpenSSL version and cURL) is updated.

Could you please assist me?

Thank you for your help, and have a great day.

Thanks so much. I heard that this issue was figured out and that it was the configuration of Woocommerce’s shipping zones. As you described everything else was working. Thanks again, I hope everything is going well for you!

Hello, Sorry to reach out here; I wasn’t sure how to contact you. My client’s website was previously developed by another person who purchased your plugin a few weeks ago but couldn’t install it. I’m now taking over the site development. There’s still an issue with “There are no shipping methods available” in the shopping cart.

The Purolator API Production credentials are active and functional (the rates appear in the “Rates Lookup Logging” feature). Purolator has been added to the Shipping Zones for “The rest of the world,” services are selected (Express, etc.), and the product weights and dimensions are added in the product pages. “Shipping Class Rules” is disabled, yet the plugin still isn’t working.

Could you please assist me? I can provide the license number, etc.

Thank you for your help, and have a great day.

I contacted the person who purchased the plugin (YohannL, who just left a message) for the support.

It’s working! Sorry, there was a conflict with the delivery zones.

Thanks so much. Sorry for the late reply and I am glad to hear that this issue was figured out. Woocommerce’s shipping zones can be difficult to see if you have a number of them, especially when they overlap. You can temporarily enable Shipping debug (but turn off after finished) which will display which shipping zone was picked by woocommerce in the checkout. Thanks again, I hope everything is going well for you!

Hi… we are using a shipping company that uses Purolator and they mention entering in their ID code when setting up to get their volume discount.

Is there somewhere we can add this info in your plugin?

Also, it works with latest wordpress?

Thanks very much!

Does this plugin support PHP 8.2?

Yes, the plugin supports PHP 8.2, we recently published an update to remove a few warnings when using PHP 8.2 and PHP 8.3 so that it is fully supported.

Sorry to hear you are having issues. I think you may need to upgrade the software on your server to be compatible with Purolator’s. Can you see if your server hosting is able to upgrade the OpenSSL version and cURL? This may be outdated and is stopping it from being able to connect to Purolator’s API.

Hello, I am having an issue since Purolator updated the server on Sunday. It will no longer get LIVE rates in the cart. It has been working well previous to this.

From the Enable Rates Lookup Logging I get these errors

1. Failed. Error: http_request_failed: cURL error 28: Operation timed out after 9000 milliseconds with 0 bytes received

2. Error Code: 1000100 Error Msg: System exception occurs.

I thought it might come back on and work but it has not.

I also asked Purolator to verify-validate my Purolator Credentials.

thanks

Sorry to hear you are having issues. I think you may need to upgrade the software on your server to be compatible with Purolator’s. Can you see if your server hosting is able to upgrade the OpenSSL version and cURL? This may be outdated and is stopping it from being able to connect to Purolator’s API.

I was able to resolve this with Purolator. Account issue from their end

i have installed the elementor theme

now the shipping only showing pickup option as it is enabled. but purolator are not coming active even its on with woocommerce shipping

kind check or give me assistancce

Hello, Can you please explain to me how your plugin works?

If someone places an order from my wordpress site with woocommerce, how do they receive the tracking number?

to obtain the tracking number you must first have the order processed by the shipper. for example (DHL, MBE…)

Only then will you get the tracking number.

How does the process work?

Also is compatible with MBE italy?

https://www.mbe.it/it/tracking Thanks!

so i been in contact will purolatore trying get the production credentials set up and keep failing. They told me it not working and this what they said.

Please use the TrackpackagesByPin or GetDeliveryDetails method. TrackPackagesByReference is not tested by woocommerce

the track package by methos fails they said. so look the the plugin need to be changed to those other setting for it to validate the credentials. I have a pics they send me showing the 3 methos and one that is failing..

for me to use this u need to fix, i just bought this plugin less than week ago. can you change the codeing for they need for it to work. thanks.

This update has been published. Please update to the latest version and the validate credentials should work. All the best.

Thanks, it now works perfect

Awesome, great to hear. All the best!

Hi,

With WooCommerce Purolator Webservice Method version 1.4.15, there is this error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, array given in wp-content/plugins/woocommerce-purolator-webservice/framework/orderdetails.php:263 We didn’t have this problem with version 1.4.14

Can you fix it please?

Thanks for letting us know. This has now been fixed, please update to the latest version. The Woocommerce features have been changing recently, so we are maintaining compatibility with it. All the best.

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey