Changeset 3459640
- Timestamp:
- 02/12/2026 08:15:04 AM (7 weeks ago)
- Location:
- ecommpay-payments/trunk
- Files:
-
- 4 edited
-
common/EcpCore.php (modified) (1 diff)
-
common/includes/EcpCallbacksHandler.php (modified) (2 diffs)
-
gateway-ecommpay.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ecommpay-payments/trunk/common/EcpCore.php
r3449399 r3459640 61 61 * @since 2.0.0 62 62 */ 63 public const WC_ECP_VERSION = '4.2. 2';63 public const WC_ECP_VERSION = '4.2.3'; 64 64 65 65 public const ECOMMPAY_PAYMENT_METHOD = 'ecommpay'; -
ecommpay-payments/trunk/common/includes/EcpCallbacksHandler.php
r3449399 r3459640 6 6 use common\helpers\EcpGatewayOperationStatus; 7 7 use common\helpers\EcpGatewayOperationType; 8 use common\helpers\WCOrderStatus; 8 9 use common\includes\callbackOperations\EcpAuthOperationHandler; 9 10 use common\includes\callbackOperations\EcpCancelOperationHandler; … … 299 300 case EcpGatewayOperationStatus::INTERNAL_ERROR: 300 301 case EcpGatewayOperationStatus::EXTERNAL_ERROR: 301 $this->order_manager->decline_order( $callback, $order ); 302 303 // Prevents rewrite of the order status to Decline if the order is already paid by other payment method and has status Processing, Completed or On Hold. 304 if ( in_array( $order->get_status(), [ WCOrderStatus::ON_HOLD, WCOrderStatus::PROCESSING, WCOrderStatus::COMPLETED ], true ) ) { 305 $order->add_order_note( __( 'The payment has failed, but the order has already been paid by other payment method.', 'woo-ecommpay' ) ); 306 $this->order_manager->append_order_errors( $callback, $order ); 307 return; 308 } 309 310 $this->order_manager->decline_order( $callback, $order ); 302 311 break; 303 312 } -
ecommpay-payments/trunk/gateway-ecommpay.php
r3449399 r3459640 5 5 * GitHub Plugin URI: 6 6 * Description: Easy payment from WooCommerce by different methods in single Payment Page. 7 * Version: 4.2. 27 * Version: 4.2.3 8 8 * License: GPL2 9 9 * License URI: https://www.gnu.org/licenses/gpl-2.0.html -
ecommpay-payments/trunk/readme.txt
r3449399 r3459640 4 4 Requires at least: 6.2 5 5 Tested up to: 6.9 6 Stable tag: 4.2. 26 Stable tag: 4.2.3 7 7 License: GPLv2 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset
for help on using the changeset viewer.