Skip to content

Commit dd48ba7

Browse files
committed
Add support for Gravity Forms User Registration Add-On
1 parent 21c0398 commit dd48ba7

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed

chip-for-gravity-forms.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Plugin Name: CHIP for Gravity Forms
55
* Plugin URI: https://wordpress.org/plugins/chip-for-woocommerce/
66
* Description: CHIP - Better Payment & Business Solutions
7-
* Version: 1.0.3
7+
* Version: 1.0.4
88
* Author: Chip In Sdn Bhd
99
* Author URI: http://www.chip-in.asia
1010
*
@@ -15,7 +15,7 @@
1515

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

18-
define( 'GF_CHIP_MODULE_VERSION', 'v1.0.3');
18+
define( 'GF_CHIP_MODULE_VERSION', 'v1.0.4');
1919
define( 'GF_CHIP_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
2020

2121
add_action( 'gform_loaded', array( 'GF_CHIP_Bootstrap', 'load_addon' ), 5 );

class-gf-chip.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,20 +55,20 @@ public function init() {
5555
}
5656

5757
public function get_post_payment_actions_config( $feed_slug ) {
58-
if ($feed_slug != $this->_slug) {
59-
return array();
60-
}
58+
// if ($feed_slug != $this->_slug) {
59+
// return array();
60+
// }
6161

62-
$form = $this->get_current_form();
62+
// $form = $this->get_current_form();
6363

64-
if ( GFCommon::has_post_field( $form['fields'] ) ) {
64+
// if ( GFCommon::has_post_field( $form['fields'] ) ) {
6565
return array(
6666
'position' => 'before',
6767
'setting' => 'conditionalLogic',
6868
);
69-
}
69+
// }
7070

71-
return array();
71+
// return array();
7272
}
7373

7474
public function supported_currencies( $currencies ) {

readme.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: chipasia, wanzulnet
33
Tags: chip
44
Requires at least: 4.7
55
Tested up to: 6.2
6-
Stable tag: 1.0.3
6+
Stable tag: 1.0.4
77
Requires PHP: 7.1
88
License: GPLv3
99
License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -25,6 +25,9 @@ CHIP is a payment and business solutions platform that allow you to securely sel
2525

2626
== Changelog ==
2727

28+
= 1.0.4 - 2023-06-22 =
29+
* Added - Support for Gravity Forms User Registration Add-On
30+
2831
= 1.0.3 - 2023-02-22 =
2932
* Added - Hooks for customization of purchases parameter.
3033

0 commit comments

Comments
 (0)