Plugin Directory

Changeset 2960660


Ignore:
Timestamp:
08/30/2023 01:18:03 PM (3 years ago)
Author:
codebrainbv
Message:
  • Updated to version 2.2.9.1
Location:
woo-rabo-omnikassa
Files:
39 added
3 edited

Legend:

Unmodified
Added
Removed
  • woo-rabo-omnikassa/trunk/controllers/icwoorok2-controller.php

    r2954796 r2960660  
    217217                                    // Add all transactions
    218218                                    foreach ($aRokResult['transactions'] as $aTransaction) {
    219                                         $sTransactionString .= ','.$aTransaction['id'].','.$aTransaction['paymentBrand'].','.$aTransaction['type'].','.$aTransaction['status'].','.$aTransaction['amount']['currency'].','.$aTransaction['amount']['amount'].','.$aTransaction['confirmedAmount']['currency'].','.$aTransaction['confirmedAmount']['amount'].','.$aTransaction['startTime'].','.$aTransaction['lastUpdateTime'];
     219                                        if (isset($aTransaction['confirmedAmount']) && isset($aTransaction['confirmedAmount']['currency']) && isset($aTransaction['confirmedAmount']['amount'])) {
     220                                            $sTransactionString .= ','.$aTransaction['id'].','.$aTransaction['paymentBrand'].','.$aTransaction['type'].','.$aTransaction['status'].','.$aTransaction['amount']['currency'].','.$aTransaction['amount']['amount'].','.$aTransaction['confirmedAmount']['currency'].','.$aTransaction['confirmedAmount']['amount'].','.$aTransaction['startTime'].','.$aTransaction['lastUpdateTime'];
     221                                        } else {
     222                                            $sTransactionString .= ','.$aTransaction['id'].','.$aTransaction['paymentBrand'].','.$aTransaction['type'].','.$aTransaction['status'].','.$aTransaction['amount']['currency'].','.$aTransaction['amount']['amount'].',,,'.$aTransaction['startTime'].','.$aTransaction['lastUpdateTime'];
     223                                        }
    220224                                    }
    221225
     
    231235                                        $sMerchantOrderId = $aRokResult['merchantOrderId'];
    232236                                        $sOmniKassaStatus = $aRokResult['orderStatus'];
    233                                         $aTransaction = icwoorok2_getTransaction($aRokResult['transactions']);
    234 
    235                                         $sTransactionId = $aTransaction['id'];
    236                                         $sTransactionMethod = $aTransaction['paymentBrand'];
     237                                        $aTransactionData = icwoorok2_getTransaction($aRokResult['transactions']);
     238
     239                                        $sTransactionId = $aTransactionData['id'];
     240                                        $sTransactionMethod = $aTransactionData['paymentBrand'];
    237241
    238242                                        // Get order by Merchant Order ID
  • woo-rabo-omnikassa/trunk/ic-woo-omnikassa-2.php

    r2954796 r2960660  
    99        Text Domain: ic-woo-omnikassa-2
    1010        Domain Path: /languages
    11         Version: 2.2.9
     11        Version: 2.2.9.1
    1212    */
    1313
  • woo-rabo-omnikassa/trunk/readme.txt

    r2954796 r2960660  
    44Tags: omnikassa, smartpay, smart pay, rabobank, payment, ideal, woocommerce
    55Requires at least: 5.0.7
    6 Tested up to: 6.3
     6Tested up to: 6.3.1
    77Stable tag: /trunk/
    88Requires PHP: 7.4.30
     
    113113== Changelog ==
    114114
     115= 2.2.9.1 =
     116* Changed the signature validation of the webhook.
     117If a payment is cancelled there is data missing from the payload, but it is used for the signature validation.
     118We have implemented a fix to add the missing data, so that the signature validation is done correctly.
     119
    115120= 2.2.9 =
    116121* Changed the credticard method to also indicate Apple Pay support.
Note: See TracChangeset for help on using the changeset viewer.