File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ public function __construct(MonduClient $client)
2626
2727 public function afterSettingChange (SettingChangedEvent $ event )
2828 {
29+ if ($ event ->getModuleId () !== 'oemondu ' ) return ;
30+
2931 if (
3032 $ event ->getSettingName () === 'oemonduWebhookSecret ' ||
3133 $ event ->getSettingName () === 'oemonduIsMerchantIdentified '
@@ -53,6 +55,8 @@ protected function registerWebhooks()
5355 $ webhookParams = oxNew (Webhook::class, $ webhookTopic )->getData ();
5456 $ response = $ this ->_client ->registerWebhook ($ webhookParams );
5557
58+ if ($ response ['status ' ] === 409 ) return ;
59+
5660 if (!$ response ['webhook ' ]) {
5761 $ errorMessage = $ response ['status ' ] === 403 ? 'INVALID_API_KEY ' : 'MONDU_REGISTER_WEBHOOK_ERROR ' ;
5862
Original file line number Diff line number Diff line change 22 "name" : " mondu/bnpl-checkout-oxid" ,
33 "description" : " Mondu payment method for the OXID eShop." ,
44 "type" : " oxideshop-module" ,
5- "version" : " 1.1.0 " ,
5+ "version" : " 1.1.1 " ,
66 "license" : [
77 " OSL-3.0" ,
88 " AFL-3.0"
Original file line number Diff line number Diff line change 1010 'en ' => 'Module for Mondu payment. ' ,
1111 ),
1212 'thumbnail ' => 'out/src/images/logo.png ' ,
13- 'version ' => '1.1.0 ' ,
13+ 'version ' => '1.1.1 ' ,
1414 'author ' => 'Mondu GmbH ' ,
1515 'url ' => 'https://www.mondu.ai ' ,
1616
You can’t perform that action at this time.
0 commit comments