Skip to content

Field data type issue in LinkMetaResponseEntity #74

@arunrony

Description

@arunrony

The LinkMetaResponseEntity defined the fields as follow:-
upi_intent: Optional[StrictBool] = Field(None, description="If \"true\", link will directly open UPI Intent flow on mobile, and normal link flow elsewhere")

but the data server sending back after link generation is
"link_meta" : { "payment_methods" : "", "upi_intent" : "false" },

The upi_intent coming as string from server and LinkMetaResponseEntity look for a bool, It fails the PGCreateLink even the link is created at cashfree side.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions