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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc(payment): Add reasonCode to HyperwalletPayment #212

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

oualidsr
Copy link
Contributor

@oualidsr oualidsr commented Apr 29, 2024

Hello 馃憢

We (BlaBlaCar) recently activated the reasonCode field and we are facing an issue when parsing notifications with the HyperwalletPayment object (+ couldn't get the reasonCode) :

<#2f49d778> c.f.j.d.e.UnrecognizedPropertyException: Unrecognized field "reasonCode" (class com.hyperwallet.clientsdk.model.HyperwalletPayment), not marked as ignorable (14 known properties: "notes", "releaseOn", "createdOn", "destinationToken", "currency", "status", "expiresOn", "programToken", "clientPaymentId", "amount", "token", "memo", "purpose", "links"])

There could probably be a workaround to avoid this error by skipping unknown fields on our Mapper, but we extended this POJO in our codebase as a workaround to add the reasonCode field which is quite useful for us.

Feel free to push on this branch or close this PR if not relevant

Thanks 馃檹

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

Successfully merging this pull request may close these issues.

None yet

1 participant