Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Field data type issue in LinkMetaResponseEntity #74

Open
arunrony opened this issue Oct 30, 2024 · 0 comments
Open

Field data type issue in LinkMetaResponseEntity #74

arunrony opened this issue Oct 30, 2024 · 0 comments

Comments

@arunrony
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant