{"id":306878,"date":"2026-07-21T13:39:59","date_gmt":"2026-07-21T13:39:59","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/wc-age-verification-id-upload\/"},"modified":"2026-07-21T13:12:33","modified_gmt":"2026-07-21T13:12:33","slug":"mts-ageverify-id-upload-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/mts-ageverify-id-upload-for-woocommerce\/","author":23344779,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.1.1","stable_tag":"2.1.1","tested":"7.0.2","requires":"5.8","requires_php":"7.4","requires_plugins":null,"header_name":"MTS AgeVerify ID Upload for WooCommerce","header_author":"MD. Rakibul Islam","header_description":"ID upload for age verification on WooCommerce product pages. Compatible with FunnelKit Cart, CartFlows, AJAX mini-carts, and all standard cart plugins.","assets_banners_color":"725394","last_updated":"2026-07-21 13:12:33","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/mts-ageverify-id-upload-for-woocommerce","header_author_uri":"https:\/\/profiles.wordpress.org\/rakibuldev\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":27,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"2.1.1":{"tag":"2.1.1","author":"rakibuldev","date":"2026-07-21 13:12:33"}},"upgrade_notice":{"2.1.0":"<p>Deactivate and delete the old version before installing 2.1.0 to ensure the cron schedule is reset correctly.<\/p>"},"ratings":[],"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":3617213,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":3617213,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.1.1"],"block_files":[],"assets_screenshots":{"Screenshot-1.png":{"filename":"Screenshot-1.png","revision":3617213,"resolution":"1","location":"assets","locale":"","width":1906,"height":780}},"screenshots":{"1":"Upload field on the product page","2":"Admin order page showing uploaded file with preview and download options","3":"Verification status badge in admin"}},"plugin_section":[],"plugin_tags":[5616,245356,272647,30944,286],"plugin_category":[45],"plugin_contributors":[272648],"plugin_business_model":[],"class_list":["post-306878","plugin","type-plugin","status-publish","hentry","plugin_tags-age-verification","plugin_tags-funnelkit","plugin_tags-id-upload","plugin_tags-selfie","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-rakibuldev","plugin_committers-rakibuldev"],"banners":{"banner":"https:\/\/ps.w.org\/mts-ageverify-id-upload-for-woocommerce\/assets\/banner-772x250.png?rev=3617213","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/mts-ageverify-id-upload-for-woocommerce\/assets\/icon-256x256.png?rev=3617213","icon_2x":"https:\/\/ps.w.org\/mts-ageverify-id-upload-for-woocommerce\/assets\/icon-256x256.png?rev=3617213","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/mts-ageverify-id-upload-for-woocommerce\/assets\/Screenshot-1.png?rev=3617213","caption":"Upload field on the product page"}],"raw_content":"<!--section=description-->\n<p><strong>MTS AgeVerify ID Upload for WooCommerce<\/strong> adds a mandatory selfie + ID upload field to WooCommerce product pages for age verification purposes. The plugin is fully compatible with <strong>FunnelKit Cart<\/strong>, CartFlows, YITH AJAX Cart, standard WooCommerce, and all other cart plugins \u2014 both AJAX-based and standard form-submit-based.<\/p>\n\n<h4>Key Features<\/h4>\n\n<ul>\n<li>Selfie + ID upload field on the product page (before Add to Cart button)<\/li>\n<li><strong>Universal cart compatibility<\/strong> \u2014 works with FunnelKit Cart, AJAX mini-carts, and standard WooCommerce<\/li>\n<li>Pre-upload via AJAX on file selection \u2014 no form-submit dependency<\/li>\n<li>Session token system ensures file travels safely with any cart plugin<\/li>\n<li>Server-side MIME validation (no extension spoofing)<\/li>\n<li>Max file size enforcement (default: 10 MB)<\/li>\n<li>Accepted formats: JPG, PNG, WEBP, PDF<\/li>\n<li>Uploaded files stored securely in a protected directory (<code>.htaccess<\/code> blocked)<\/li>\n<li>View and download files directly from the WooCommerce order admin page<\/li>\n<li>Image thumbnail preview in admin for quick visual review<\/li>\n<li>Uploaded file name shown in cart and order details<\/li>\n<li>Verification status badge in admin (Pending \/ Approved \/ Rejected)<\/li>\n<li>Order email includes uploaded file reference<\/li>\n<li>Auto-cleanup of orphaned temp files via WP Cron (hourly)<\/li>\n<li>Files deleted automatically on order cancellation or deletion<\/li>\n<li>Fully translatable (Text Domain: <code>wc-age-verification-id-upload<\/code>)<\/li>\n<\/ul>\n\n<h4>How It Works<\/h4>\n\n<ol>\n<li>Customer selects their selfie + ID image on the product page.<\/li>\n<li>The file is instantly pre-uploaded via AJAX to a secure folder on the server.<\/li>\n<li>The server returns a unique session token.<\/li>\n<li>When the customer clicks \"Add to Cart\" (via any plugin \u2014 including FunnelKit), the token is sent as a hidden field.<\/li>\n<li>Server validates the token, retrieves the file, and attaches it to the cart item.<\/li>\n<li>At checkout, the file reference is saved to the order.<\/li>\n<li>Store admin can view, preview, and download the file from the order page.<\/li>\n<\/ol>\n\n<h4>Compatibility<\/h4>\n\n<ul>\n<li>\u2705 FunnelKit Cart (Slide Cart)<\/li>\n<li>\u2705 CartFlows<\/li>\n<li>\u2705 YITH WooCommerce Ajax Product Filter<\/li>\n<li>\u2705 Standard WooCommerce (form submit)<\/li>\n<li>\u2705 Elementor Pro WooCommerce widgets<\/li>\n<li>\u2705 WooCommerce Blocks<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to <code>\/wp-content\/plugins\/<\/code> or install via <strong>Plugins \u2192 Add New \u2192 Upload Plugin<\/strong>.<\/li>\n<li>Activate the plugin from the <strong>Plugins<\/strong> menu.<\/li>\n<li>The upload field will automatically appear on all simple product pages above the Add to Cart button.<\/li>\n<\/ol>\n\n<p>No configuration required \u2014 it works out of the box.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20work%20with%20funnelkit%20cart%20%2F%20side%20cart%3F\"><h3>Does this work with FunnelKit Cart \/ side cart?<\/h3><\/dt>\n<dd><p>Yes. Version 2.1.0 was specifically built to fix FunnelKit Cart compatibility. It uses a pre-upload + session token approach so the file is transferred independently of how the cart plugin sends the add-to-cart request.<\/p><\/dd>\n<dt id=\"can%20i%20change%20the%20maximum%20file%20size%3F\"><h3>Can I change the maximum file size?<\/h3><\/dt>\n<dd><p>Yes. Edit the <code>WCAV_MAX_MB<\/code> constant at the top of the plugin file. Default is 10 MB.<\/p><\/dd>\n<dt id=\"where%20are%20uploaded%20files%20stored%3F\"><h3>Where are uploaded files stored?<\/h3><\/dt>\n<dd><p>Files are stored in <code>wp-content\/uploads\/age-verification\/<\/code> which is protected by <code>.htaccess<\/code> to prevent direct browser access.<\/p><\/dd>\n<dt id=\"who%20can%20view%20uploaded%20files%20in%20the%20admin%3F\"><h3>Who can view uploaded files in the admin?<\/h3><\/dt>\n<dd><p>Only users with the <code>manage_woocommerce<\/code> capability (Shop Manager and Administrator roles).<\/p><\/dd>\n<dt id=\"are%20temp%20files%20cleaned%20up%20if%20a%20customer%20abandons%20the%20cart%3F\"><h3>Are temp files cleaned up if a customer abandons the cart?<\/h3><\/dt>\n<dd><p>Yes. A WordPress Cron job runs hourly and deletes any pre-uploaded temp files older than 1 hour that were never attached to a cart item.<\/p><\/dd>\n<dt id=\"does%20this%20work%20for%20guest%20%28non-logged-in%29%20customers%3F\"><h3>Does this work for guest (non-logged-in) customers?<\/h3><\/dt>\n<dd><p>Yes. The plugin uses the WooCommerce session (cookie-based) which works for both logged-in and guest users.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.1.0<\/h4>\n\n<ul>\n<li><strong>New:<\/strong> Pre-upload AJAX system \u2014 file is uploaded on selection, not on form submit.<\/li>\n<li><strong>New:<\/strong> Session token approach \u2014 universal compatibility with FunnelKit Cart and all AJAX-based cart plugins.<\/li>\n<li><strong>New:<\/strong> Hourly WP Cron job for orphaned temp file cleanup.<\/li>\n<li><strong>Fix:<\/strong> FunnelKit Cart add-to-cart completely ignoring file upload (no <code>$_FILES<\/code> in AJAX request).<\/li>\n<li><strong>Fix:<\/strong> Validation now correctly blocks AJAX add-to-cart if no file is pre-uploaded.<\/li>\n<li>Improved admin UI with image thumbnail previews and status badges.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release. Standard WooCommerce form-submit support only.<\/li>\n<\/ul>","raw_excerpt":"Age verification via selfie + ID upload on WooCommerce product pages. Works with FunnelKit Cart, AJAX carts, and all standard cart plugins.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/306878","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=306878"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/rakibuldev"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=306878"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=306878"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=306878"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=306878"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=306878"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=306878"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}