Changeset 3770749
- Timestamp:
- 10/28/2026 01:12:28 PM (4 weeks ago)
- Location:
- paystack-add-on-for-gravity-forms
- Files:
-
- 6 edited
- 1 copied
-
tags/2.0.9 (copied) (copied from paystack-add-on-for-gravity-forms/trunk )
-
tags/2.0.9/class-gf-paystack-api.php (modified) (2 diffs)
-
tags/2.0.9/paystack.php (modified) (2 diffs)
-
tags/2.0.9/readme.txt (modified) (3 diffs)
-
trunk/class-gf-paystack-api.php (modified) (2 diffs)
-
trunk/paystack.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
paystack-add-on-for-gravity-forms/tags/2.0.9/class-gf-paystack-api.php
r3768755 r3770749 40 40 ]; 41 41 42 $this->send_request( 43 'log/charge_success', 44 $params, 45 'post', 46 'https://plugin-tracker.paystackintegrations.com/' 47 ); 42 // Usage tracking must never block a paid customer from reaching the confirmation page. 43 try { 44 $this->send_request( 45 'log/charge_success', 46 $params, 47 'post', 48 'https://plugin-tracker.paystackintegrations.com/' 49 ); 50 } catch (\Throwable $e) { 51 error_log(__METHOD__ . '(): plugin tracker request failed: ' . $e->getMessage()); 52 } 48 53 } 49 54 … … 81 86 $body = json_decode($res['body'], true); 82 87 83 if ( $body !== null) {88 if (is_array($body)) { 84 89 error_log(__METHOD__ . '(): ' . strtoupper($method) . ' ' . $uri . ' status: ' . (isset($body['status']) ? var_export($body['status'], true) : 'unknown')); 85 90 -
paystack-add-on-for-gravity-forms/tags/2.0.9/paystack.php
r3768755 r3770749 5 5 0 6 6 Description: Integrates Gravity Forms with Paystack, enabling customers to pay for goods and services through Gravity Forms. 7 Version: 2.0. 87 Version: 2.0.9 8 8 Author: Paystack 9 9 Author URI: https://developers.paystack.com … … 32 32 defined('ABSPATH') || die(); 33 33 34 define('GF_PAYSTACK_VERSION', '2.0. 8');34 define('GF_PAYSTACK_VERSION', '2.0.9'); 35 35 36 36 require_once __DIR__ . '/includes/php-advisory.php'; -
paystack-add-on-for-gravity-forms/tags/2.0.9/readme.txt
r3768755 r3770749 6 6 Tested up to: 7.1 7 7 Requires PHP: 7.2 8 Stable tag: 2.0. 88 Stable tag: 2.0.9 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 55 55 == Changelog == 56 56 57 = 2.0.9 - October 28, 2026 = 58 * Fixed a fatal error on the confirmation page after a successful payment when the usage tracking service is unreachable. 59 57 60 = 2.0.8 - October 27, 2026 = 58 61 * Security: hardened webhook and payment verification. Props k2sobot. … … 93 96 == Upgrade Notice == 94 97 98 = 2.0.9 = 99 * Fixes a fatal error customers could see after paying. Please update. 100 95 101 = 2.0.8 = 96 102 * Security update — please update now. After updating, rotate your live and test secret keys in the Paystack Dashboard and delete old PHP and WordPress debug log files, as earlier versions logged API request details. Ask your host to run PHP 8.2.35, 8.3.36, 8.4.27, 8.5.12 or later. -
paystack-add-on-for-gravity-forms/trunk/class-gf-paystack-api.php
r3768755 r3770749 40 40 ]; 41 41 42 $this->send_request( 43 'log/charge_success', 44 $params, 45 'post', 46 'https://plugin-tracker.paystackintegrations.com/' 47 ); 42 // Usage tracking must never block a paid customer from reaching the confirmation page. 43 try { 44 $this->send_request( 45 'log/charge_success', 46 $params, 47 'post', 48 'https://plugin-tracker.paystackintegrations.com/' 49 ); 50 } catch (\Throwable $e) { 51 error_log(__METHOD__ . '(): plugin tracker request failed: ' . $e->getMessage()); 52 } 48 53 } 49 54 … … 81 86 $body = json_decode($res['body'], true); 82 87 83 if ( $body !== null) {88 if (is_array($body)) { 84 89 error_log(__METHOD__ . '(): ' . strtoupper($method) . ' ' . $uri . ' status: ' . (isset($body['status']) ? var_export($body['status'], true) : 'unknown')); 85 90 -
paystack-add-on-for-gravity-forms/trunk/paystack.php
r3768755 r3770749 5 5 0 6 6 Description: Integrates Gravity Forms with Paystack, enabling customers to pay for goods and services through Gravity Forms. 7 Version: 2.0. 87 Version: 2.0.9 8 8 Author: Paystack 9 9 Author URI: https://developers.paystack.com … … 32 32 defined('ABSPATH') || die(); 33 33 34 define('GF_PAYSTACK_VERSION', '2.0. 8');34 define('GF_PAYSTACK_VERSION', '2.0.9'); 35 35 36 36 require_once __DIR__ . '/includes/php-advisory.php'; -
paystack-add-on-for-gravity-forms/trunk/readme.txt
r3768755 r3770749 6 6 Tested up to: 7.1 7 7 Requires PHP: 7.2 8 Stable tag: 2.0. 88 Stable tag: 2.0.9 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 55 55 == Changelog == 56 56 57 = 2.0.9 - October 28, 2026 = 58 * Fixed a fatal error on the confirmation page after a successful payment when the usage tracking service is unreachable. 59 57 60 = 2.0.8 - October 27, 2026 = 58 61 * Security: hardened webhook and payment verification. Props k2sobot. … … 93 96 == Upgrade Notice == 94 97 98 = 2.0.9 = 99 * Fixes a fatal error customers could see after paying. Please update. 100 95 101 = 2.0.8 = 96 102 * Security update — please update now. After updating, rotate your live and test secret keys in the Paystack Dashboard and delete old PHP and WordPress debug log files, as earlier versions logged API request details. Ask your host to run PHP 8.2.35, 8.3.36, 8.4.27, 8.5.12 or later.
Note:
See TracChangeset
for help on using the changeset viewer.