Skip to content

Commit ade7aa8

Browse files
Set 2.3.0 beta version (#569)
* Update version to 2.3.0-beta * Disable StaticWebAssets and Compression in multiple projects StaticWebAssetsEnabled set to false in various project files, including: - Authentication.Facebook.csproj - Authentication.Google.csproj - DiscountRules.Standard.csproj - Payments.BrainTree.csproj - Payments.CashOnDelivery.csproj - Payments.StripeCheckout.csproj - Shipping.ByWeight.csproj - Shipping.FixedRateShipping.csproj - Shipping.ShippingPoint.csproj - Tax.CountryStateZip.csproj - Tax.FixedRate.csproj - Theme.Modern.csproj - Widgets.FacebookPixel.csproj - Widgets.GoogleAnalytics.csproj - Widgets.Slider.csproj CompressionEnabled set to false in: - Grand.SharedUIResources.csproj - Grand.Web.Admin.csproj - Grand.Web.Vendor.csproj - Grand.Web.csproj * Braintree - Add CurrencyIsoCode to TransactionRequest * Add ConfigurationManager and update StripeCheckout
1 parent 649295a commit ade7aa8

File tree

23 files changed

+33
-9
lines changed

23 files changed

+33
-9
lines changed

Directory.Packages.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
<PackageVersion Include="Microsoft.AspNetCore.Authentication.Facebook" Version="9.0.1" />
4242
<PackageVersion Include="Microsoft.AspNetCore.Authentication.Google" Version="9.0.1" />
4343
<PackageVersion Include="Braintree" Version="5.29.0" />
44+
<PackageVersion Include="System.Configuration.ConfigurationManager" Version="9.0.1" />
4445
<PackageVersion Include="System.Linq.Dynamic.Core" Version="1.6.0.1" />
4546
<PackageVersion Include="System.Xml.XPath.XmlDocument" Version="4.7.0" />
4647
<PackageVersion Include="Stripe.net" Version="47.3.0" />

src/Build/Grand.Common.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
</ItemGroup>
4646
<Target Name="SetVersion" BeforeTargets="PrepareForBuild">
4747
<PropertyGroup>
48-
<Version>2.3.0-develop</Version>
48+
<Version>2.3.0-beta</Version>
4949
</PropertyGroup>
5050
</Target>
5151
</Project>

src/Plugins/Authentication.Facebook/Authentication.Facebook.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<Import Project="..\..\Build\Grand.Common.props" />
33
<PropertyGroup>
44
<AddRazorSupportForMvc>true</AddRazorSupportForMvc>
5+
<StaticWebAssetsEnabled>false</StaticWebAssetsEnabled>
56
</PropertyGroup>
67

78
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">

src/Plugins/Authentication.Google/Authentication.Google.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<Import Project="..\..\Build\Grand.Common.props" />
33
<PropertyGroup>
44
<AddRazorSupportForMvc>true</AddRazorSupportForMvc>
5+
<StaticWebAssetsEnabled>false</StaticWebAssetsEnabled>
56
</PropertyGroup>
67
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
78
<OutputPath>..\..\Web\Grand.Web\Plugins\Authentication.Google</OutputPath>

src/Plugins/DiscountRules.Standard/DiscountRules.Standard.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<Import Project="..\..\Build\Grand.Common.props" />
33
<PropertyGroup>
44
<AddRazorSupportForMvc>true</AddRazorSupportForMvc>
5+
<StaticWebAssetsEnabled>false</StaticWebAssetsEnabled>
56
</PropertyGroup>
67

78
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">

src/Plugins/Payments.BrainTree/BrainTreePaymentProvider.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public async Task<ProcessPaymentResult> ProcessPayment(PaymentTransaction paymen
123123
Environment = useSandBox ? Environment.SANDBOX : Environment.PRODUCTION,
124124
MerchantId = merchantId,
125125
PublicKey = publicKey,
126-
PrivateKey = privateKey
126+
PrivateKey = privateKey,
127127
};
128128

129129
//new transaction request
@@ -156,6 +156,7 @@ public async Task<ProcessPaymentResult> ProcessPayment(PaymentTransaction paymen
156156
PostalCode = customer.BillingAddress.ZipPostalCode
157157
};
158158
transactionRequest.BillingAddress = addressRequest;
159+
transactionRequest.CurrencyIsoCode = paymentTransaction.CurrencyCode;
159160

160161
//transaction options request
161162
var transactionOptionsRequest = new TransactionOptionsRequest {

src/Plugins/Payments.BrainTree/Payments.BrainTree.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<Import Project="..\..\Build\Grand.Common.props" />
33
<PropertyGroup>
44
<AddRazorSupportForMvc>true</AddRazorSupportForMvc>
5+
<StaticWebAssetsEnabled>false</StaticWebAssetsEnabled>
56
</PropertyGroup>
67

78
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">

src/Plugins/Payments.CashOnDelivery/Payments.CashOnDelivery.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<Import Project="..\..\Build\Grand.Common.props" />
33
<PropertyGroup>
44
<AddRazorSupportForMvc>true</AddRazorSupportForMvc>
5+
<StaticWebAssetsEnabled>false</StaticWebAssetsEnabled>
56
</PropertyGroup>
67

78
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">

src/Plugins/Payments.StripeCheckout/Payments.StripeCheckout.csproj

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
<Import Project="..\..\Build\Grand.Common.props" />
33
<PropertyGroup>
44
<AddRazorSupportForMvc>true</AddRazorSupportForMvc>
5-
</PropertyGroup>
5+
<StaticWebAssetsEnabled>false</StaticWebAssetsEnabled>
6+
</PropertyGroup>
67

78
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
89
<OutputPath>..\..\Web\Grand.Web\Plugins\Payments.StripeCheckout\</OutputPath>
@@ -15,13 +16,14 @@
1516
</PropertyGroup>
1617

1718
<ItemGroup>
18-
<PackageReference Include="Stripe.net" />
19+
<PackageReference Include="Stripe.net" />
1920
</ItemGroup>
2021

2122
<Target Name="CopyFile" AfterTargets="AfterBuild">
2223
<ItemGroup>
23-
<CopyFiles Include="$(NuGetPackageRoot)\stripe.net\47.3.0\lib\net8.0\*.*" />
24-
</ItemGroup>
24+
<CopyFiles Include="$(NuGetPackageRoot)\stripe.net\47.3.0\lib\net8.0\*.*" />
25+
<CopyFiles Include="$(NuGetPackageRoot)\newtonsoft.json\13.0.3\lib\net6.0\*.dll" />
26+
</ItemGroup>
2527
<Copy SourceFiles="@(CopyFiles)" DestinationFolder="..\..\Web\Grand.Web\Plugins\Payments.StripeCheckout\" />
2628
</Target>
2729

src/Plugins/Shipping.ByWeight/Shipping.ByWeight.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<Import Project="..\..\Build\Grand.Common.props" />
33
<PropertyGroup>
44
<AddRazorSupportForMvc>true</AddRazorSupportForMvc>
5+
<StaticWebAssetsEnabled>false</StaticWebAssetsEnabled>
56
</PropertyGroup>
67

78
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">

0 commit comments

Comments
 (0)