File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Smartstore.Modules/Smartstore.PayPal/Services Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -42,9 +42,9 @@ public async Task<bool> IsExcludedAsync(PaymentFilterRequest request)
42
42
// Info: it's save to use € here directly, because PayPal offers Pay Upon Invoice only in Germany.
43
43
var cartTotal = await _orderCalculationService . GetShoppingCartTotalAsync ( request . Cart ) ;
44
44
if ( cartTotal . Total . HasValue
45
- && cartTotal . Total . Value . Amount >= settings . PayUponInvoiceLimit
46
- && cartTotal . Total . Value . Amount <= 5
47
- && _services . WorkContext . WorkingCurrency . CurrencyCode == "EUR" )
45
+ && ( cartTotal . Total . Value . Amount >= settings . PayUponInvoiceLimit
46
+ || cartTotal . Total . Value . Amount <= 5
47
+ || _services . WorkContext . WorkingCurrency . CurrencyCode != "EUR" ) )
48
48
{
49
49
return true ;
50
50
}
You can’t perform that action at this time.
0 commit comments