Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ jobs:
id: prev_tag
run: |
PREVIOUS_TAG=$(git tag -l 'v*' --sort=-v:refname | head -n 1 || echo "")
if [ -z "$PREVIOUS_TAG" ]; then
PREVIOUS_TAG=$(git tag -l 'gravity-forms-upload-v*' --sort=-v:refname | head -n 1 || echo "")
fi
echo "tag=$PREVIOUS_TAG" >> "$GITHUB_OUTPUT"
echo "📎 Previous tag: ${PREVIOUS_TAG:-none}"

Expand Down
15 changes: 14 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
== 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.
Expand Down Expand Up @@ -47,4 +60,4 @@
* Fix - Refund still shown success even failed.

= 1.0.0 2022-10-20 =
* Initial release
* Initial release
6 changes: 3 additions & 3 deletions chip-for-gravity-forms.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
* Plugin Name: CHIP for Gravity Forms
* Plugin URI: https://wordpress.org/plugins/chip-for-gravity-forms/
* Description: CHIP - Digital Finance Platform
* Version: 1.2.0
* Version: 1.3.0
* Author: Chip In Sdn Bhd
* Author URI: http://www.chip-in.asia
* Author URI: https://www.chip-in.asia
*
* Copyright: © 2026 CHIP
* License: GNU General Public License v3.0
Expand All @@ -18,7 +18,7 @@

defined( 'ABSPATH' ) || die();

define( 'GF_CHIP_MODULE_VERSION', 'v1.2.0' );
define( 'GF_CHIP_MODULE_VERSION', 'v1.3.0' );
define( 'GF_CHIP_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
define( 'GF_CHIP_PLUGIN_FILE', __FILE__ );

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chip-for-gravity-forms",
"version": "1.2.0",
"version": "1.3.0",
"description": "<img src=\"./assets/logo.svg\" alt=\"drawing\" width=\"50\"/>",
"main": "index.js",
"scripts": {
Expand Down
25 changes: 13 additions & 12 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: chipasia, wanzulnet
Tags: chip, gravity forms, payment, fpx, payment gateway
Requires at least: 6.3
Tested up to: 7.0
Stable tag: 1.2.0
Stable tag: 1.3.0
Requires PHP: 7.4
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Expand Down Expand Up @@ -52,17 +52,18 @@ Integrate your Gravity Forms with CHIP as documented in our [API Documentation](

== Changelog ==

= 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.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.

[See changelog for all versions](https://github.com/CHIPAsia/chip-for-gravity-forms/releases).

Expand Down