# accept.blue Payment Gateway v2 — Changelog = 1.15.0 = 1 April 2026 Added: - Adjust and Capture: New "accept.blue Payment" side meta box on the order edit screen with a dedicated "Adjust and Capture Payment" / "Capture Payment" button. Works on both legacy (CPT) and HPOS order screens. - Adjust and Capture: Admin warning banner when the order total changes after authorization, showing authorized vs. current amount and the difference. - Adjust and Capture: Uses the correct POST /transactions/adjust-capture API endpoint (not /transactions/capture), with amount_details and line_items resent as required by the accept.blue API docs. - Adjust and Capture: Auto-completes the order after a successful capture. - Adjust and Capture: Order action dropdown entry "accept.blue: Adjust and Capture Payment" for HPOS-compatible order action triggering. - $0 Trial Subscriptions: Handles free-trial subscription orders with a $0 initial total. Runs a $0 auth to verify and tokenize the card, immediately voids the auth, saves the token for future renewals, and completes the order. - Authorized amount now stored from the API response auth_amount field (ground truth, inclusive of surcharge) instead of the pre-surcharge order total. Fixed: - Replaced all get_meta('_transaction_id') calls with $order->get_transaction_id() to eliminate "is_internal_meta_key" notices in WooCommerce 3.2+. - Restored missing empty-transaction-id guard in process_cancelled() that was accidentally dropped during a prior edit. - Order action dropdown now resolves the order correctly in HPOS mode where the $theorder global is null (uses $_GET['id'] fallback). = 1.14.15 = 26 March 2026 Added: - Classic Checkout – New Card: - Added support for AVS (Address Verification System) avs_address – billing address to improve fraud prevention and transaction approval avs_zip – billing ZIP/postal code for accurate AVS matching = 1.14.14 = 20 March 2026 Added: - Major upgrade to Google Pay with better reliability and easier setup - Saved cards now work directly on the checkout page Fixed: - Fixed multiple 3D Secure issues for smoother and more secure payments - Fixed issues with amount formatting that caused API errors - Fixed customer IP capture for Block Checkout Improvements: - Custom and admin-created orders now process correctly - Improved stability, including PHP 8 fixes and better error handling = 1.14.13 = 17 March 2026 Fixed: - Fixed cost: 0 for custom line items — $product->get_price() returns empty for manually added order items. Cost is now derived from $subtotal / $quantity instead. - Fixed cost: 0 for products with a $0 price + order fee — fee line items now processed separately via $order->get_fees(). - Fixed integer truncation on unit cost — changed to floatval() with round(..., 4). Improvements: - Zero-cost line item filtering — items with cost < 0.0001 stripped before submission. - Division by zero guard — quantity clamped with max(1, (int) $quantity). - Stricter type checks — instanceof WC_Order and instanceof WC_Product. - Reusable mock object — consolidated $make_mock closure. - Empty line items early return — returns array() immediately if no valid line items. - Float precision consistency — round(..., 4) applied uniformly. = 1.14.12 = 16 March 2026 Fixed: - Fixed payment gateway deactivation in Cart and Checkout Blocks due to missing acceptblue-hosted-sdk dependency registration. - Resolved WP Admin Bar display bug. Improved: - Enhanced 3DS data handling for more reliable transactions. Compatibility: - Tested and confirmed compatible with WooCommerce versions 9.4.5 to 10.6.1. = 1.13.12 = 11 March 2026 Added: - Custom Color Scheme option with three wp-color-picker fields: Background Color, Text Color, and Border Color. - Settings reorganized into six tabs: General, API Keys, Tokenization, Google Pay, Card & Payment, and Appearance. - Checkout Block setting now displays inline description for 3DS support. Fixed: - Sandbox notice styles now applied as inline styles for theme compatibility. - Sandbox notice dark mode logic added to block checkout (3DS). - Card input fields in block checkout (non-3DS) now correctly styled in all modes. - Card field labels no longer invisible in dark mode on light-background themes. - Classic checkout form inputs now have correct color scheme logic. Improved: - Custom CSS variables applied consistently across all JS files. - Block checkout get_payment_method_data() passes all color values to block JS. - Custom color picker fields shown/hidden dynamically. = 1.12.11 = 4 March 2026 Added: - Block Checkout saved cards (standard + 3DS) with default selection and "Use new card" option. - Save to Account checkbox for Classic & Block checkout. - Gateway icon toggle setting. Fixed: - Save card flag ignored in Classic checkout. - Block checkout empty('0') boolean bug. - Store API token ID retrieval (removed $_REQUEST dependency). - Incorrect expiry saved to WC tokens. - Empty "tkn-" tokens causing renewal failures. - Subscription double-prefix issue. - JS variable collision ("Identifier already declared"). - Broken minified JS files. - PHP 8.2 dynamic property deprecation. Improved: - Cleaner Block Checkout UI styling. - Proper WC token creation after successful charge. - Removed all console.* logs. - Rebuilt minified JS files. = 1.11.11 = 22 February 2026 Added: - Setting to enable or disable Level III line item data. - Automatic processor-compliant character limits for Level III fields. Improved: - SKU limited to 12 characters. - Item name limited to 64 characters. - Item description limited to 255 characters. - Refactored Level III line item builder. - Introduced reusable Level III text sanitizer helper. Tested up to: WooCommerce 10.5.1 / WordPress 6.9.1 / WC Subscriptions 8.4.0 = 1.11.10 = 17 February 2026 Updated: Dynamic capture order status with settings. Improved: Level 3 data code — sanitize HTML tags. Tested: WooCommerce 10.5.1 / WordPress 6.9.1 / WC Subscriptions 8.4.0 = 1.10.10 = 6 February 2026 Refactor: - Introduced get_cart_total_blocks_safe() as single source of truth for cart totals. - Refactored surcharge removal logic for Blocks-safe cart access. Fix: - Prevented fatal errors caused by WC()->cart being unavailable in Blocks contexts. - Ensured surcharge removal only executes when surcharge_card is enabled. = 1.10.9 = 31 January 2026 Updated: Improved WooCommerce custom order status logic (Stripe-style handling). Fixed: Surcharge calculation issue in WooCommerce Subscriptions. Tested: WooCommerce 10.4.3 / WordPress 6.9 = 1.9.8 = 19 January 2026 Updated: WooCommerce checkout block based 3DS iframe implemented. Updated: 3DS frictionless settings implemented (classic and block). Fixed: Surcharge error in 3DS checkout (classic and block). Tested: WooCommerce 10.4.3 / WordPress 6.9 = 1.8.7 = 7 January 2026 Updated: Support 3DS in the classic WooCommerce checkout page. = 1.7.7 = 19 November 2025 Updated: Support WooCommerce Block Based Checkout card form input fields. = 1.7.6 = 19 October 2025 Updated: Remove auto-hold status. = 1.7.5 = 18 September 2025 Updated: Credit Card Form UI custom edited labels. = 1.7.4 = 2 September 2025 Fixed: Level 3 bug. = 1.7.3 = 1 September 2025 Updated: Level 3 data. Updated: CVV on save card token checkout. Fixed: Surcharge bug. = 1.6.3 = 6 June 2025 Fixed: Surcharge in checkout — now shows only when accept.blue is selected. = 1.6.2 = 8 May 2025 Fixed: Card Number validation error for existing card token. = 1.6.1 = 7 May 2025 Updated: Implement CVV2 parameter. = 1.5.1 = 4 May 2025 Fixed: Surcharge bugs in WooCommerce admin orders. Updated: Name on Card. = 1.4.0 = 5 March 2025 Updated: Remove update status when trigger capture in order status completed. = 1.3.0 = 27 February 2025 Updated: Fix surcharge amount in thank you page. = 1.2.0 = 27 February 2025 Updated: Fix double print in tokenization card checkout. = 1.1.0 = 26 February 2025 Updated: Fix plugin links — Docs and Support. = 1.0 = 26 February 2025 Initial release.