You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
According to Adyen documentation and my own tests the additionalData with RequestedTestAcquirerResponseCode can be used to test error responses.
does not allow RequestedTestAcquirerResponseCode to be used in that array, so e.g. the Shopware 6 Adyen plugin will remove that property if added to the payment request data.
On the other hand for live environments that option really is invalid, so to be perfectly safe it should only be available on the sandbox. However, I don't think that property is used by the production endpoint (at least I hope so), so submitting it shouldn't be an issue then either.
I also created an issue for Shopware 6 plugin, to provide a way to easily provide that code. These two issues are a bit related (though not the same): Adyen/adyen-shopware6#210
To Reproduce
Use CheckoutStateDataValidator to sanitize data and provide RequestedTestAcquirerResponseCode in additional data. As even additional data does not seem to be allowed.
The text was updated successfully, but these errors were encountered:
Describe the bug
According to Adyen documentation and my own tests the additionalData with RequestedTestAcquirerResponseCode can be used to test error responses.
However, the current implementation of https://github.com/Adyen/adyen-php-api-library/blob/develop/src/Adyen/Service/Validator/CheckoutStateDataValidator.php
does not allow RequestedTestAcquirerResponseCode to be used in that array, so e.g. the Shopware 6 Adyen plugin will remove that property if added to the payment request data.
On the other hand for live environments that option really is invalid, so to be perfectly safe it should only be available on the sandbox. However, I don't think that property is used by the production endpoint (at least I hope so), so submitting it shouldn't be an issue then either.
I also created an issue for Shopware 6 plugin, to provide a way to easily provide that code. These two issues are a bit related (though not the same): Adyen/adyen-shopware6#210
To Reproduce
Use CheckoutStateDataValidator to sanitize data and provide
RequestedTestAcquirerResponseCode
in additional data. As even additional data does not seem to be allowed.The text was updated successfully, but these errors were encountered: