Changeset 2476636
- Timestamp:
- 02/17/2021 09:53:19 PM (5 years ago)
- Location:
- girocheckout/trunk
- Files:
-
- 4 edited
-
girocheckout.php (modified) (1 diff)
-
library/GiroCheckout_Utility.php (modified) (1 diff)
-
payments/gc_creditcard.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
girocheckout/trunk/girocheckout.php
r2471738 r2476636 10 10 * Plugin Name: GiroCheckout 11 11 * Description: Plugin to integrate the GiroCheckout payment methods into WooCommerce. 12 * Version: 4.1. 312 * Version: 4.1.4 13 13 * Author: GiroSolution GmbH 14 14 * Author URI: http://www.girosolution.de -
girocheckout/trunk/library/GiroCheckout_Utility.php
r2471738 r2476636 19 19 */ 20 20 public static function getVersion() { 21 return '4.1. 3';21 return '4.1.4'; 22 22 } 23 23 -
girocheckout/trunk/payments/gc_creditcard.php
r2471738 r2476636 391 391 } 392 392 393 $aTdsOptionalInfo->email = $strEmail; // Optional email address 394 395 if ($tds2Address != $shipAddressAddress || $tds2City != $shipAddressCity || 396 $tds2Postcode != $shipAddressPostcode || $tds2Country != $shipAddressCountry) { 397 $aTdsOptionalInfo->shippingAddress = new stdClass(); 398 $aTdsOptionalInfo->shippingAddress->country = $shipAddressCountry; 399 $aTdsOptionalInfo->shippingAddress->line1 = $shipAddressAddress; 400 $aTdsOptionalInfo->shippingAddress->city = $shipAddressCity; 401 $aTdsOptionalInfo->shippingAddress->postcode = $shipAddressPostcode; 402 } 403 404 // Shipping address matches billing address, array( "true", "false" ); 405 if ($tds2Address == $shipAddressAddress && $tds2City == $shipAddressCity && 406 $tds2Postcode == $shipAddressPostcode && $tds2Country == $shipAddressCountry) { 407 $aTdsOptionalInfo->addressesMatch = "true"; 408 } else { 409 $aTdsOptionalInfo->addressesMatch = "false"; 393 if (!empty($strEmail)) { 394 $aTdsOptionalInfo->email = $strEmail; // Optional email address 395 } 396 397 if (!empty($shipAddressCountry) && !empty($shipAddressAddress) && 398 !empty($shipAddressCity) && !empty($shipAddressPostcode)) { 399 if ($tds2Address != $shipAddressAddress || $tds2City != $shipAddressCity || 400 $tds2Postcode != $shipAddressPostcode || $tds2Country != $shipAddressCountry) { 401 402 $aTdsOptionalInfo->shippingAddress = new stdClass(); 403 $aTdsOptionalInfo->shippingAddress->country = $shipAddressCountry; 404 $aTdsOptionalInfo->shippingAddress->line1 = $shipAddressAddress; 405 $aTdsOptionalInfo->shippingAddress->city = $shipAddressCity; 406 $aTdsOptionalInfo->shippingAddress->postcode = $shipAddressPostcode; 407 408 // Shipping address matches billing address, array( "true", "false" ); 409 $aTdsOptionalInfo->addressesMatch = "false"; 410 411 } else { 412 // Shipping address matches billing address, array( "true", "false" ); 413 $aTdsOptionalInfo->addressesMatch = "true"; 414 } 410 415 } 411 416 -
girocheckout/trunk/readme.txt
r2471738 r2476636 54 54 55 55 == Changelog == 56 57 = 4.1.3 =58 * Fixed a bug regarding the new 3-D Secure 2.0 address fields for credit card payments.59 60 = 4.1.2 =61 * Added support for the mandatory 3-D Secure 2.0 address fields. Address data is now sent to payment server for credit card payments, so it is not requested upon credit card data entry.62 56 63 57 = 4.1.1 =
Note: See TracChangeset
for help on using the changeset viewer.