=== FOXPOST - Packeta Group === Contributors: Foxpost Tags: foxpost, woocommerce, shipping, packeta, delivery Requires at least: 5.9 WC tested up to: 9.0.0 Tested up to: 6.9 Stable tag: 1.0.20 Requires PHP: 7.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html This plugin provides Foxpost shipping functions and order export to FoxPost for WooCommerce. == Description == Plugin to provide Foxpost apt and home delivery shipping methods to woocommerce webshop. It also ensure an order export function to create mass import file to Foxpost. This plugin utilizes [Foxpost Web API](https://webapi.foxpost.hu/api/) and [Foxpost APT finder](https://cdn.foxpost.hu/apt-finder/v1/app/) Foxpost Web API docs: [docs](https://webapi.foxpost.hu/swagger-ui/index.html) Foxpost Web API service terms and privacy policy: [docs](https://foxpost.hu/en/general-terms-and-conditions) Foxpost APT finder docs: [docs](https://cdn.foxpost.hu/apt-finder/v1/documentation/) Foxpost APT finder is an embeddable widget to the website, it is not handling any of your data. == External services == This plugin connects to Foxpost external services in order to create and manage parcel shipments. Foxpost Web API – `https://webapi.foxpost.hu/api/` What it is used for: creating parcels, printing labels, synchronizing parcel status and exporting orders to Foxpost. What data is sent and when: when you create or update a parcel, export orders or trigger a parcel status sync, the plugin sends shipment‑related data such as: * order ID and reference code, * recipient name, address, postcode, city and country, * phone number and email address (if provided), * COD amount, parcel size and delivery mode (locker or home delivery). Service documentation: https://webapi.foxpost.hu/swagger-ui/index.html Terms of service and privacy policy: https://foxpost.hu/en/general-terms-and-conditions Foxpost APT finder widget – `https://cdn.foxpost.hu/apt-finder/v1/app/` What it is used for: displaying an interactive map and list of Foxpost parcel lockers on the checkout page so customers can select a pickup point. What data is sent and when: the widget is loaded in the customer’s browser from Foxpost's CDN; the plugin itself does not send any personal data to this widget. The widget may receive non‑personal context such as language and previously selected locker ID. Service documentation: https://cdn.foxpost.hu/apt-finder/v1/documentation/ == Installation == 1. Download the plugin from Foxpost (which will be a zip file). Next, you need to go to WordPress admin area and visit Plugins » Add New page. 2. Then you need to click on the ‘Choose File’ button and select the plugin file you downloaded earlier to your computer. 3. Activate the plugin through the 'Plugins' menu in WordPress 4. In the Woocommerce setting there is a Foxpost tab where you can config them. 5. In the Woocommerce shipping settings you can add your FOXPOST - Packeta Group methods to Shipping zones. == Upgrade == 1. Its simple: make the install process one more time == Development == The JavaScript bundle used for the checkout integration is generated via a build step and the distributed, minified file is: - `public/checkout/index.js` The corresponding, human‑readable source code is kept in the plugin repository under: - `public/checkout/index.js` (source before minification / bundling) - `public/checkout/index.js.map` (source map generated by the build) These files allow developers to review and debug the original uncompressed code used to create the production bundle. == Changelog == = 1.0.20 = Security: Added nonce verification to all AJAX endpoints Security: Enhanced input sanitization and output escaping Security: Added capability checks for admin operations Improvement: Added index.php files to all directories for security Improvement: Updated plugin metadata for better WordPress.org compliance Improvement: Added .gitignore and .distignore files Improvement: Improved SQL query security with prepare statements Documentation: Created CHANGELOG-COMPLIANCE.md with detailed security updates = 1.0.19 = bugfix: updated apm list init definition = 1.0.18 = bugfix: API parcel sending fix bugfix: scheduler time expression = 1.0.17 = bugfix: checkout selected apm validation bugfix: status sync set to 3 hours bugfix: missing variable declaration at checkout = 1.0.16 = removed A5 label size = 1.0.15 = bugfix: cart weight based restriction fix = 1.0.14 = bugfix: removed function return type due to PHP7.4 compatibility = 1.0.13 = bugfix: batch parcel status update meta data fix = 1.0.12 = bugfix: order meta parcel status fixes = 1.0.11 = bugfix: update for Wordpress Plugin Repository compliances = 1.0.10 = bugfix: show parcel status and tracker link after shipping address details bugfix: bulk parcel status update on order listing site = 1.0.9 = feature: added blocks checkout compatible display feature: added HPOS support = 1.0.8 = bugfix: checkout layout fix bugfix: APT select box default value fix = 1.0.7 = small refact = 1.0.6 = bugfix: error if there is no chosen APT change: update weight error message (dynamic weight unit) = 1.0.5 = add: map disable option add: taxable shipping & COD fee change: APT select box default value = 1.0.4 = bugfix: warning in foxpost-wc-shipping-map.php when APT address empty = 1.0.3 = bugfix: warning in class-foxpost-wc-shipping-public.php when APT address empty = 1.0.2 = bugfix: Weight check change: config file, API up to 1.1.6 remove: manual PDF = 1.0.1 = bugfix: FoxPostApi.trackParcels downgrade to PHP5.6 = 1.0.0 = Initial release