File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/Libraries/SmartStore.Services/Payments Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11using System ;
22using System . Collections . Generic ;
33using System . Linq ;
4+ using SmartStore . Core . Data ;
45using SmartStore . Core . Domain . Orders ;
56using SmartStore . Core . Domain . Payments ;
6- using SmartStore . Core . Infrastructure ;
77using SmartStore . Core . Plugins ;
88using SmartStore . Services . Configuration ;
99using SmartStore . Services . Localization ;
@@ -79,7 +79,8 @@ public virtual IEnumerable<Provider<IPaymentMethod>> LoadActivePaymentMethods(in
7979 }
8080 else
8181 {
82- throw Error . Application ( "At least one payment method provider is required to be active." ) ;
82+ if ( DataSettings . DatabaseIsInstalled ( ) )
83+ throw Error . Application ( "At least one payment method provider is required to be active." ) ;
8384 }
8485 }
8586
You can’t perform that action at this time.
0 commit comments