We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ebadb3a + 7640c23 commit 1445d45Copy full SHA for 1445d45
Controller/Webhook/Index.php
@@ -213,10 +213,12 @@ private function isAuthorised(array $response)
213
{
214
// Add CGI support
215
$this->fixCgiHttpAuthentication();
216
+ $merchantAccount = $this->configHelper->getMerchantAccount()
217
+ ?? $this->configHelper->getMotoMerchantAccounts();
218
219
$authResult = $this->notificationReceiver->isAuthenticated(
220
$response,
- $this->configHelper->getMerchantAccount(),
221
+ $merchantAccount,
222
$this->configHelper->getNotificationsUsername(),
223
$this->configHelper->getNotificationsPassword()
224
);
0 commit comments