Changeset 3417521
- Timestamp:
- 12/11/2025 03:15:04 PM (3 months ago)
- Location:
- gestpay-for-woocommerce
- Files:
-
- 6 edited
- 1 copied
-
tags/20251211 (copied) (copied from gestpay-for-woocommerce/trunk)
-
tags/20251211/gestpay-for-woocommerce.php (modified) (1 diff)
-
tags/20251211/inc/class-gestpay-3DS2.php (modified) (1 diff)
-
tags/20251211/readme.txt (modified) (2 diffs)
-
trunk/gestpay-for-woocommerce.php (modified) (1 diff)
-
trunk/inc/class-gestpay-3DS2.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
gestpay-for-woocommerce/tags/20251211/gestpay-for-woocommerce.php
r3411140 r3417521 4 4 * Plugin URI: http://wordpress.org/plugins/gestpay-for-woocommerce/ 5 5 * Description: Abilita il sistema di pagamento GestPay by Axerve (Gruppo Banca Sella) in WooCommerce. 6 * Version: 202512 046 * Version: 20251211 7 7 * Requires at least: 4.7 8 8 * Requires PHP: 7.0 -
gestpay-for-woocommerce/tags/20251211/inc/class-gestpay-3DS2.php
r3291597 r3417521 593 593 // Contains the details of a previous authenticated transaction for the same cardholder on the same merchant. 594 594 // If present, it can help to increase the chances of a frictionless authentication. 595 $previousTransDetails = array(); 596 597 $bankTransactionID = self::get_bankTransactionID( $order, $scheduled_payment ); 598 if ( !empty( $bankTransactionID ) ) { 599 $previousTransDetails['bankTransactionID'] = $bankTransactionID; 600 } 601 602 if ( $ws_type == 'WsS2S' ) { // These are only for WsS2S API 603 $cardholderID = get_current_user_id(); 604 self::maybe_add_user_transDetails( $previousTransDetails, $cardholderID, 'authData' ); 605 self::maybe_add_user_transDetails( $previousTransDetails, $cardholderID, 'authMethod' ); 606 self::maybe_add_user_transDetails( $previousTransDetails, $cardholderID, 'authTimestamp' ); 607 self::maybe_add_user_transDetails( $previousTransDetails, $cardholderID, 'acsID' ); 608 // - @N/A - XID 609 } 610 611 if ( !empty( $previousTransDetails ) ) { 612 $params->transDetails['previousTransDetails'] = $previousTransDetails; 595 if ($type === "01N") { 596 $previousTransDetails = array(); 597 598 $bankTransactionID = self::get_bankTransactionID( $order, $scheduled_payment ); 599 if ( !empty( $bankTransactionID ) ) { 600 $previousTransDetails['bankTransactionID'] = $bankTransactionID; 601 } 602 603 if ( $ws_type == 'WsS2S' ) { // These are only for WsS2S API 604 $cardholderID = get_current_user_id(); 605 self::maybe_add_user_transDetails( $previousTransDetails, $cardholderID, 'authData' ); 606 self::maybe_add_user_transDetails( $previousTransDetails, $cardholderID, 'authMethod' ); 607 self::maybe_add_user_transDetails( $previousTransDetails, $cardholderID, 'authTimestamp' ); 608 self::maybe_add_user_transDetails( $previousTransDetails, $cardholderID, 'acsID' ); 609 // - @N/A - XID 610 } 611 612 if ( !empty( $previousTransDetails ) ) { 613 $params->transDetails['previousTransDetails'] = $previousTransDetails; 614 } 613 615 } 614 616 -
gestpay-for-woocommerce/tags/20251211/readme.txt
r3411140 r3417521 5 5 Requires PHP: 7.0 6 6 Tested up to : 6.9 7 Stable tag: 202512 047 Stable tag: 20251211 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 107 107 - Removed warnings about partial blocks support 108 108 109 = 20251211 = 110 * Fix: Removed PreviousTransDetails section for EC transaction type to prevent sending invalid bankTransactionID that caused failures in 3DS flow. 111 * Fix: For 01F subscription transactions, the bankTransactionID field is now nullified, as requested by Axerve/Fabrick. 112 * Improvement: Maintained correct handling of 01N scenario, which continues to use the bankTransactionID from the 01F transaction for subscription continuity. 113 109 114 = 20251110 = 110 115 * Update: Compatibility information update -
gestpay-for-woocommerce/trunk/gestpay-for-woocommerce.php
r3411140 r3417521 4 4 * Plugin URI: http://wordpress.org/plugins/gestpay-for-woocommerce/ 5 5 * Description: Abilita il sistema di pagamento GestPay by Axerve (Gruppo Banca Sella) in WooCommerce. 6 * Version: 202512 046 * Version: 20251211 7 7 * Requires at least: 4.7 8 8 * Requires PHP: 7.0 -
gestpay-for-woocommerce/trunk/inc/class-gestpay-3DS2.php
r3291597 r3417521 593 593 // Contains the details of a previous authenticated transaction for the same cardholder on the same merchant. 594 594 // If present, it can help to increase the chances of a frictionless authentication. 595 $previousTransDetails = array(); 596 597 $bankTransactionID = self::get_bankTransactionID( $order, $scheduled_payment ); 598 if ( !empty( $bankTransactionID ) ) { 599 $previousTransDetails['bankTransactionID'] = $bankTransactionID; 600 } 601 602 if ( $ws_type == 'WsS2S' ) { // These are only for WsS2S API 603 $cardholderID = get_current_user_id(); 604 self::maybe_add_user_transDetails( $previousTransDetails, $cardholderID, 'authData' ); 605 self::maybe_add_user_transDetails( $previousTransDetails, $cardholderID, 'authMethod' ); 606 self::maybe_add_user_transDetails( $previousTransDetails, $cardholderID, 'authTimestamp' ); 607 self::maybe_add_user_transDetails( $previousTransDetails, $cardholderID, 'acsID' ); 608 // - @N/A - XID 609 } 610 611 if ( !empty( $previousTransDetails ) ) { 612 $params->transDetails['previousTransDetails'] = $previousTransDetails; 595 if ($type === "01N") { 596 $previousTransDetails = array(); 597 598 $bankTransactionID = self::get_bankTransactionID( $order, $scheduled_payment ); 599 if ( !empty( $bankTransactionID ) ) { 600 $previousTransDetails['bankTransactionID'] = $bankTransactionID; 601 } 602 603 if ( $ws_type == 'WsS2S' ) { // These are only for WsS2S API 604 $cardholderID = get_current_user_id(); 605 self::maybe_add_user_transDetails( $previousTransDetails, $cardholderID, 'authData' ); 606 self::maybe_add_user_transDetails( $previousTransDetails, $cardholderID, 'authMethod' ); 607 self::maybe_add_user_transDetails( $previousTransDetails, $cardholderID, 'authTimestamp' ); 608 self::maybe_add_user_transDetails( $previousTransDetails, $cardholderID, 'acsID' ); 609 // - @N/A - XID 610 } 611 612 if ( !empty( $previousTransDetails ) ) { 613 $params->transDetails['previousTransDetails'] = $previousTransDetails; 614 } 613 615 } 614 616 -
gestpay-for-woocommerce/trunk/readme.txt
r3411140 r3417521 5 5 Requires PHP: 7.0 6 6 Tested up to : 6.9 7 Stable tag: 202512 047 Stable tag: 20251211 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 107 107 - Removed warnings about partial blocks support 108 108 109 = 20251211 = 110 * Fix: Removed PreviousTransDetails section for EC transaction type to prevent sending invalid bankTransactionID that caused failures in 3DS flow. 111 * Fix: For 01F subscription transactions, the bankTransactionID field is now nullified, as requested by Axerve/Fabrick. 112 * Improvement: Maintained correct handling of 01N scenario, which continues to use the bankTransactionID from the 01F transaction for subscription continuity. 113 109 114 = 20251110 = 110 115 * Update: Compatibility information update
Note: See TracChangeset
for help on using the changeset viewer.