# WooCommerce Custom Payment Gateway Pro — Changelog `meteorgpl-plugin/woocommerce-custom-payment-gateway-pro` · 50 releases, newest first, as published by the vendor. ## 4.0.1 Fixed: Updated generated gateway handling to verify class definitions before instantiation, helping prevent naming conflicts and fatal errors. ## 4.0.0 Added: API request logs, test request support, retry for failed API requests, and safer sanitized payload previews for custom payment gateway API integrations. Improved: Redesigned the custom checkout field builder with a modern Vue-powered interface, live preview, clearer field settings, and better deprecated field warnings. Improved: File Upload custom fields are now more reliable and secure for collecting payment receipts, screenshots, and proof of manual payments. Improved: Bank Transfer, Manual Payment Link, and Crypto Manual Payment templates now use the File Upload field correctly for optional customer payment proof. Improved: Rebuilt the Custom Payment Gateways settings tab with a modern Vue-powered interface for better gateway creation, template selection, warnings, and gateway management. Added: Conditional display rules for custom payment gateways, allowing gateways to be shown based on cart total, country, shipping method, products, categories, user role, login status, coupons, and currency. Added: Gateway templates for common manual payment workflows, including Bank Transfer, Pay by Invoice, Manual Payment Link, Cash on Pickup, and Crypto Manual Payment. Improved: Template payment details now display as polished checkout instructions, with payment links rendered as buttons, QR code URLs rendered as images, and cleaner separation between merchant instructions and customer input fields. Fixed: Prevented duplicate payment gateway titles and broken empty gateway icons on checkout. Fixed: Gateway templates now correctly separate merchant payment settings from customer checkout fields, preventing payment links, QR codes, bank details, wallet addresses, and pickup instructions from being shown as customer input fields. ## 3.2.0 Deprecated: The Credit Card custom field is now deprecated and can no longer be added to new custom payment gateways. Deprecated: Existing gateways that already use the Credit Card field will temporarily continue to work in Legacy Mode, but this field will be removed completely in the next update. Store owners should replace it with a secure card payment provider such as Stripe, PayPal, WooPayments, Authorize.Net, or another tokenized payment solution. Security: Improved log sanitization for payment field data. Added: Admin warnings for stores using deprecated Credit Card fields. Added: Customer checkout field data is now persisted with orders. Added: Subscription renewal support for custom payment gateways. Added: Gateway icon support for WooCommerce Blocks checkout. Added: Danish translation files. Added: Norwegian translation files with nb locale support and fallback handling. Fixed: WooCommerce Blocks checkout script loading. Fixed: Declared WooCommerce Blocks registry dependency. Fixed: Asset version handling and improved CSS styling for payment fields. Fixed: Empty fieldsets are no longer printed when a gateway has no custom form fields. Improved: API option text and admin settings clarity. ## 3.1.1 - Fixed: Additional PHP Fatal error when HPOS is not enabled. ## 3.1.0 - Added: WooCommerce Checkout Blocks support for generated gateways. - Fixed: PHP Fatal error when HPOS is not enabled. ## 3.0.0 - Added: WooCommerce Checkout Blocks support. - Fixed: PHP deprecations warnings. ## 2.9.0 - Added: Add cc card expiry date validation. - Fixed: delete payment information was not working - Fixed: Not adding payment info in admin emails. - Fixed: API headers were not saving. - Fixed: Delete custom gateway with special characters in the name. ## 2.8.1 - Fixed: Fatal error when adding a new product. ## 2.8.0 - ADDED: WooCommerce HPOS support. ## 2.7.0 - ADDED: API URL filter hook `custom_payment_gateways_api_url` - ADDED: payment method title to payment information. - ADDED adding support for the WCFM plugin. - FIXED: do not reduce stock when order status is pending. - Declaring support for WooCommerce High-Performance Order Storage ## 2.6.0 - ADDED: File upload checkout field. ## 2.5.0 - ADDED: adding custom_payment_gateways_validate_field filter to add custom validation - ADDED: adding payment info to the invoice generated by the WooCommerce PDF Invoices Packing Slips plugin. - ADDED: add gateway_id to the custom_payment_gateways_api_data and custom_payment_gateways_json_post_headers filters. - FIXED: undefined variable error. - FIXED: mask credit card number when sending emails. - FIXED: License handler update URL. ## 2.4.1 - FIXED: A new plugin updater API endpoint. ## 2.4.0 - ADDED: You can now have the option not to start the payment infromation in the Database. - Updated: Plugin Updater update to the latest version. ## 2.3.1 - FIXED: fix headers appending on POST and content type JSON. ## 2.3.0 - ADDED: Now you can add headers to API requests from the plugin settings page. - FIXED: reduce stock only if not redirecting the user. ## 2.2.0 - ADDED: credit card validation filter: `custom_payment_gateways_validate_card_number` - FIXED: Update the order status. ## 2.1.1 - FIXED: Fix adding data to POST requests. ## 2.1.0 - ADDED: Add parsable values to select field value. {order_amount} added. - FIXED: Escape the fields name and description in checkout. - FIXED: Getting fields label ## 2.0.5 - FIXED: Fields at checkout were displaying the number 1 as a suffix. ## 2.0.4 - FIXED: Change multiple gateways saved data for no collision. - FIXED: CSS non-unique to the plugin rules. ## 2.0.3 - FIXED: Adapting the new data structure when adding the Payment information to the emails. - FIXED: CSS non-unique to the plugin rules. ## 2.0.2 - FIXED: PHP 5.6 compatibility. ## 2.0.1 - FIXED: storing Credit Card data. ## 2.0.0 - ADDED: Form Builder: Signature field to collect customers signature. - ADDED: Form Builder: Password field. - ADDED: Customer ID in the WooCommerce Parameters in the API request builder. - ADDED: `custom_payment_gateways_api_url` filter hook to change the API url. - ADDED: `custom_payment_gateways_json_post_headers` filter hook to change the headers of API requests. - ADDED: Allow date picker to choose year and month. - IMPROVED: Payment data storage. - FIXED: Date was not active for multiple gateways. - FIXED: Including frontend styles and javascript only in the checkout page. - FIXED: HTML escaping in the instructions field. ## 1.3.12 - FIXED: The js was loaded everywhere in admin, now limited to the settings page ## 1.3.11 - ADDED: Address line 1 and 2 in WooCommerce API parameters. ## 1.3.10 - ADDED: Allow filters to modify all api keys. ## 1.3.9 - FIXED: addding upgrades process to preserve gateway keys ## 1.3.8 - ADDED: adding a new hook to process returned URL ## 1.3.7 - FIXED: renaming the wc_data filter hook. ## 1.3.5 - FIXED: add Time field in the form builder ## 1.3.4 - FIXED: remove unnecessary strings ## 1.3.3 - ADDED: localization support - FIXED: WC 3.0 Support ## 1.3.2 - FIXED: Adding WPMU support. ## 1.3.1 - FIXED: incompatibility with Aryo Activity Log plugin ## 1.3.0 - ADDED: Add Order information to the API call - FIXED: PHP compatiblity. ## 1.2.7 - FIXED: replacing CC validator algorithm ## 1.2.6 - ADDED: validation of credit card numbers. ## 1.2.5 - ADDED: delete link in order's page to remove payment info. - FIXED: conflict with themes ## 1.2.4 - FIXED: fix order details email PHP warning ## 1.2.3 - FIXED: makes the CC form required. - FIXED: CC Form empty values issue in WC 2.6+ ## 1.2.2 - ADDED: WooCommerce 2.6+ compatibility. - ADDED: A new option to add payment information to WooCommerce emails. - FIXED: PHP warning messages. ## 1.2.1 FIXED: PHP warnings. ## 1.2.0 ADDED: Add unlimited number of custom gateways. ## 1.0.4 - FIXED: prevent the gateway to send customer note when empty. - RENAMED: Gateway name to `Custom Payment Pro` ## 1.0.3 - ReBrand the plugin to WPRuby ## 1.0.2 - FIXED: Gateway icon aligned vertically at the middle. - FIXED: Adding the customer message to the checkout page. - FIXED: Making the Required option default value "No". - FIXED: Making the select field with auto. ## 1.0.1 - Add i18n support. - Add Croatian language translation (Thanks to Sanjin Barac) ## 1.0 - Initial release.