Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Bug]: Missing dataReview error type on several **\VerificationError.php #828

Open
Labels
@fguimier

Description

Description

Unsupported dataReview error/suberror type

Steps to reproduce

Hello,

I noticed an error when using the Adyen\Service\BalancePlatform::updateAccountHolder() method:

Actual behavior

An exception is thrown in Adyen\Model\BalancePlatform\VerificationError::setType()

InvalidArgumentException :

Invalid value 'dataReview' for 'type', must be one of 'dataMissing', 'invalidInput', 'pendingStatus'

Expected behavior

The API documentation mentions this type as one of the possible values, but this PHP library does not support it because the Adyen\Model\BalancePlatform\VerificationError does not have the TYPE_DATA_REVIEW constant.

I checked the other VerificationError classes; some of them do support it, and some do not.

For exemple, Adyen\Model\ConfigurationWebhooks\VerificationError does not have the constant TYPE_DATA_REVIEW but Adyen\Model\LegalEntityManagement\VerificationError does have it.

Code snippet or screenshots (if applicable)

No response

Adyen PHP API Library version

v19 but the latest version also have the issue

PHP version

8.3

Operating System

Linux

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /