|
@@ -75,7 +75,7 @@ discard block |
|
|
block discarded – undo |
|
75
|
75
|
{ |
|
76
|
76
|
$output->info(count($this->getAllNewWebhooks()) . " new hooks to check"); |
|
77
|
77
|
|
|
78
|
|
- foreach($this->getAllNewWebhooks() as $webHook) { |
|
|
78
|
+ foreach ($this->getAllNewWebhooks() as $webHook) { |
|
79
|
79
|
$output->infoid(" Processing hook ID " . $webHook->getId() . " - Action Type = " . $webHook->getHookEventType()); |
|
80
|
80
|
try { |
|
81
|
81
|
$this->processWebhook($webHook, $output); |
|
@@ -93,13 +93,13 @@ discard block |
|
|
block discarded – undo |
|
93
|
93
|
$webhookEvent->setOutput($commonOutput); |
|
94
|
94
|
} else { |
|
95
|
95
|
$this->sendErrorMessage( |
|
96
|
|
- "Received webhook from MangoPay *" . $hook->getHookEventType() ."* and unsure what to do with it \n ```" . json_encode($hook->getRawHookData()) . "```", |
|
|
96
|
+ "Received webhook from MangoPay *" . $hook->getHookEventType() . "* and unsure what to do with it \n ```" . json_encode($hook->getRawHookData()) . "```", |
|
97
|
97
|
':anguished:' |
|
98
|
98
|
); |
|
99
|
99
|
} |
|
100
|
100
|
} |
|
101
|
101
|
|
|
102
|
|
- private function getIdentityCheckReportByOnfidoReportId(OnfidoHookQueue $onfidoHookQueue) : ?IdentityCheckReport |
|
|
102
|
+ private function getIdentityCheckReportByOnfidoReportId(OnfidoHookQueue $onfidoHookQueue) : ? IdentityCheckReport |
|
103
|
103
|
{ |
|
104
|
104
|
return $this->mangoPayRepositoryFactory->getIdentityCheckReport()->findOneByOnfidoReportId( |
|
105
|
105
|
$onfidoHookQueue->getResourceId() |
Please login to merge, or discard this patch.