Could I user IExchangeRateProvider from payment plugin?
When I using it like this:
private readonly IExchangeRateProvider _exchangeRateProvider;
public SomePaymentProcessor(IExchangeRateProvider exchangeRateProvider)
{
_exchangeRateProvider = exchangeRateProvider;
}
I receiving an error:
Nop.Core.NopException: 'No constructor was found that had all the dependencies satisfied.'
What I need to add to work?