Plugin Directory

Changeset 3416228


Ignore:
Timestamp:
12/10/2025 09:56:53 AM (3 months ago)
Author:
imoje
Message:

v4.15.1

Location:
imoje/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • imoje/trunk/includes/libs/payment-core/src/Notification.php

    r3411033 r3416228  
    293293    public static function checkRequestAmount($payloadDecoded, $amount, $currency)
    294294    {
    295         return $payloadDecoded['payment']['amount'] === $amount && $payloadDecoded['payment']['currency'] === $currency;
     295        $requestAmount = $payloadDecoded['transaction']['amount'];
     296        $requestCurrency = $payloadDecoded['transaction']['currency'];
     297
     298        if ( !isset($payloadDecoded['transaction']) ) {
     299
     300            $requestAmount = $payloadDecoded['payment']['amount'];
     301            $requestCurrency = $payloadDecoded['payment']['currency'];
     302        }
     303
     304        return $requestAmount === $amount && $requestCurrency === $currency;
    296305    }
    297306
  • imoje/trunk/langs/imoje-pl_PL.po

    r3411033 r3416228  
    22msgstr ""
    33"Project-Id-Version: \n"
    4 "POT-Creation-Date: 2025-11-26 09:16+0100\n"
    5 "PO-Revision-Date: 2025-11-26 09:18+0100\n"
     4"POT-Creation-Date: 2025-12-09 14:25+0100\n"
     5"PO-Revision-Date: 2025-12-09 14:37+0100\n"
    66"Last-Translator: \n"
    77"Language-Team: \n"
     
    458458msgstr "Metoda płatności jest niedostępna, wybierz inną."
    459459
    460 #: woocommerce-imoje.php:261
     460#: woocommerce-imoje.php:263
    461461msgid "Transaction could not be initialized, error: "
    462462msgstr "Transakcja nie mogła zostać zainicjowana, błędy: "
    463463
    464 #: woocommerce-imoje.php:439
     464#: woocommerce-imoje.php:441
    465465msgid "Insert BLIK code."
    466466msgstr "Wprowadź kod BLIK."
    467467
    468 #: woocommerce-imoje.php:440
     468#: woocommerce-imoje.php:442
    469469msgid "Please try again."
    470470msgstr "Proszę spróbować ponownie."
    471471
    472 #: woocommerce-imoje.php:444 woocommerce-imoje.php:503
     472#: woocommerce-imoje.php:446 woocommerce-imoje.php:505
    473473msgid "Payment failed."
    474474msgstr "Płatność nieudana."
    475475
    476 #: woocommerce-imoje.php:446
     476#: woocommerce-imoje.php:448
    477477msgid ""
    478478"Technical break in your bank. Pay later or use another bank's application."
     
    481481"innego banku."
    482482
    483 #: woocommerce-imoje.php:448
     483#: woocommerce-imoje.php:450
    484484msgid "Alias not found. To proceed the payment you need to pay with BLIK code."
    485485msgstr ""
     
    487487"BLIK."
    488488
    489 #: woocommerce-imoje.php:451
     489#: woocommerce-imoje.php:453
    490490msgid "Alias declined. To proceed the payment you need to pay with BLIK code."
    491491msgstr ""
    492492"Alias został odrzucony. Aby kontynuować płatność należy zapłacić kodem BLIK."
    493493
    494 #: woocommerce-imoje.php:453
     494#: woocommerce-imoje.php:455
    495495msgid "You have entered wrong BLIK code."
    496496msgstr "Wprowadziłeś błędny kod BLIK."
    497497
    498 #: woocommerce-imoje.php:456
     498#: woocommerce-imoje.php:458
    499499msgid "BLIK code expired."
    500500msgstr "Kod BLIK stracił ważność."
    501501
    502 #: woocommerce-imoje.php:460
     502#: woocommerce-imoje.php:462
    503503msgid "Something went wrong with BLIK code."
    504504msgstr "Coś poszło nie tak z kodem BLIK."
    505505
    506 #: woocommerce-imoje.php:463
     506#: woocommerce-imoje.php:465
    507507msgid "Payment declined at the banking application."
    508508msgstr "Płatność została odrzucona w aplikacji bankowej."
    509509
    510 #: woocommerce-imoje.php:467
     510#: woocommerce-imoje.php:469
    511511msgid "Payment failed - not confirmed on time in the banking application."
    512512msgstr ""
    513513"Płatność nie powiodła się - nie potwierdzono na czas w aplikacji bankowej."
    514514
    515 #: woocommerce-imoje.php:470
     515#: woocommerce-imoje.php:472
    516516msgid "Inserted wrong PIN code in banking application."
    517517msgstr "Wprowadzono błędny kod PIN w aplikacji bankowej."
    518518
    519 #: woocommerce-imoje.php:473
     519#: woocommerce-imoje.php:475
    520520msgid "Payment failed (security)."
    521521msgstr "Płatność nie powiodła się (bezpieczeństwo)."
    522522
    523 #: woocommerce-imoje.php:476
     523#: woocommerce-imoje.php:478
    524524msgid "Limit exceeded in your banking application."
    525525msgstr "Przekroczono limit w Twojej aplikacji bankowej."
    526526
    527 #: woocommerce-imoje.php:479
     527#: woocommerce-imoje.php:481
    528528msgid "Insufficient funds in your bank account."
    529529msgstr "Niewystarczające środki na Twoim koncie bankowym."
    530530
    531 #: woocommerce-imoje.php:482
     531#: woocommerce-imoje.php:484
    532532msgid "Issuer declined."
    533533msgstr "Odmowa issuera."
    534534
    535 #: woocommerce-imoje.php:485
     535#: woocommerce-imoje.php:487
    536536msgid "Transaction not found."
    537537msgstr "Transakcja nie została znaleziona."
    538538
    539 #: woocommerce-imoje.php:488
     539#: woocommerce-imoje.php:490
    540540msgid "Bad IBAN."
    541541msgstr "Zły IBAN."
    542542
    543 #: woocommerce-imoje.php:491
     543#: woocommerce-imoje.php:493
    544544msgid "Transfer not possible."
    545545msgstr "Transfer nie jest możliwy."
    546546
    547 #: woocommerce-imoje.php:494
     547#: woocommerce-imoje.php:496
    548548msgid "Return late."
    549549msgstr "Zwrot za późno."
    550550
    551 #: woocommerce-imoje.php:497
     551#: woocommerce-imoje.php:499
    552552msgid "Return amount exceeded."
    553553msgstr "Przekroczona kwota zwrotu."
    554554
    555 #: woocommerce-imoje.php:500
     555#: woocommerce-imoje.php:502
    556556msgid "Transfer late."
    557557msgstr "Transfer za późno."
    558558
    559 #: woocommerce-imoje.php:535
     559#: woocommerce-imoje.php:537
    560560msgid "Inserted invalid credentials"
    561561msgstr "Wprowadzono nieprawidłowe dane autoryzacyjne"
  • imoje/trunk/readme.txt

    r3411033 r3416228  
    55Requires PHP: 5.6.0
    66License: GPLv2
    7 Stable tag: 4.15.0
     7Stable tag: 4.15.1
    88
    99Add payment via imoje to WooCommerce
     
    7171
    7272== Changelog ==
     73= 4.15.1 =
     74* revert ipn source amount to compare
    7375= 4.15.0 =
    7476* added optional support for notifications with "cancelled" status
    7577* added the prefix imoje to functions related to Lease Now
    7678= 4.14.0 =
    77 * added adjustments to current WordPress standards
    78 * added ING Lease Now payment method
     79* added Lease Now
    7980= 4.13.0 =
    8081* added wire transfer payment method
  • imoje/trunk/woocommerce-imoje.php

    r3411033 r3416228  
    44Plugin URI: https://imoje.pl
    55Description: Add payment via imoje to WooCommerce
    6 Version: 4.15.0
     6Version: 4.15.1
    77Author: imoje <kontakt.tech@imoje.pl>
    88Author URI: https://imoje.pl
Note: See TracChangeset for help on using the changeset viewer.