Checkout payment details : error 702
rousseldenis opened this issue · 4 comments
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Some banks return unwanted fields after a payment (especially creditmutuel.fr). The submission to paymentDetails fail due to these:
AdyenAPIValidationError:Received validation error with errorCode: 702, message: Structure of PaymentCompletionDetails contains the following unmapped fields
Describe the solution you'd like
A clear and concise description of what you want to happen.
I think this library should include accepted fields dictionary like in https://github.com/Adyen/adyen-node-api-library/blob/develop/src/typings/checkout.ts#L2885 to help filtering.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
@KadoBOT What do you think ?
I believe having such thing in the library would be great, indeed. I think eventually we can work on that, but this is not on our priorities right now.
If you feel like, please create a draft PR with an initial implementation of this feature, and I'll be glad to review it.
Best,
Ricardo
I believe having such thing in the library would be great, indeed. I think eventually we can work on that, but this is not on our priorities right now.
If you feel like, please create a draft PR with an initial implementation of this feature, and I'll be glad to review it.
Best,
Ricardo
Ok, I'll do it as it causes problems at our side
Hello @rousseldenis,
Thank you for opening the pr. For us it would be hard to maintain this feature so it is recommend it to implement this on the application side.
kind regards,
Alexandros
Adyen