== Changelog == = 1.3.0 2026-05-28 = * Fixed - API singleton returning wrong credentials when a site uses both Global and Form Configuration with different keys. * Fixed - `rgar()` argument order in `complete_payment()` that broke delayed feed triggering after payment completion. * Added - `WP_Error` and HTTP status code handling in the API client for robust error handling. * Added - `get_credentials_for_feed()` helper to centralize credential resolution across payment flows. * Added - Unit tests for `GF_Chip` core logic (credentials, callback actions, timezone). * Added - PHP 8.5 to the CI compatibility matrix. * Added - CONTRIBUTING.md and CLAUDE.md for developer documentation. * Added - `.wordpress-org/` assets directory for WordPress.org plugin page banners and screenshots. * Changed - Bumped "Tested up to" to WordPress 7.0. * Changed - Modernized CI/CD workflows: deploy.yml, prepare-release.yml, pr-summary.yml. * Removed - composer.lock from git tracking to reduce merge conflicts. = 1.2.0 2026-02-20 = * Fixed - Global configuration (Brand ID and Secret Key) not saved when saving settings. * Fixed - Fatal error when GFAddon expected full path; plugin now works with Gravity Forms addon loader. * Fixed - Application files not permitted (WordPress Plugin Check compatibility). * Added - "Copy from global configuration" button in form feed settings when using Form Configuration. * Added - Account status block in form configuration to verify Brand ID and Secret Key. * Added - Form settings image in global CHIP description. * Added - Public key support: store CHIP public key by company ID when saving global or form settings; verify webhook signature when key is available and use payload directly, with fallback to get_payment. * Added - Per-payment lock on callback to prevent duplicate processing while allowing other payments to run in parallel. * Added - Refund button now requires user confirmation before processing the refund. * Changed - Minimum WordPress version set to 6.3. = 1.1.2 2025-11-12 = * Fixed - Fix issue when the failed payment are re-attempted. = 1.1.1 2025-04-24 = * Fixed - Fix issue with Paid Amount when amount greater than 1,000. = 1.1.0 2025-01-06 = * Fixed - Fix issue with Delay Post = 1.0.7 2024-05-30 = * Added - Add cancel_redirect for handling cancel event = 1.0.6 2024-05-17 = * Added - Toggle button to enable refund feature = 1.0.5 2024-04-30 = * Fixed - Fixed warning when using PHP 8.x * Changed - Refund button now are colored with red * Changed - Bump WordPress tested up to version 6.5 = 1.0.4 2023-06-22 = * Added - Support for Gravity Forms User Registration Add-On = 1.0.3 2023-02-22 = * Added - Hooks for customization of purchases parameter. = 1.0.2 2022-12-15 = * Added - Feature for setting reference value. = 1.0.1 2022-11-20 = * Add - Note when payment is made using test mode. * Tweak - Change platform value to gravityforms. * Fix - Refund still shown success even failed. = 1.0.0 2022-10-20 = * Initial release