From 5e29023c6754ea53660651cfe8860e4756d93ef1 Mon Sep 17 00:00:00 2001 From: Arthur Moreira Date: Wed, 3 Apr 2024 15:19:29 +0200 Subject: [PATCH 1/2] Only calls the confirm endpoint if we are also changing the WooCommerce order state --- src/Mondu/Mondu/Controllers/OrdersController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mondu/Mondu/Controllers/OrdersController.php b/src/Mondu/Mondu/Controllers/OrdersController.php index 7bcb783..8fafd7a 100644 --- a/src/Mondu/Mondu/Controllers/OrdersController.php +++ b/src/Mondu/Mondu/Controllers/OrdersController.php @@ -56,9 +56,9 @@ public function confirm( WP_REST_Request $request ) { if ( in_array( $order->get_status(), [ 'pending', 'failed' ] ) ) { $order->update_status('wc-on-hold', __('On hold', 'woocommerce')); - } - $this->mondu_request_wrapper->confirm_order($order->get_id(), $mondu_order_id); + $this->mondu_request_wrapper->confirm_order($order->get_id(), $mondu_order_id, $order_number); + } } catch ( \Exception $e ) { Helper::log([ 'error_confirming_order' => $params, From 7d050c001efe8d00f7aa0fd588d5eeec9d9ee752 Mon Sep 17 00:00:00 2001 From: Arthur Moreira Date: Wed, 3 Apr 2024 15:23:16 +0200 Subject: [PATCH 2/2] Bump version --- README.txt | 6 ++++- changelog.txt | 4 ++++ languages/mondu-de_AT.po | 41 ++++++++++++++++++-------------- languages/mondu-de_DE.po | 41 ++++++++++++++++++-------------- languages/mondu-fr_FR.po | 41 ++++++++++++++++++-------------- languages/mondu-nl_NL.po | 41 ++++++++++++++++++-------------- languages/mondu.pot | 47 ++++++++++++++++++++----------------- mondu-buy-now-pay-later.php | 4 ++-- 8 files changed, 129 insertions(+), 96 deletions(-) diff --git a/README.txt b/README.txt index cfad176..f4acbc6 100644 --- a/README.txt +++ b/README.txt @@ -3,7 +3,7 @@ Contributors: mondu-ai, arthurmmoreira, tikohov20 Tags: mondu, woocommerce, e-commerce, ecommerce, store, sales, sell, woo, woo commerce, shop, cart, shopping cart, sell online, checkout, payment, payments, bnpl, b2b Requires at least: 5.9.0 Tested up to: 6.2.2 -Stable tag: 2.1.5 +Stable tag: 2.1.6 Requires PHP: 7.4 License: GPLv3 License URI: https://www.gnu.org/licenses/gpl-3.0.html @@ -57,6 +57,10 @@ Check out [Frequently Asked Questions](https://www.mondu.ai/faq) in the Mondu we == Changelog == += 2.1.6 = + +* Do not call the confirm endpoint if we are not changing the order state + = 2.1.5 = * Changed webhook signature validation logic diff --git a/changelog.txt b/changelog.txt index 30fcddd..da8ae2f 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,9 @@ == Changelog == += 2.1.6 = + +* Do not call the confirm endpoint if we are not changing the order state + = 2.1.5 = * Changed webhook signature validation logic diff --git a/languages/mondu-de_AT.po b/languages/mondu-de_AT.po index 2ae163e..539650d 100644 --- a/languages/mondu-de_AT.po +++ b/languages/mondu-de_AT.po @@ -12,22 +12,27 @@ msgstr "" "Language: de_AT\n" #. Plugin Name of the plugin +#: mondu-buy-now-pay-later.php msgid "Mondu Buy Now Pay Later" msgstr "Mondu Buy Now Pay Later" #. Plugin URI of the plugin +#: mondu-buy-now-pay-later.php msgid "https://github.com/mondu-ai/bnpl-checkout-woocommerce/releases" msgstr "https://github.com/mondu-ai/bnpl-checkout-woocommerce/releases" #. Description of the plugin +#: mondu-buy-now-pay-later.php msgid "Mondu provides B2B E-commerce and B2B marketplaces with an online payment solution to buy now and pay later." msgstr "Mondu bietet B2B-E-Commerce und B2B-Marktplätzen eine Online-Zahlungslösung, die es ihren Kunden ermöglicht, mit ihren bevorzugten Zahlungsmethoden und flexiblen Zahlungsbedingungen zu bezahlen." #. Author of the plugin +#: mondu-buy-now-pay-later.php msgid "Mondu" msgstr "Mondu" #. Author URI of the plugin +#: mondu-buy-now-pay-later.php msgid "https://mondu.ai" msgstr "https://mondu.ai" @@ -102,57 +107,57 @@ msgstr "Fehlende Credentials" msgid "Unexpected API response format." msgstr "Unerwartetes API-Antwortformat." -#: src/Mondu/Mondu/Controllers/OrdersController.php:74 +#: src/Mondu/Mondu/Controllers/OrdersController.php:78 msgid "Order was declined by Mondu." msgstr "Bestellung wurde von Mondu abgelehnt." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:47 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:49 msgid "Signature mismatch." msgstr "Signatur stimmt nicht überein." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:85 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:87 msgid "Something happened on our end." msgstr "Bei uns ist etwas passiert." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:97 -#: src/Mondu/Mondu/Controllers/WebhooksController.php:116 -#: src/Mondu/Mondu/Controllers/WebhooksController.php:135 -#: src/Mondu/Mondu/Controllers/WebhooksController.php:158 -#: src/Mondu/Mondu/Controllers/WebhooksController.php:180 -#: src/Mondu/Mondu/Controllers/WebhooksController.php:198 -#: src/Mondu/Mondu/Controllers/WebhooksController.php:216 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:99 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:118 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:137 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:160 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:183 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:202 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:221 msgid "Required params missing." msgstr "Erforderliche Parameter fehlen." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:106 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:108 msgid "Mondu order is on pending state." msgstr "Mondu Bestellung ist in manueller Prüfung." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:125 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:127 msgid "Mondu order is on authorized state." msgstr "Mondu Bestellung ist athorisiert." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:144 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:146 msgid "Mondu order is on confirmed state." msgstr "Mondu Bestellung ist bestätigt." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:167 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:169 msgid "Mondu order is on declined state." msgstr "Mondu Bestellung ist abgelehnt." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:189 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:192 msgid "Mondu invoice is on created state." msgstr "Mondu Rechnung ist erstellt." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:207 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:211 msgid "Mondu invoice is on complete state." msgstr "Mondu Rechnung ist vollständig bezahlt." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:225 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:230 msgid "Mondu invoice is on canceled state." msgstr "Mondu Rechnung ist storniert." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:243 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:248 msgid "Not Found" msgstr "Nicht gefunden" diff --git a/languages/mondu-de_DE.po b/languages/mondu-de_DE.po index 73d6436..31e4d44 100644 --- a/languages/mondu-de_DE.po +++ b/languages/mondu-de_DE.po @@ -12,22 +12,27 @@ msgstr "" "Language: de_DE\n" #. Plugin Name of the plugin +#: mondu-buy-now-pay-later.php msgid "Mondu Buy Now Pay Later" msgstr "Mondu Buy Now Pay Later" #. Plugin URI of the plugin +#: mondu-buy-now-pay-later.php msgid "https://github.com/mondu-ai/bnpl-checkout-woocommerce/releases" msgstr "https://github.com/mondu-ai/bnpl-checkout-woocommerce/releases" #. Description of the plugin +#: mondu-buy-now-pay-later.php msgid "Mondu provides B2B E-commerce and B2B marketplaces with an online payment solution to buy now and pay later." msgstr "Mondu bietet B2B-E-Commerce und B2B-Marktplätzen eine Online-Zahlungslösung, die es ihren Kunden ermöglicht, mit ihren bevorzugten Zahlungsmethoden und flexiblen Zahlungsbedingungen zu bezahlen." #. Author of the plugin +#: mondu-buy-now-pay-later.php msgid "Mondu" msgstr "Mondu" #. Author URI of the plugin +#: mondu-buy-now-pay-later.php msgid "https://mondu.ai" msgstr "https://mondu.ai" @@ -102,57 +107,57 @@ msgstr "Fehlende Credentials" msgid "Unexpected API response format." msgstr "Unerwartetes API-Antwortformat." -#: src/Mondu/Mondu/Controllers/OrdersController.php:74 +#: src/Mondu/Mondu/Controllers/OrdersController.php:78 msgid "Order was declined by Mondu." msgstr "Bestellung wurde von Mondu abgelehnt." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:47 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:49 msgid "Signature mismatch." msgstr "Signatur stimmt nicht überein." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:85 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:87 msgid "Something happened on our end." msgstr "Bei uns ist etwas passiert." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:97 -#: src/Mondu/Mondu/Controllers/WebhooksController.php:116 -#: src/Mondu/Mondu/Controllers/WebhooksController.php:135 -#: src/Mondu/Mondu/Controllers/WebhooksController.php:158 -#: src/Mondu/Mondu/Controllers/WebhooksController.php:180 -#: src/Mondu/Mondu/Controllers/WebhooksController.php:198 -#: src/Mondu/Mondu/Controllers/WebhooksController.php:216 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:99 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:118 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:137 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:160 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:183 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:202 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:221 msgid "Required params missing." msgstr "Erforderliche Parameter fehlen." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:106 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:108 msgid "Mondu order is on pending state." msgstr "Mondu Bestellung ist in manueller Prüfung." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:125 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:127 msgid "Mondu order is on authorized state." msgstr "Mondu Bestellung ist athorisiert." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:144 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:146 msgid "Mondu order is on confirmed state." msgstr "Mondu Bestellung ist bestätigt." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:167 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:169 msgid "Mondu order is on declined state." msgstr "Mondu Bestellung ist abgelehnt." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:189 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:192 msgid "Mondu invoice is on created state." msgstr "Mondu Rechnung ist erstellt." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:207 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:211 msgid "Mondu invoice is on complete state." msgstr "Mondu Rechnung ist vollständig bezahlt." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:225 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:230 msgid "Mondu invoice is on canceled state." msgstr "Mondu Rechnung ist storniert." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:243 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:248 msgid "Not Found" msgstr "Nicht gefunden" diff --git a/languages/mondu-fr_FR.po b/languages/mondu-fr_FR.po index f6939ba..8b9da05 100644 --- a/languages/mondu-fr_FR.po +++ b/languages/mondu-fr_FR.po @@ -12,22 +12,27 @@ msgstr "" "Language: fr_FR\n" #. Plugin Name of the plugin +#: mondu-buy-now-pay-later.php msgid "Mondu Buy Now Pay Later" msgstr "Mondu Buy Now Pay Later" #. Plugin URI of the plugin +#: mondu-buy-now-pay-later.php msgid "https://github.com/mondu-ai/bnpl-checkout-woocommerce/releases" msgstr "https://github.com/mondu-ai/bnpl-checkout-woocommerce/releases" #. Description of the plugin +#: mondu-buy-now-pay-later.php msgid "Mondu provides B2B E-commerce and B2B marketplaces with an online payment solution to buy now and pay later." msgstr "Mondu fournit aux sites de commerce électronique B2B et aux places de marché B2B une solution de paiement en ligne permettant à leurs clients de payer avec leurs méthodes de paiement préférées et des conditions de paiement flexibles." #. Author of the plugin +#: mondu-buy-now-pay-later.php msgid "Mondu" msgstr "Mondu" #. Author URI of the plugin +#: mondu-buy-now-pay-later.php msgid "https://mondu.ai" msgstr "https://mondu.ai" @@ -102,57 +107,57 @@ msgstr "Références Manquantes" msgid "Unexpected API response format." msgstr "Format de la réponse API inattendu." -#: src/Mondu/Mondu/Controllers/OrdersController.php:74 +#: src/Mondu/Mondu/Controllers/OrdersController.php:78 msgid "Order was declined by Mondu." msgstr "Commande refusée par Mondu." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:47 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:49 msgid "Signature mismatch." msgstr "La signature ne correspond pas." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:85 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:87 msgid "Something happened on our end." msgstr "Quelque chose s'est passé de notre côté." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:97 -#: src/Mondu/Mondu/Controllers/WebhooksController.php:116 -#: src/Mondu/Mondu/Controllers/WebhooksController.php:135 -#: src/Mondu/Mondu/Controllers/WebhooksController.php:158 -#: src/Mondu/Mondu/Controllers/WebhooksController.php:180 -#: src/Mondu/Mondu/Controllers/WebhooksController.php:198 -#: src/Mondu/Mondu/Controllers/WebhooksController.php:216 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:99 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:118 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:137 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:160 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:183 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:202 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:221 msgid "Required params missing." msgstr "Paramètres requis manquants." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:106 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:108 msgid "Mondu order is on pending state." msgstr "La commande Mondu est en attente." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:125 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:127 msgid "Mondu order is on authorized state." msgstr "La commande Mondu est en cours d'autorisation." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:144 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:146 msgid "Mondu order is on confirmed state." msgstr "La commande Mondu est dans l'état confirmé." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:167 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:169 msgid "Mondu order is on declined state." msgstr "La commande Mondu est dans l'état refusé." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:189 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:192 msgid "Mondu invoice is on created state." msgstr "La facture Mondu est à l'état créé." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:207 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:211 msgid "Mondu invoice is on complete state." msgstr "La facture Mondu est à l'état complet." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:225 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:230 msgid "Mondu invoice is on canceled state." msgstr "La facture Mondu est dans l'état annulé." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:243 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:248 msgid "Not Found" msgstr "Aucun résultat" diff --git a/languages/mondu-nl_NL.po b/languages/mondu-nl_NL.po index 2a79ef4..ac4e166 100644 --- a/languages/mondu-nl_NL.po +++ b/languages/mondu-nl_NL.po @@ -12,22 +12,27 @@ msgstr "" "Language: nl_NL\n" #. Plugin Name of the plugin +#: mondu-buy-now-pay-later.php msgid "Mondu Buy Now Pay Later" msgstr "Mondu Buy Now Pay Later" #. Plugin URI of the plugin +#: mondu-buy-now-pay-later.php msgid "https://github.com/mondu-ai/bnpl-checkout-woocommerce/releases" msgstr "https://github.com/mondu-ai/bnpl-checkout-woocommerce/releases" #. Description of the plugin +#: mondu-buy-now-pay-later.php msgid "Mondu provides B2B E-commerce and B2B marketplaces with an online payment solution to buy now and pay later." msgstr "Mondu biedt B2B E-commerce en B2B marktplaatsen een online betaaloplossing waarmee hun klanten kunnen betalen met de betaalmethoden van hun voorkeur en flexibele betalingstermijnen." #. Author of the plugin +#: mondu-buy-now-pay-later.php msgid "Mondu" msgstr "Mondu" #. Author URI of the plugin +#: mondu-buy-now-pay-later.php msgid "https://mondu.ai" msgstr "https://mondu.ai" @@ -102,57 +107,57 @@ msgstr "Ontbrekende Credentials" msgid "Unexpected API response format." msgstr "Onverwachte API respons format." -#: src/Mondu/Mondu/Controllers/OrdersController.php:74 +#: src/Mondu/Mondu/Controllers/OrdersController.php:78 msgid "Order was declined by Mondu." msgstr "Bestelling geweigerd door Mondu." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:47 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:49 msgid "Signature mismatch." msgstr "Signature mismatch." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:85 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:87 msgid "Something happened on our end." msgstr "Er is iets gebeurd aan onze kant." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:97 -#: src/Mondu/Mondu/Controllers/WebhooksController.php:116 -#: src/Mondu/Mondu/Controllers/WebhooksController.php:135 -#: src/Mondu/Mondu/Controllers/WebhooksController.php:158 -#: src/Mondu/Mondu/Controllers/WebhooksController.php:180 -#: src/Mondu/Mondu/Controllers/WebhooksController.php:198 -#: src/Mondu/Mondu/Controllers/WebhooksController.php:216 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:99 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:118 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:137 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:160 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:183 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:202 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:221 msgid "Required params missing." msgstr "Vereiste params ontbreken." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:106 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:108 msgid "Mondu order is on pending state." msgstr "Mondu-bestelling is in behandeling." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:125 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:127 msgid "Mondu order is on authorized state." msgstr "Mondu-bestelling is geautoriseerd." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:144 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:146 msgid "Mondu order is on confirmed state." msgstr "Mondu-bestelling is bevestigd." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:167 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:169 msgid "Mondu order is on declined state." msgstr "Mondu-bestelling is geweigerd." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:189 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:192 msgid "Mondu invoice is on created state." msgstr "Mondu-factuur is aangemaakt." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:207 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:211 msgid "Mondu invoice is on complete state." msgstr "Mondu-factuur is voltooid." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:225 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:230 msgid "Mondu invoice is on canceled state." msgstr "Mondu-factuur is geannuleerd." -#: src/Mondu/Mondu/Controllers/WebhooksController.php:243 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:248 msgid "Not Found" msgstr "Niet gevonden" diff --git a/languages/mondu.pot b/languages/mondu.pot index b535c8e..c2f1809 100644 --- a/languages/mondu.pot +++ b/languages/mondu.pot @@ -2,35 +2,40 @@ # This file is distributed under the GPLv3. msgid "" msgstr "" -"Project-Id-Version: Mondu Buy Now Pay Later 2.1.4\n" +"Project-Id-Version: Mondu Buy Now Pay Later 2.1.6\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/mondu-buy-now-pay-later\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2024-02-02T09:27:21+00:00\n" +"POT-Creation-Date: 2024-04-03T13:23:25+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"X-Generator: WP-CLI 2.9.0\n" +"X-Generator: WP-CLI 2.10.0\n" "X-Domain: mondu\n" #. Plugin Name of the plugin +#: mondu-buy-now-pay-later.php msgid "Mondu Buy Now Pay Later" msgstr "" #. Plugin URI of the plugin +#: mondu-buy-now-pay-later.php msgid "https://github.com/mondu-ai/bnpl-checkout-woocommerce/releases" msgstr "" #. Description of the plugin +#: mondu-buy-now-pay-later.php msgid "Mondu provides B2B E-commerce and B2B marketplaces with an online payment solution to buy now and pay later." msgstr "" #. Author of the plugin +#: mondu-buy-now-pay-later.php msgid "Mondu" msgstr "" #. Author URI of the plugin +#: mondu-buy-now-pay-later.php msgid "https://mondu.ai" msgstr "" @@ -105,57 +110,57 @@ msgstr "" msgid "Unexpected API response format." msgstr "" -#: src/Mondu/Mondu/Controllers/OrdersController.php:74 +#: src/Mondu/Mondu/Controllers/OrdersController.php:78 msgid "Order was declined by Mondu." msgstr "" -#: src/Mondu/Mondu/Controllers/WebhooksController.php:47 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:49 msgid "Signature mismatch." msgstr "" -#: src/Mondu/Mondu/Controllers/WebhooksController.php:85 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:87 msgid "Something happened on our end." msgstr "" -#: src/Mondu/Mondu/Controllers/WebhooksController.php:97 -#: src/Mondu/Mondu/Controllers/WebhooksController.php:116 -#: src/Mondu/Mondu/Controllers/WebhooksController.php:135 -#: src/Mondu/Mondu/Controllers/WebhooksController.php:158 -#: src/Mondu/Mondu/Controllers/WebhooksController.php:180 -#: src/Mondu/Mondu/Controllers/WebhooksController.php:198 -#: src/Mondu/Mondu/Controllers/WebhooksController.php:216 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:99 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:118 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:137 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:160 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:183 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:202 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:221 msgid "Required params missing." msgstr "" -#: src/Mondu/Mondu/Controllers/WebhooksController.php:106 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:108 msgid "Mondu order is on pending state." msgstr "" -#: src/Mondu/Mondu/Controllers/WebhooksController.php:125 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:127 msgid "Mondu order is on authorized state." msgstr "" -#: src/Mondu/Mondu/Controllers/WebhooksController.php:144 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:146 msgid "Mondu order is on confirmed state." msgstr "" -#: src/Mondu/Mondu/Controllers/WebhooksController.php:167 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:169 msgid "Mondu order is on declined state." msgstr "" -#: src/Mondu/Mondu/Controllers/WebhooksController.php:189 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:192 msgid "Mondu invoice is on created state." msgstr "" -#: src/Mondu/Mondu/Controllers/WebhooksController.php:207 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:211 msgid "Mondu invoice is on complete state." msgstr "" -#: src/Mondu/Mondu/Controllers/WebhooksController.php:225 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:230 msgid "Mondu invoice is on canceled state." msgstr "" -#: src/Mondu/Mondu/Controllers/WebhooksController.php:243 +#: src/Mondu/Mondu/Controllers/WebhooksController.php:248 msgid "Not Found" msgstr "" diff --git a/mondu-buy-now-pay-later.php b/mondu-buy-now-pay-later.php index 53da421..ebf25c7 100644 --- a/mondu-buy-now-pay-later.php +++ b/mondu-buy-now-pay-later.php @@ -3,7 +3,7 @@ * Plugin Name: Mondu Buy Now Pay Later * Plugin URI: https://github.com/mondu-ai/bnpl-checkout-woocommerce/releases * Description: Mondu provides B2B E-commerce and B2B marketplaces with an online payment solution to buy now and pay later. - * Version: 2.1.5 + * Version: 2.1.6 * Author: Mondu * Author URI: https://mondu.ai * @@ -25,7 +25,7 @@ die( 'Direct access not allowed' ); } -define( 'MONDU_PLUGIN_VERSION', '2.1.5' ); +define( 'MONDU_PLUGIN_VERSION', '2.1.6' ); define( 'MONDU_PLUGIN_FILE', __FILE__ ); define( 'MONDU_PLUGIN_PATH', __DIR__ ); define( 'MONDU_PLUGIN_BASENAME', plugin_basename(MONDU_PLUGIN_FILE) );