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
7 changes: 7 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
*** PayFast Changelog ***

= 1.7.4 - 2025-11-03 =
* Dev - Bump WooCommerce "tested up to" version 10.3.
* Dev - Bump WooCommerce minimum supported version to 10.1.
* Dev - Run PHP Compatibility sniffs against production build in GitHub action.
* Dev - Updates to our QIT GitHub Action workflow.
* Dev - Add new deploy workflow.

= 1.7.3 - 2025-08-11 =
* Dev - Bump WooCommerce "tested up to" version 10.1.
* Dev - Bump WooCommerce minimum supported version to 9.9.
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "woocommerce-gateway-payfast",
"title": "WooCommerce Gateway Payfast",
"version": "1.7.3",
"version": "1.7.4",
"license": "GPL-3.0",
"homepage": "https://wordpress.org/plugins/woocommerce-payfast-gateway/",
"repository": {
Expand Down
9 changes: 8 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: credit card, payfast, payment request, woocommerce, automattic
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.7.3
Stable tag: 1.7.4
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -67,6 +67,13 @@ No, but to open a Payfast account, you’ll need a South African bank account to

== Changelog ==

= 1.7.4 - 2025-11-03 =
* Dev - Bump WooCommerce "tested up to" version 10.3.
* Dev - Bump WooCommerce minimum supported version to 10.1.
* Dev - Run PHP Compatibility sniffs against production build in GitHub action.
* Dev - Updates to our QIT GitHub Action workflow.
* Dev - Add new deploy workflow.

= 1.7.3 - 2025-08-11 =
* Dev - Bump WooCommerce "tested up to" version 10.1.
* Dev - Bump WooCommerce minimum supported version to 9.9.
Expand Down
4 changes: 2 additions & 2 deletions woocommerce-gateway-payfast.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Description: Receive payments using the South African Payfast payments provider.
* Author: WooCommerce
* Author URI: https://woocommerce.com/
* Version: 1.7.3
* Version: 1.7.4
* Requires at least: 6.7
* Tested up to: 6.8
* WC requires at least: 10.1
Expand All @@ -19,7 +19,7 @@

defined( 'ABSPATH' ) || exit;

define( 'WC_GATEWAY_PAYFAST_VERSION', '1.7.3' ); // WRCS: DEFINED_VERSION.
define( 'WC_GATEWAY_PAYFAST_VERSION', '1.7.4' ); // WRCS: DEFINED_VERSION.
define( 'WC_GATEWAY_PAYFAST_URL', untrailingslashit( plugins_url( '/', __FILE__ ) ) );
define( 'WC_GATEWAY_PAYFAST_PATH', untrailingslashit( plugin_dir_path( __FILE__ ) ) );

Expand All @@ -35,7 +35,7 @@

require_once plugin_basename( 'includes/class-wc-gateway-payfast.php' );
require_once plugin_basename( 'includes/class-wc-gateway-payfast-privacy.php' );
load_plugin_textdomain( 'woocommerce-gateway-payfast', false, trailingslashit( dirname( plugin_basename( __FILE__ ) ) ) );

Check failure on line 38 in woocommerce-gateway-payfast.php

View workflow job for this annotation

GitHub Actions / test

PluginCheck.CodeAnalysis.DiscouragedFunctions.load_plugin_textdomainFound

load_plugin_textdomain() has been discouraged since WordPress version 4.6. When your plugin is hosted on WordPress.org, you no longer need to manually include this function call for translations under your plugin slug. WordPress will automatically load the translations for you as needed.
add_filter( 'woocommerce_payment_gateways', 'woocommerce_payfast_add_gateway' );
}
add_action( 'plugins_loaded', 'woocommerce_payfast_init', 0 );
Expand Down
Loading