Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

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 🙏

@grmeyer-hw-dev grmeyer-hw-dev merged commit 6484267 into hyperwallet:master Jul 4, 2024
@grmeyer-hw-dev
Copy link
Collaborator

Hi @oualidsr

Thanks for your contribution.
This change will be available on Java V4 SDK v2.4.9

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.

2 participants