Royal Mail integration
-
This is query about function rather than a problem.
My question is…..With the Royal Mail integration, the tracking number is added to the “Comments” field. So my question is does adding the tracking initiate an update email to customer?
And as a follow up, why not have a separate box/field in the order admin page which is dedicated to the tracking number. That way it would be easier to pick up by code if other functionality was required. At present having it in order notes/actions means it is more complicated.
-
Hi @cullachie!
While we are experts on our products, third-party plugins, themes or integrations are best supported by their developers (and more importantly, I prefer not to give you any incorrect information).
It is why we suggest you contact the RoyalMail support team for further assistance on this topic.
It is worth mentioning that you could still achieve the separate box/field you want through some custom coding. For that, we recommend getting in touch with one of the customization experts listed on the WooCommerce Customizations Page, who can make the code you need.
Or if you are into coding, you can also visit the WooCommerce Facebook group or the #developers channel of the WooCommerce Community Slack, you could find help from the community of open-source developers for WooCommerce that hangs in there.
Cheers!
Hi Juan,
Some good leads there which I will follow up,
1. OK, let me ask a general question…. if I add a “note to customer” in an order, does Woo immediately send that note to the customer?
2. Irrespective of how the tracking is added (either manually or by code), would it not be a useful idea to add a dedicated box for the tracking rather than a more general “Note”?
1. Yes, an email will be sent to the customer with the notes
2. This is rather a personal preference and we may not be able to provide an advice on that
OK, to follow up on item 1 above, I find Woo is not recording the tracking in “Notes”. I have triple checked the Royal Mail settings and all the settings are correct especially the one marked as “Send tracking information as order notes”
Looking at each order, they are successfully marked as “Completed” automatically by Woo from the data it imports from Royal Mail. So Woo is getting the data but it’s not doing the bit about entering the tracking in the notes.
Is there anything else I need to check or do you want me to send a status report>
Hi @cullachie,
Yes, please! Send us the status report, so we can have a better understanding of your setup.
You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.? Once you’ve done that, paste it here in your response.Best.
Great, here is Status
### WordPress Environment ###WordPress address (URL): https://www.trapbarn.com
Site address (URL): https://www.trapbarn.com
WC Version: 6.1.1
REST API Version: ? 6.1.1
WC Blocks Version: ? 6.5.2
Action Scheduler Version: ? 3.4.0
WC Admin Version: ? 3.0.3
Log Directory Writable: ?
WP Version: 5.8.3
WP Multisite: –
WP Memory Limit: 950 MB
WP Debug Mode: –
WP Cron: ?
Language: en_GB
External object cache: –### Server Environment ###
Server Info: Apache
PHP Version: 7.4.27
PHP Post Max Size: 950 MB
PHP Time Limit: 300
PHP Max Input Vars: 2500
cURL Version: 7.79.1
OpenSSL/1.1.1g-fipsSUHOSIN Installed: –
MySQL Version: 5.5.5-10.2.33-MariaDB-log
Max Upload Size: 950 MB
Default Timezone is UTC: ?
fsockopen/cURL: ?
SoapClient: ?
DOMDocument: ?
GZip: ?
Multibyte String: ?
Remote Post: ?
Remote Get: ?### Database ###
WC Database Version: 6.1.1
WC Database Prefix: wp_
Total Database Size: 60.64MB
Database Data Size: 44.21MB
Database Index Size: 16.43MB
wp_woocommerce_sessions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_woocommerce_order_items: Data: 0.20MB + Index: 0.09MB + Engine InnoDB
wp_woocommerce_order_itemmeta: Data: 1.52MB + Index: 3.03MB + Engine InnoDB
wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
cerber_acl: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
cerber_blocks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
cerber_countries: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
cerber_lab: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
cerber_lab_ip: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
cerber_lab_net: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
cerber_log: Data: 0.05MB + Index: 0.05MB + Engine InnoDB
cerber_qmem: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
cerber_traffic: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
wp_actionscheduler_actions: Data: 1.31MB + Index: 0.58MB + Engine InnoDB
wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_actionscheduler_logs: Data: 0.23MB + Index: 0.22MB + Engine InnoDB
wp_ac_abandoned_cart_history_lite: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
wp_ac_email_templates_lite: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_ac_guest_abandoned_cart_history_lite: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_ac_sent_history_lite: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_blc_filters: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_blc_instances: Data: 0.08MB + Index: 0.05MB + Engine InnoDB
wp_blc_links: Data: 0.38MB + Index: 0.06MB + Engine InnoDB
wp_blc_synch: Data: 0.22MB + Index: 0.11MB + Engine InnoDB
wp_cerber_files: Data: 8.55MB + Index: 0.00MB + Engine InnoDB
wp_cerber_sets: Data: 0.13MB + Index: 0.00MB + Engine InnoDB
wp_cerber_uss: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_commentmeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
wp_comments: Data: 1.52MB + Index: 0.89MB + Engine InnoDB
wp_db7_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_fusion_forms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_fusion_form_entries: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_fusion_form_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_fusion_form_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_gglcptch_allowlist: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_odb_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_options: Data: 8.36MB + Index: 0.19MB + Engine InnoDB
wp_postmeta: Data: 6.52MB + Index: 8.03MB + Engine InnoDB
wp_posts: Data: 11.14MB + Index: 0.41MB + Engine InnoDB
wp_redirection_404: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_redirection_items: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
wp_redirection_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_termmeta: Data: 0.09MB + Index: 0.09MB + Engine InnoDB
wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_usermeta: Data: 1.13MB + Index: 0.06MB + Engine InnoDB
wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wc_customer_lookup: Data: 0.16MB + Index: 0.13MB + Engine InnoDB
wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_order_product_lookup: Data: 0.20MB + Index: 0.27MB + Engine InnoDB
wp_wc_order_stats: Data: 0.17MB + Index: 0.22MB + Engine InnoDB
wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_woo_shippment_provider: Data: 0.11MB + Index: 0.00MB + Engine InnoDB
wp_wplnst_urls_status: Data: 0.08MB + Index: 0.23MB + Engine InnoDB
wp_wt_iew_action_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wt_iew_cron: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wt_iew_ftp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_yoast_indexable: Data: 0.30MB + Index: 0.25MB + Engine InnoDB
wp_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_yoast_seo_links: Data: 0.16MB + Index: 0.09MB + Engine InnoDB
wp_yoast_seo_meta: Data: 0.09MB + Index: 0.00MB + Engine InnoDB### Post Type Counts ###
attachment: 212
avada_faq: 19
custom_css: 2
customize_changeset: 4
flamingo_contact: 34
flamingo_inbound: 16
fusion_element: 1
nav_menu_item: 41
oembed_cache: 12
page: 50
popup: 6
popup_theme: 7
post: 1
product: 10
product_variation: 31
revision: 299
shop_coupon: 1
shop_order: 1331
shop_order_refund: 15
wpcf7_contact_form: 3
wpcr3_review: 28### Security ###
Secure connection (HTTPS): ?
Hide errors from visitors: ?### Active Plugins (19) ###
Autoclear Autoptimize Cache: by Theme Surgeons – 2.1.1
Autoptimize: by Frank Goossens (futtta) – 2.9.5
Broken Link Checker: by WPMU DEV – 1.11.16
Contact Form 7: by Takayuki Miyoshi – 5.5.4
Avada Builder: by ThemeFusion – 3.6.1
Avada Core: by ThemeFusion – 5.6.1
Head, Footer and Post Injections: by Stefano Lissa – 3.2.2
My Custom Functions: by Space X-Chimp – 4.51
Perfect Brands for WooCommerce: by QuadLayers – 2.0.4
Redirection: by John Godley – 5.2.2
W3 Total Cache: by BoldGrid – 2.2.1
WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.1.3
WooCommerce: by Automattic – 6.1.1
Yoast SEO: by Team Yoast – 17.9
Asset CleanUp Pro: Page Speed Booster: by Gabe Livan – 1.2.0.4
Asset CleanUp: Page Speed Booster: by Gabe Livan – 1.3.8.5
WP Cerber Security, Anti-spam & Malware Scan: by Cerber Tech Inc. – 8.9.5
ReCaptcha v2 for Contact Form 7: by IQComputing – 1.3.7
Yoast Test Helper: by Team Yoast – 1.15### Inactive Plugins (6) ###
Abandoned Cart Lite for WooCommerce: by Tyche Softwares – 5.11.1
Health Check & Troubleshooting: by The www.ads-software.com community – 1.4.5
Meks Quick Plugin Disabler: by Meks – 1.0
Optimize Database after Deleting Revisions: by CAGE Web Design | Rolf van Gelder
Eindhoven
The Netherlands – 5.0.110Product CSV Import Export (BASIC): by WebToffee – 2.1.4
Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.3### Dropin Plugins (1) ###
advanced-cache.php: advanced-cache.php
### Must Use Plugins (4) ###
aaa-wp-cerber.php: by Cerber Tech Inc. – 1.0
Asset CleanUp Pro: Plugin Filtering: by Gabriel Livan – 1.0
Health Check Troubleshooting Mode: by – 1.7.2
StackCache: by Stack CP –### Settings ###
API Enabled: ?
Force SSL: –
Currency: GBP (£)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
exclude-from-search (exclude-from-search)
featured (featured)
outofstock (outofstock)
rated-1 (rated-1)
rated-2 (rated-2)
rated-3 (rated-3)
rated-4 (rated-4)
rated-5 (rated-5)Connected to WooCommerce.com: –
### WC Pages ###
Shop base: #6 – /shop-fenn-at-trap-barn/
Basket: #7 – /basket/
Checkout: #8 – /checkout/
My account: #9 – /my-account/
Terms and conditions: ? Page not set### Theme ###
Name: Avada Child1
Version: 6.2.3.1589448490
Author URL: https://themeforest.net/user/ThemeFusion
Child Theme: ?
Parent Theme Name: Avada
Parent Theme Version: 7.6.1
Parent Theme Author URL: https://themeforest.net/user/ThemeFusion
WooCommerce Support: ?### Templates ###
Overrides: Avada/woocommerce/cart/cart.php
Avada/woocommerce/checkout/form-pay.php
Avada/woocommerce/checkout/review-order.php
Avada/woocommerce/checkout/thankyou.php
Avada/woocommerce/loop/loop-start.php
Avada/woocommerce/single-product/add-to-cart/variable.php
Avada/woocommerce/single-product/short-description.php
Avada/woocommerce/single-product/tabs/additional-information.php
Avada/woocommerce/single-product/tabs/description.php### Action Scheduler ###
Complete: 1,828
Oldest: 2021-12-24 12:27:20 +0000
Newest: 2022-01-24 11:56:16 +0000Failed: 1
Oldest: –
Newest: –Pending: 2
Oldest: 2022-01-24 12:11:16 +0000
Newest: 2022-01-24 14:38:13 +0000### Status report information ###
Generated at: 2022-01-24 12:12:53 +00:00
Let me know if you want Admin access so you can sort this out directly.Hi @cullachie,
Thanks for sharing your system status.
I find Woo is not recording the tracking in “Notes”
If that’s what your Royal Mail Integration is supposed to do, you may want to test after deactivating all plugins except for WooCommerce and changing the theme to the default Storefront. Check if it works with this basic setup.
You can find a more detailed explanation on how to do a conflict test here: https://docs.woocommerce.com/document/how-to-test-for-conflicts/.
If the conflict test doesn’t help, it is best to reach out to the Royal Mail support team for further assistance on this.
If you’re interested, there is an official Royal Mail extension developed by WooCommerce and we offer a 30-day money-back guarantee, so you can test the extension out and if you find it doesn’t do what you want, you can get a refund.
* https://woocommerce.com/products/royal-mail/
Let us know if you have more questions.
OK,
Immediately before doing my despatches in one hours time I will use MEKs to turn off all plugins and see if it works then.
I normally do one despatch every day with Clock & Drop so if it is a plugin issue then it could take several days to identify the culprit .I guess when you looked through my plugins, you didnt find any likely culprits.
Realistically, if I went to Royal Mail, they would naturally say that their side is working because their data is getting through to Woo because it is updating my orders to “Completed“.
Hi,
I did today’s despatches in Royal Mail Click & Drop with ALL plugins deactivated except Woo.
About one hour after despatching, the orders were reclassified as “Completed”, however there was no tracking number mentioned in the notes. So no change with all plugins disabled and so there is no conflict involved.
Is it possible to get your gurus to check their handling of the API And is there any way of checking the integration by other means?
Hi @cullachie
I’d recommend taking a look at one of the plugins/extensions that already has this functionality of tracking and sharing it through email.
I also checked the Royal Mail integration docs, and it looks like when you mark orders as despatched, it automatically changes the order status to Completed.
On the other hand, if you want a developer to check it for you, I’d recommend the #developers channel of the WooCommerce Community Slack as mentioned above!
Thank you!
Sorry but you have overlooked the crucial point. That is, I do not mark the orders as despatched. The order stays as “Processing” after it is received. It stays as “Processing” until Woocommerce uses the RM API . As soon as Woo learns from the API that the item has been received a( ie when scanned at the receiving RM depot) does the Woo classification changed to “Completed”.
There is NO human or manual intervention whatsoever at any stage. Woo does it all based on what it gets from the API.
My understanding is that Woo is supposed to gather the tracking number at the same time and place it in the “Notes” field.
What I am asking is why the functionality is not working 100% in Woo. RM make the tracking available because we have selected that option in our RM settings where it specifically asks if we want the tracking passed to Woo. We have ticked “YES”.
This is solely a Woo issue so would appreciate if this can be escalated and because it has been already set up there is surely no need for us to go to a 3rd party developer
Thank you.Hello @cullachie,
Gathering the tracking number isn’t a built-in feature that comes with WooCommerce, hence the problem here appears to be that the third-party integration isn’t properly passing data to WooCommerce or doesn’t integrate properly.
As suggested earlier, please reach out to your Royal Mail plugin developers. They’re in the best position to check the issue/logs and provide assistance.
If they’re not able to help, then the next option would be to hire a developer to check and try to fix it for you. There are freelance developers at Codeable who would be happy to help you out: https://woocommerce.com/codeable/.
Thanks.
- The topic ‘Royal Mail integration’ is closed to new replies.