Plugin Directory

Changeset 3384596


Ignore:
Timestamp:
10/26/2025 04:05:37 AM (3 months ago)
Author:
webaware
Message:

GF Windcave Free 2.6.1

  • fixed: deferred actions not being deferred in Gravity Forms 2.9.20
Location:
gravity-forms-dps-pxpay/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • gravity-forms-dps-pxpay/trunk/changelog.md

    r3187112 r3384596  
    22
    33## Changelog
     4
     5### 2.6.1, 2025-10-27
     6
     7* fixed: deferred actions not being deferred in Gravity Forms 2.9.20
    48
    59### 2.6.0, 2024-11-13
  • gravity-forms-dps-pxpay/trunk/gravityforms-dps-pxpay.php

    r3187112 r3384596  
    44Plugin URI: https://wordpress.org/plugins/gravity-forms-dps-pxpay/
    55Description: Easily create online payment forms with Gravity Forms and Windcave (DPS Payment Express) PxPay
    6 Version: 2.6.0
     6Version: 2.6.1
    77Author: WebAware
    88Author URI: https://shop.webaware.com.au/
     
    1111
    1212/*
    13 copyright (c) 2013-2024 WebAware Pty Ltd (email : [email protected])
     13copyright (c) 2013-2025 WebAware Pty Ltd (email : [email protected])
    1414
    1515This program is free software; you can redistribute it and/or
     
    3737define('GFDPSPXPAY_PLUGIN_FILE', __FILE__);
    3838define('GFDPSPXPAY_PLUGIN_MIN_PHP', '7.4');
    39 define('GFDPSPXPAY_PLUGIN_VERSION', '2.6.0');
     39define('GFDPSPXPAY_PLUGIN_VERSION', '2.6.1');
    4040
    4141require GFDPSPXPAY_PLUGIN_ROOT . 'includes/functions-global.php';
  • gravity-forms-dps-pxpay/trunk/includes/class.GFDpsPxPayAddOn.php

    r3187112 r3384596  
    719719            if ($response->isValid && !empty($response->URI)) {
    720720                $this->urlPaymentForm = $response->URI;
    721                 GFFormsModel::update_lead_property($entry['id'], 'payment_status', 'Processing');
    722721                $entry['payment_status']    = 'Processing';
    723722            }
     
    849848            gform_update_meta($entry['id'], META_UNIQUE_ID, GFFormsModel::get_form_unique_id($form['id']));
    850849        }
     850
     851        // mark entry as processing
     852        GFAPI::update_entry_property($entry['id'], 'payment_status', 'Processing');
    851853
    852854        return $this->urlPaymentForm;
     
    11371139                        case 'success':     // delay if there is something to charge, and execute if transaction was successful
    11381140                        case 'always':      // delay if there is something to charge, and then always execute
    1139                             $is_delayed = $entry['payment_status'] === 'Processing' && !empty($feed['meta']['delay_' . $addon_slug]);
     1141                            $payment_status = rgar($entry, 'payment_status') ?: 'Processing';
     1142                            $is_delayed = $payment_status === 'Processing' && !empty($feed['meta']['delay_' . $addon_slug]);
    11401143                            break;
    11411144
     
    13931396            $entry = $this->requestRedirectUrl($entry, $form);
    13941397            if ($entry['payment_status'] === 'Processing') {
     1398                // mark entry as processing in the database, where it will currently be Failed
     1399                GFAPI::update_entry_property($entry['id'], 'payment_status', 'Processing');
     1400
    13951401                wp_redirect($this->urlPaymentForm);
    13961402                exit;
  • gravity-forms-dps-pxpay/trunk/includes/class.GFDpsPxPayPlugin.php

    r2741419 r3384596  
    3838    public function pluginStart() {
    3939        add_action('gform_loaded', [$this, 'addonInit']);
    40         add_action('init', 'gf_dpspxpay_load_text_domain', 8);  // use priority 8 to get in before our add-on uses translated text
    4140        add_action('admin_notices', [$this, 'checkPrerequisites']);
    4241        add_filter('plugin_row_meta', [$this, 'pluginDetailsLinks'], 10, 2);
  • gravity-forms-dps-pxpay/trunk/readme.txt

    r3264942 r3384596  
    99Requires at least: 4.9
    1010Tested up to: 6.8
    11 Stable tag: 2.6.0
     11Stable tag: 2.6.1
    1212Requires PHP: 7.4
    1313License: GPLv2 or later
     
    150150## Upgrade Notice
    151151
    152 ### 2.6.0
     152### 2.6.1
    153153
    154 fixed duplicate record of transaction completion in Gravity Forms; new feed maps email field by default; feeds will be duplicated when form is duplicated
     154fixed deferred actions not being deferred in Gravity Forms 2.9.20
    155155
    156156## Changelog
     
    158158[The full changelog can be found on GitHub](https://github.com/webaware/gravity-forms-dps-pxpay/blob/master/changelog.md). Recent entries:
    159159
    160 ### 2.6.0
     160### 2.6.1
    161161
    162 Released 2024-11-13
     162Released 2025-10-27
    163163
    164 * fixed: duplicate record of transaction completion in Gravity Forms
    165 * fixed: new feed stopped mapping email field by default
    166 * added: feeds will be duplicated when form is duplicated
     164* fixed: deferred actions not being deferred in Gravity Forms 2.9.20
Note: See TracChangeset for help on using the changeset viewer.