=== Interac e-Transfer / Email Money Transfer (EMT) Gateway for WooCommerce === Author: ipodguy79 Tags: woocommerce, payment, canada, e-transfer, gateway Requires at least: 5.8 Tested up to: 6.9 Requires PHP: 7.4 WC requires at least: 6.0 WC tested up to: 8.6 Stable tag: 2.0.0 License: GPL2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Accept Interac e-Transfer / Email Money Transfer (EMT) in WooCommerce. Block checkout, dynamic answers, clear instructions, optional discount. == Description == A clean, reliable EMT gateway for Canadian stores. Works with Classic and Block Checkout. Generates dynamic or static secret answers, shows instructions on Thank You, emails, and My Account, and optionally applies a checkout discount for EMT. **Highlights** - Block & Classic Checkout support - Dynamic or static secret answers - Placeholders: `[order]`, `[answer]`, `[discount]` - Optional EMT discount with message - Admin/debug friendly; HPOS-ready; translatable == Installation == 1. Upload to `/wp-content/plugins/advanced-emt-payment-gateway/` or install via WP Admin. 2. Activate the plugin. 3. Go to **WooCommerce → Settings → Payments**, enable **Email Money Transfer (EMT)**, and configure. == Frequently Asked Questions == = Does it work with WooCommerce Blocks? = Yes, native support. = Where do customers see EMT instructions? = On the Thank You page, in emails, and in **My Account** for the order. = Can I offer a discount for using EMT? = Yes. Set the percent and an optional savings message in settings. = What placeholders can I use? = `[order]` (order number), `[answer]` (secret answer), `[discount]` (percent). == Screenshots == 1. Admin settings with EMT options 2. Custom instruction placeholders 3. Blocks checkout with branded gateway 4. Thank You page showing EMT info 5. My Account order details with instructions == Changelog == = 1.1.1 = * Fix: Prevent gateway title HTML from appearing in order notes/admin. * Tweak: Keep checkout title UI (logo + savings) visible during AJAX refresh. * New: Dashboard review banner (≥5 EMT orders or 14 days; 30-day snooze). = 1.0.2 = * Added support for WooCommerce Blocks * JSON-safe restore default button * Polished admin UI * Verified HPOS support = 1.0.0 = * Initial release == Upgrade Notice == = 1.1.1 = Prevents HTML leaking into order notes/admin and adds a review prompt. No checkout UI changes needed.