You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The SDK (v25+) is unable to parse the Authentication webhook from Adyen. Specifically, it fails to handle the challenge.flow field when the enum value is "PWD_OTP_PHONE_FL", as this value does not exist in the SDK.
SDK Reference
In SDK v27.0.0, the Adyen.Model.AcsWebhooks.ChallengeInfo.FlowEnum enum is defined as follows:
[JsonConverter(typeof(StringEnumConverter))]publicenumFlowEnum{/// <summary>/// Enum OTPSMS for value: OTP_SMS/// </summary>[EnumMember(Value="OTP_SMS")]OTPSMS=1,/// <summary>/// Enum OOB for value: OOB/// </summary>[EnumMember(Value="OOB")]OOB=2}
The PWD_OTP_PHONE_FL value is missing from this enum, causing parsing failures when such webhooks are received.
To Reproduce
Activate the Authentication webhook in the Adyen platform.
Send a test webhook containing a challenge.flow value of "PWD_OTP_PHONE_FL".
Observe the failure when the SDK attempts to parse the payload.
Expected behavior
The SDK should properly parse the challenge.flow value without error, including support for "PWD_OTP_PHONE_FL".
Additional context
This issue is reproducible on the N2F account.
Please investigate adding support for the missing value or a fallback mechanism to prevent parsing errors.
The text was updated successfully, but these errors were encountered:
cedricmeleard
changed the title
Error in Adyen.Model.AcsWebhooks.ChallengeInfo.FlowEnum Webhook send not existing value
Error in Adyen.Model.AcsWebhooks.ChallengeInfo.FlowEnum Parsing, Authentication Webhook send a not existing value
Jan 16, 2025
Describe the bug
The SDK (v25+) is unable to parse the Authentication webhook from Adyen. Specifically, it fails to handle the challenge.flow field when the enum value is "PWD_OTP_PHONE_FL", as this value does not exist in the SDK.
Example of failing payload part:
SDK Reference
In SDK v27.0.0, the Adyen.Model.AcsWebhooks.ChallengeInfo.FlowEnum enum is defined as follows:
The
PWD_OTP_PHONE_FL
value is missing from this enum, causing parsing failures when such webhooks are received.To Reproduce
Expected behavior
The SDK should properly parse the challenge.flow value without error, including support for "PWD_OTP_PHONE_FL".
Additional context
This issue is reproducible on the N2F account.
Please investigate adding support for the missing value or a fallback mechanism to prevent parsing errors.
The text was updated successfully, but these errors were encountered: