How to pass the AuthorizeNetPaymentSettings from the CheckoutController to the PaymentAuthorizeNetController.
I mean how to pass the AuthorizeNetPaymentSettings values from
\Nop.Web\Controllers\CheckoutController.cs
to
\Plugins\Nop.Plugin.Payments.AuthorizeNet\Controllers\PaymentAuthorizeNetController.cs
I don't want to use default value for AuthorizeNetPaymentSettings from Setting table.
public PaymentAuthorizeNetController(ISettingService settingService,
ILocalizationService localizationService, AuthorizeNetPaymentSettings authorizeNetPaymentSettings)
{
this._settingService = settingService;
this._localizationService = localizationService;
this._authorizeNetPaymentSettings = authorizeNetPaymentSettings;
}