Skip to content

FundingSourceEnum missing DEFFERED_DEBIT value returned by POS terminals #1878

@RichardLindhout

Description

@RichardLindhout

When processing payment responses from Adyen POS terminals, the additionalData.fundingSource field can return DEFFERED_DEBIT, which is not present in com.adyen.model.checkout.CardDetails.FundingSourceEnum.

The current enum only contains: CREDIT, DEBIT, PREPAID.

This causes FundingSourceEnum.fromValue() to throw an exception for a valid terminal funding source, resulting in errors like:

fundingType unknown: AdditionalResponse[additionalData=AdditionalData[fundingSource=DEFFERED_DEBIT, acquirerResponseCode=00 : Approved or completed successfully, cardScheme=visastandardcredit, applicationLabel=Visa, ...]]

Could the enum be extended to cover this value, or is there some other enum for webhook parsing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug reportIndicates that issue has been marked as a possible bug by its creatorneeds response

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions