See nopCommerce_4.50.2\src\Presentation\Nop.Web\Controllers\CheckoutController.cs
//all payment methods (do not filter by country here as it could be not specified yet) var paymentMethods = await (await _paymentPluginManager .LoadActivePluginsAsync(await _workContext.GetCurrentCustomerAsync(), (await _storeContext.GetCurrentStoreAsync()).Id)) .WhereAwait(async pm => !await pm.HidePaymentMethodAsync(cart)).ToListAsync();
or See nopCommerce_4.50.2\src\Presentation\Nop.Web\Factories\CheckoutModelFactory.cs where it is filtered by country
What version - strangley v4.4 calls it LoadActivePluginsAsyncAsync
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Vous avez encore des questions ou avez besoin d'aide?