diff --git a/CHANGELOG.md b/CHANGELOG.md index 100acd4..644d69d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,8 @@ - Fixed a bug where the products index page gave impression that it was possible to sort by Link. ([#59](https://github.com/craftcms/stripe/issues/59)) - Fixed a bug where, in certain cases, it was possible to access a Subscription element in a slideout without having permission to access the Stripe plugin. ([#61](https://github.com/craftcms/stripe/pull/61)) -- Fixed a bug where the “Sync from Stripe” user menu item was shown even if user didn't permission to access the Stripe plugin. ([#61](https://github.com/craftcms/stripe/pull/61)) +- Fixed a bug where the “Sync from Stripe” user menu item was shown even if user didn't have permission to access the Stripe plugin. ([#61](https://github.com/craftcms/stripe/pull/61)) +- Fixed a bug where the Webhook Signing Secret and ID were showing as parsed on the Webhooks page. ([#62](https://github.com/craftcms/stripe/issues/62)) ## 1.3.0 - 2024-11-19 diff --git a/src/controllers/WebhooksController.php b/src/controllers/WebhooksController.php index 3f4566f..b1c79d6 100644 --- a/src/controllers/WebhooksController.php +++ b/src/controllers/WebhooksController.php @@ -108,8 +108,8 @@ public function actionEdit(): YiiResponse $webhookInfo = []; $hasWebhook = true; - $webhookId = App::parseEnv($webhookRecord->webhookId); - $webhookSigningSecret = App::parseEnv($webhookRecord->webhookSigningSecret); + $webhookId = $webhookRecord->webhookId; + $webhookSigningSecret = $webhookRecord->webhookSigningSecret; if (!empty($webhookId)) { try {