Description
BankingWebhookParser can throw WebhookParseException but exception does not exists.
Steps to reproduce
- Install adyen/php-api-library v29.0.0
- Pass an invalid JSON payload to BankingWebhookParser:
use Adyen\Service\BankingWebhookParser;
$parser = new BankingWebhookParser('not json');
$parser->getGenericWebhook();
Actual behavior
Actual: Error: Class "Adyen\Service\WebhookParseException" not found
Expected behavior
Expected: Adyen\Service\WebhookParseException is thrown
Code snippet or screenshots (if applicable)
No response
Adyen PHP API Library version
v29.0.0
PHP version
8.3
Operating System
Linux
Additional context
No response
Description
BankingWebhookParser can throw WebhookParseException but exception does not exists.
Steps to reproduce
use Adyen\Service\BankingWebhookParser;
$parser = new BankingWebhookParser('not json');
$parser->getGenericWebhook();
Actual behavior
Actual: Error: Class "Adyen\Service\WebhookParseException" not found
Expected behavior
Expected: Adyen\Service\WebhookParseException is thrown
Code snippet or screenshots (if applicable)
No response
Adyen PHP API Library version
v29.0.0
PHP version
8.3
Operating System
Linux
Additional context
No response