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

Current checkout payment model does not support the field RequestedTestAcquirerResponseCode #410

Closed
fgiannotti opened this issue Feb 3, 2025 · 3 comments
Labels

Comments

@fgiannotti
Copy link

Describe the bug

Hi!! According to the docs, there is a field called RequestedTestAcquirerResponseCode that could be used to test error responses:
https://help.adyen.com/knowledge/ecommerce-integrations/integrations-basics/how-can-i-test-responsecodes-using-additionaldata

Image

This field must be populated within the AdditionalData field, which is of type *map[string]string (link), but the field RequestedTestAcquirerResponseCode is an int.

Image

Would it be possible for AdditionalData to be of type *map[string]interface{} ?

@gcatanese
Copy link
Contributor

gcatanese commented Feb 14, 2025

Thank you @fgiannotti for reporting this. It doesn't look correct, you are right.

I have tried to use a string value (in a curl request) and it works. This could be a short term solution.

"additionalData":{
    "RequestedTestAcquirerResponseCode":"6"
},

I think you suggestion is however correct and we are going to address the code. Thank you.

Copy link

github-actions bot commented Mar 1, 2025

This issue has been automatically marked as stale due to inactivity and will be closed in 7 days if no further activity occurs.

@github-actions github-actions bot added the Stale label Mar 1, 2025
Copy link

github-actions bot commented Mar 9, 2025

This issue was closed due to inactivity. Please reopen if you still encounter this problem or have more information to add.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants