How to simulate incorrect micro deposits in sandbox?

Hi,

I’m testing the dwolla-micro-deposits-verify drop-in component, but I can’t figure out a way to simulate the case where the user enters incorrect micro deposits. Any value between 0.01 and 0.10 succeeds, any value above 0.10 causes a “Amount should be between 0 and 10¢” error. But how to test the case where the user enters incorrect micro deposits?

Thanks,
Valeri

Hi @vkarpov15 , You can’t specifically test failed attempts, however you can simulate the max attempts error by passing in 0.09 and 0.09 as the values. This max attempts error is triggered when a user incorrectly enters MD amounts 3 times.

This topic was automatically closed after 365 days. New replies are no longer allowed.