|
@@ -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,7 +93,7 @@ discard block |
|
|
block discarded – undo |
|
93
|
93
|
|
|
94
|
94
|
} else { |
|
95
|
95
|
$this->sendErrorMessage( |
|
96
|
|
- "Received webhook from MangoPay *" . $hook->getHookEventType() ."*, which is unknown. Firing event anyway \n ```" . json_encode($hook->getRawHookData()) . "```", |
|
|
96
|
+ "Received webhook from MangoPay *" . $hook->getHookEventType() . "*, which is unknown. Firing event anyway \n ```" . json_encode($hook->getRawHookData()) . "```", |
|
97
|
97
|
':anguished:' |
|
98
|
98
|
); |
|
99
|
99
|
} |
|
@@ -118,7 +118,7 @@ discard block |
|
|
block discarded – undo |
|
118
|
118
|
$this->mangoPayRepositoryFactory->saveAndGetEntity($hook); |
|
119
|
119
|
} |
|
120
|
120
|
|
|
121
|
|
- private function getIdentityCheckReportByOnfidoReportId(OnfidoHookQueue $onfidoHookQueue) : ?IdentityCheckReport |
|
|
121
|
+ private function getIdentityCheckReportByOnfidoReportId(OnfidoHookQueue $onfidoHookQueue) : ? IdentityCheckReport |
|
122
|
122
|
{ |
|
123
|
123
|
return $this->mangoPayRepositoryFactory->getIdentityCheckReport()->findOneByOnfidoReportId( |
|
124
|
124
|
$onfidoHookQueue->getResourceId() |
Please login to merge, or discard this patch.