Plugin Directory

Changeset 2935731


Ignore:
Timestamp:
07/07/2023 09:09:55 PM (3 years ago)
Author:
girosolution
Message:
  1. 4.1.8 (07.07.2023)

Fixed bug that caused hash error in giropay payments
Added SDK version 2.3.13

Location:
girocheckout/trunk
Files:
12 added
9 edited

Legend:

Unmodified
Added
Removed
  • girocheckout/trunk/girocheckout.php

    r2795745 r2935731  
    1010 * Plugin Name: GiroCheckout
    1111 * Description: Plugin to integrate the GiroCheckout payment methods into WooCommerce.
    12  * Version:     4.1.7
     12 * Version:     4.1.8
    1313 * Author:      S-Public Services GmbH
    1414 * Author URI:  https://s-publicservices.de
  • girocheckout/trunk/library/GiroCheckout_SDK.php

    r2795745 r2935731  
    99 * @version $Revision$ / $Date$
    1010 */
    11 define('__GIROCHECKOUT_SDK_VERSION__', '2.3.8');
     11define('__GIROCHECKOUT_SDK_VERSION__', '2.3.13');
    1212
    1313if( version_compare( phpversion(), '5.3.0', '<' ) ) {
     
    3434                'helper',
    3535                './',
     36                'api/applepay',
    3637                'api/bluecode',
    3738                'api/giropay',
  • girocheckout/trunk/library/GiroCheckout_SDK_Config.php

    r2346265 r2935731  
    4444  const FTG_SERVICES_PAYMENT_METHOD_PAYPAGE = 32;
    4545  const FTG_SERVICES_PAYMENT_METHOD_MAESTRO = 33;
     46  const FTG_SERVICES_PAYMENT_METHOD_APPLE_PAY = 36;
    4647  const FTG_SERVICES_PAYMENT_METHOD_INTERNAL = 255;
    4748
  • girocheckout/trunk/library/GiroCheckout_Utility.php

    r2795745 r2935731  
    1919   */
    2020  public static function getVersion() {
    21     return '4.1.7';
     21    return '4.1.8';
    2222  }
    2323
  • girocheckout/trunk/library/api/giropay/GiroCheckout_SDK_GiropayTransaction.php

    r2795745 r2935731  
    3535        'shippingCountry'                      => FALSE,  // nur bei PHYSICAL und MIXED Pflicht
    3636        'shippingEmail'                        => FALSE,  // nur bei DIGITAL Pflicht
    37         'merchantReconciliationReferenceNumber'=> FALSE,
     37        'merchantOrderReferenceNumber'         => FALSE,
    3838        'cart'                                 => FALSE,
    3939        'deliveryType'                         => FALSE,
     
    5353        'urlNotify' => TRUE,
    5454        'kassenzeichen' => FALSE,
     55        'customerId' => FALSE,
    5556        'pptoken' => FALSE,
    5657    );
  • girocheckout/trunk/library/api/paypage/GiroCheckout_SDK_PaypageTransaction.php

    r2795745 r2935731  
    5454        'paydirektShippingCountry' => FALSE,
    5555        'paydirektShippingEmail' => FALSE,
    56         'paydirektMerchantReconciliationReferenceNumber'=> FALSE,
     56        'paydirektMerchantOrderReferenceNumber'=> FALSE,
    5757        'paydirektCart' => FALSE,
    5858        'paydirektDeliveryType' => FALSE,
     
    7272        'informationText' => FALSE,
    7373        'kassenzeichen' => FALSE,
    74         'giropayAllowMissingFields' => FALSE,
     74        'paydirektAllowMissingFields' => FALSE,
     75        'qrcodeReturn' => FALSE,
    7576    );
    7677
     
    8384        'reference' => FALSE,
    8485        'url' => FALSE,
     86        'qrcode' => FALSE,
    8587    );
    8688
  • girocheckout/trunk/library/helper/GiroCheckout_SDK_ResponseCode_helper.php

    r2795745 r2935731  
    1616      4000 => 'Transaktion erfolgreich',
    1717      4001 => 'giropay Bank offline',
    18       4002 => 'Online-Banking-Zugang ungültig',
    19       4020 => 'Altersverifikation erfolgreich',
    20       4021 => 'Altersverifikation nicht durchführbar',
    21       4022 => 'Altersverifikation nicht erfolgreich',
     18      4002 => 'Online Banking-Zugang ungültig',
     19      4020 => 'Verifikation erfolgreich',
     20      4021 => 'Verifikation nicht durchführbar',
     21      4022 => 'Verifikation nicht erfolgreich',
    2222      4051 => 'Kontoverbindung ungültig',
    2323      4101 => 'Ausgabeland der Karte ungültig oder unbekannt',
     
    2828      4106 => 'Pseudo-Kartennummer ungültig',
    2929      4107 => 'Karte gestohlen, verdächtig oder zum Einziehen markiert',
    30       4151 => 'PayPal-Token ungültig',
     30      4108 => 'Genehmigungsdienst anrufen',
     31      4151 => 'PayPal Token ungültig',
    3132      4152 => 'Nachbearbeitung bei PayPal notwendig',
    3233      4153 => 'Zahlungsmethode bei PayPal ändern',
     
    4041      4506 => 'Bluecode Barcode ungültig',
    4142      4900 => 'Transaktion nicht erfolgreich',
     43      // GiroCheckout API rc
    4244      5000 => 'Authentifizierung fehlgeschlagen',
    43       5001 => 'Keine Berechtigung',
    44       5002 => 'Hash ungültig',
     45      5001 => 'keine Berechtigung',
     46      5002 => 'hash ungültig',
    4547      5003 => 'Pflichtfeld nicht angegeben',
    4648      5004 => 'Aufruf ungültig',
     
    5658      5018 => 'PSP ungültig',
    5759      5019 => 'Kreditkartentyp ungültig',
    58       5020 => 'Händler-ID ungültig',
    59       5021 => 'Projekt-ID ungültig',
    60       5022 => 'Händler-Transaktions-ID ungültig',
    61       5023 => 'Verwendungszweck ungültig',
    62       5024 => 'BLZ ungültig',
    63       5025 => 'Bankkonto ungültig',
    64       5026 => 'BIC ungültig',
    65       5027 => 'IBAN ungültig',
     60      5020 => 'merchantId ungültig',
     61      5021 => 'projectId ungültig',
     62      5022 => 'merchantTxId ungültig',
     63      5023 => 'purpose ungültig',
     64      5024 => 'bankcode ungültig',
     65      5025 => 'bankaccount ungültig',
     66      5026 => 'bic ungültig',
     67      5027 => 'iban ungültig',
    6668      5028 => 'mobile ungültig',
    67       5029 => 'PKN ungültig',
    68       5030 => 'Betrag ungültig',
     69      5029 => 'pkn ungültig',
     70      5030 => 'amount ungültig',
    6971      5031 => 'Bankleitzahl oder BIC nicht angegeben',
    70       5032 => 'Lastschrift Sequenztyp ungültig',
    71       5033 => 'Währung ungültig',
     72      5032 => 'mandateSequence ungültig',
     73      5033 => 'currency ungültig',
    7274      5034 => 'Transaktion nicht vorhanden',
     75      5035 => 'Ablaufdatum gesicherte Vorbestellung ungültig',
    7376      5040 => 'info1Label ungültig',
    7477      5041 => 'info1Text ungültig',
     
    8285      5049 => 'info5Text ungültig',
    8386      5050 => 'recurring ungültig',
    84       5051 => 'Mandatsreferenz ungültig',
     87      5051 => 'mandateReference ungültig',
    8588      5052 => 'mandateSignedOn ungültig',
    8689      5053 => 'mandateReceiverName ungültig',
     
    9396      5063 => 'format ungültig',
    9497      5064 => 'resolution ungültig',
    95       5065 => 'Fehler beim Erstellen der Grafik',
     98      5065 => 'Fehler beim erstellen der Grafik',
    9699      5066 => 'purpose und paymentreference angegeben',
    97       5067 => 'Empfänger-IBAN ungültig',
    98       5068 => 'Empfänger-BIC ungültig',
     100      5067 => 'receiveriban ungültig',
     101      5068 => 'receiverbic ungültig',
    99102      5069 => 'purposecode ungültig',
    100       5070 => 'Empfängername ungültig',
    101       5071 => 'Empfängername, Epmfänger-IBAN oder Empfänger-BIC nicht angeben ',
     103      5070 => 'receivername ungültig',
     104      5071 => 'receivername, receiveriban oder receiverbic nicht angeben',
    102105      5072 => 'customerLastName ungültig',
    103106      5073 => 'customerStreet ungültig',
     
    112115      5082 => 'customerId ungültig',
    113116      5083 => 'shopId ungültig',
    114       5084 => 'Kundenvorname ungültig',
    115       5085 => 'Kontoinhaber ungültig',
     117      5084 => 'customerFirstName ungültig',
     118      5085 => 'accountHolder ungültig',
     119      5086 => 'ungültiger Transaktionstyp der Ursprungstransaktion',
     120      5087 => 'Rechnungsnummer (invoiceId) ungültig',
     121      5088 => 'Kundenfirma (shippingCompany) ungültig',
     122      5089 => 'Zusatzinfo (shippingAdditionalAddressInformation) ungültig',
     123      5090 => 'orderId ungültig',
     124      5091 => 'pricemodel ungültig',
     125      5092 => 'shoppingCartType ungültig',
     126      5093 => 'merchantReconciliationReferenceNumber ungültig',
     127      5094 => 'Beschreibung ungültig',
     128      5095 => 'Paypage: Ungültiger Seitentyp',
     129      5096 => 'Paypage: Ungültiges Verfallsdatum',
     130      5097 => 'Paypage: Ungültige Bezahlart(en)',
     131      5098 => 'Paypage: Ungültiger Organisationsname',
     132      5099 => 'Paypage: Ungültiger Wert für Freier Betrag',
    116133      5100 => 'Fehler beim Zahlungsabwickler',
    117134      5101 => 'Verbindungsproblem zum Zahlungsabwickler',
     
    129146      5113 => 'Paypage: Ungültiges Format des Hinweistextes (API-Beschreibung beachten)',
    130147      5114 => 'Referenz muss Payment Page Transaktion sein',
     148      5115 => 'Ungültiger DeliveryType',
     149      5116 => 'Ungültiges Kassenzeichen',
     150      5117 => 'Ungültige backUrl',
     151      5118 => 'Ungültige failUrl',
     152      5119 => 'Ungültige successUrl',
     153      5120 => 'Ungültige notifyUrl',
     154      5121 => 'Ungültige merchantOrderReferenceNumber',
    131155      5200 => 'Transaktion nicht akzeptiert',
    132       5201 => 'giropay Bank offline',
    133       5202 => 'giropay Bank des Absenders ungültig',
     156      5201 => 'Bank offline',
     157      5202 => 'Bank des Absenders ungültig',
    134158      5203 => 'Bankverbindung des Absenders auf Blacklist',
    135159      5204 => 'Bankverbindung des Absenders ungültig',
    136       6000 => 'Bankleitzahl oder BIC fehlt',
     160      5205 => 'Transaktionslimit überschritten',
     161      5500 => 'Paypage: Ungültiger Wert in festen Beträgen',
     162      5501 => 'Paypage: Ungültiger Mindestbetrag',
     163      5502 => 'Paypage: Ungültiger Maximalbetrag',
     164      5503 => 'Paypage: Ungültige Projektliste',
     165      5504 => 'Paypage: Ungültiger Single-Wert',
     166      5505 => 'Paypage single: Bereits verwendet',
     167      5506 => 'Ungültige URL',  // CPSP API
     168      5507 => 'Projekt ist nicht im CPSP-Modus',  // CPSP API
     169      5508 => 'Merchant-Limit überschritten',  // CPSP API
    137170      6001 => 'Bank unbekannt',
    138       6002 => 'Bank unterstützt kein giropay',
    139       9999 => 'interner Fehler',
     171      6002 => 'Bank unterstützt diesen Transaktionstyp nicht',
     172      7000 => 'Risikoprüfung positiv',
     173      7001 => 'Risikoprüfung negativ',
     174      9999 => 'Interner Fehler',
    140175      // old codes
    141176      1900 => 'Transaktion nicht akzeptiert',
     
    155190      4001 => 'giropay bank offline',
    156191      4002 => 'online banking account invalid',
    157       4020 => 'age verification successful',
    158       4021 => 'age verification not possible',
    159       4022 => 'age verification unsuccessful',
     192      4020 => 'verification successful',
     193      4021 => 'verification not possible',
     194      4022 => 'verification unsuccessful',
    160195      4051 => 'invalid bank account',
    161196      4101 => 'issuing country invalid or unknown',
     
    166201      4106 => 'invalid pseudo-cardnumber',
    167202      4107 => 'card stolen, suspicious or marked to move in',
     203      4108 => 'Call phone approval service',
    168204      4151 => 'invalid PayPal token',
    169205      4152 => 'post-processing necessary at PayPal',
     
    178214      4506 => 'invalid Bluecode barcode',
    179215      4900 => 'transaction rejected',
     216      // GiroCheckout API rc
    180217      5000 => 'authentication failed',
    181218      5001 => 'no authorization',
     
    200237      5024 => 'invalid bankcode',
    201238      5025 => 'invalid bankaccount',
    202       5026 => 'invalid BIC',
    203       5027 => 'invalid IBAN',
     239      5026 => 'invalid bic',
     240      5027 => 'invalid iban',
    204241      5028 => 'invalid mobile',
    205242      5029 => 'invalid pkn',
     
    209246      5033 => 'invalid currency',
    210247      5034 => 'transaction does not exist',
     248      5035 => 'invalid validity date for secured order',
    211249      5040 => 'invalid info1Label',
    212250      5041 => 'invalid info1Text',
     
    231269      5063 => 'invalid format',
    232270      5064 => 'invalid resolution',
    233       5065 => 'error by creating image',
     271      5065 => 'error creating image',
    234272      5066 => 'purpose and paymentreference given',
    235273      5067 => 'invalid receiveriban',
     
    237275      5069 => 'invalid purposecode',
    238276      5070 => 'invalid receivername',
    239       5071 => 'receivername, receiveriban or receiverbic not given',
     277      5071 => 'receivername, receiveriban or receiverbic missing',
    240278      5072 => 'invalid customerLastName',
    241279      5073 => 'invalid customerStreet',
     
    250288      5082 => 'invalid customerId',
    251289      5083 => 'invalid shopId',
    252       5084 => 'invalid customer first name',
    253       5085 => 'invalid account holder',
     290      5084 => 'invalid customerFirstName',
     291      5085 => 'invalid accountHolder',
     292      5086 => 'invalid type of parent',
     293      5087 => 'invalid invoiceId',
     294      5088 => 'invalid shippingCompany',
     295      5089 => 'inbalid shippingAdditionalAddressInformation',
     296      5090 => 'invalid orderId',
     297      5091 => 'invalid pricemodel',
     298      5092 => 'invalid shoppingCartType',
     299      5093 => 'invalid merchantReconciliationReferenceNumber',
     300      5094 => 'invalid description',
     301      5095 => 'Paypage: invalid page type',
     302      5096 => 'Paypage: invalid expiration date',
     303      5097 => 'Paypage: invalid payment method(s)',
     304      5098 => 'Paypage: invalid organitation name',
     305      5099 => 'Paypage: invalid value for free amount',
    254306      5100 => 'error from payment processor',
    255307      5101 => 'connection problem to payment processor',
     
    267319      5113 => 'Paypage: invalid format of the notification text (see API documentation)',
    268320      5114 => 'Reference must be payment page transaction',
     321      5115 => 'Invalid DeliveryType',
     322      5116 => 'Invalid Kassenzeichen',
     323      5117 => 'Invalid backUrl',
     324      5118 => 'Invalid failUrl',
     325      5119 => 'Invalid successUrl',
     326      5120 => 'Invalid notifyUrl',
     327      5121 => 'invalid merchantOrderReferenceNumber',
    269328      5200 => 'not accepted transaction',
    270       5201 => 'giropay bank offline',
    271       5202 => 'invalid giropay bank of sender',
     329      5201 => 'bank offline',
     330      5202 => 'invalid bank of sender',
    272331      5203 => 'sender bank account blacklisted',
    273332      5204 => 'invalid sender bank account',
    274       6000 => 'bankcode or BIC missing',
     333      5205 => 'transaction limit exceeded',
     334      5500 => 'Paypage: invalid value in fixed amounts',
     335      5501 => 'Paypage: invalid minimum amount',
     336      5502 => 'Paypage: invalid maximum amount',
     337      5503 => 'Paypage: invalid project list',
     338      5504 => 'Paypage: invalid value for single',
     339      5505 => 'Paypage single: Already used',
     340      5506 => 'Invalid URL',  // CPSP API
     341      5507 => 'Project is not in CPSP mode',  // CPSP API
     342      5508 => 'Merchant limit exceeded',  // CPSP API
    275343      6001 => 'bank unknown',
    276       6002 => 'bank does not support giropay',
     344      6002 => 'bank does not support this type of transaction',
     345      7000 => 'risk check positive',
     346      7001 => 'risk check negative',
    277347      9999 => 'internal error',
    278348      // old codes
  • girocheckout/trunk/library/helper/GiroCheckout_SDK_TransactionType_helper.php

    r2795745 r2935731  
    7171  const TRANS_TYPE_MAESTRO_CAPTURE         = "maestroCapture";
    7272  const TRANS_TYPE_MAESTRO_REFUND          = "maestroRefund";
     73
     74  const TRANS_TYPE_APPLE_PAY_TRANSACTION   = "applePayTransaction";
     75  const TRANS_TYPE_APPLE_PAY_VALIDATION    = "applePayValidation";
    7376
    7477  /*
     
    208211        return new GiroCheckout_SDK_MaestroRefund();
    209212
     213      // Apple pay
     214      case self::TRANS_TYPE_APPLE_PAY_TRANSACTION:
     215        return new GiroCheckout_SDK_ApplePayTransaction();
     216      case self::TRANS_TYPE_APPLE_PAY_VALIDATION:
     217        return new GiroCheckout_SDK_ApplePayValidation();
     218
    210219    }
    211220
  • girocheckout/trunk/readme.txt

    r2795745 r2935731  
    5454
    5555== Changelog ==
     56
     57= 4.1.8 =
     58* Added SDK version 2.3.13
    5659
    5760= 4.1.7 =
Note: See TracChangeset for help on using the changeset viewer.