/fancourier-woocommerce

A refactored version of FAN Courier module for WooCommerce 3.x

Primary LanguagePHPGNU General Public License v2.0GPL-2.0

fancourier-woocommerce

A refactored version of FAN Courier module for WooCommerce 3.x

alt text alt text

Security notice!

Please note this module dosen't use SSL for cURL require. Using this, you might have a data leak. If you want to fix this: https://stackoverflow.com/questions/9774349/php-curl-not-working-with-https

Bugs

AWB is generated inside FanCourier SelfAWB before order has been send.

AWB isn't generated if client complete First Name and Last Name checkout fields last. These dosen't trigger calculate_shipping() method. You might want to fix this by adding update_totals_on_change class to these fields.

Changelog

1.3.5

calculate_shipping trigger for phone number (can be extended for name and other fields, see function get_customer_details())

don't send Company Name to FanCourier when select "Persoana Fizica" at checkout, using Facturare WooCommerce module https://wordpress.org/plugins/facturare-persoana-fizica-sau-juridica/

1.3.0

refactored code from original module

removed boilerplate code

adds admin check for AWB debugging link

change AWB debug link style

fix admin shipping label

fix frontend shipping label

adds AWB ID as meta for shipping