Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not call confirm if already confirmed #113

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
41 changes: 23 additions & 18 deletions languages/mondu-de_AT.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -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"

Expand Down
41 changes: 23 additions & 18 deletions languages/mondu-de_DE.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -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"

Expand Down
41 changes: 23 additions & 18 deletions languages/mondu-fr_FR.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -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"

Expand Down
Loading
Loading