Skip to content

Commit

Permalink
Merge pull request #3 from appinlet/release/1.1.2
Browse files Browse the repository at this point in the history
2022-07-01: v1.1.2
  • Loading branch information
appinlet authored Jul 1, 2022
2 parents b90fd75 + fa11f02 commit c92d60a
Show file tree
Hide file tree
Showing 16 changed files with 1,310 additions and 1,263 deletions.
649 changes: 332 additions & 317 deletions Nop.Plugin.Payments.PayGate/Controllers/PaymentPayGateController.cs

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions Nop.Plugin.Payments.PayGate/Description.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Group: Payment methods
FriendlyName: PayGate
SystemName: Payments.PayGate
Version: 1.1.1
SupportedVersions: 3.90
Author: App Inlet (Pty) Ltd
DisplayOrder: 1
FileName: Nop.Plugin.Payments.PayGate.dll
Group: Payment methods
FriendlyName: PayGate
SystemName: Payments.PayGate
Version: 1.1.1
SupportedVersions: 3.90
Author: App Inlet (Pty) Ltd
DisplayOrder: 1
FileName: Nop.Plugin.Payments.PayGate.dll
Description: PayGate Payment Gateway Plugin for nopCommerce 3.9 by App Inlet (Pty) Ltd
54 changes: 27 additions & 27 deletions Nop.Plugin.Payments.PayGate/Models/ConfigurationModel.cs
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
using Nop.Web.Framework;
using Nop.Web.Framework.Mvc;

namespace Nop.Plugin.Payments.PayGate.Models
{
public class ConfigurationModel : BaseNopModel
{
public int ActiveStoreScopeConfiguration { get; set; }

[NopResourceDisplayName("Plugins.Payments.PayGate.Fields.UseSandbox")]
public bool UseSandbox { get; set; }
public bool UseSandbox_OverrideForStore { get; set; }

[NopResourceDisplayName("Plugins.Payments.PayGate.Fields.PayGateID")]
public string PayGateID { get; set; }
public bool PayGateID_OverrideForStore { get; set; }

[NopResourceDisplayName("Plugins.Payments.PayGate.Fields.EncryptionKey")]
public string EncryptionKey { get; set; }
public bool EncryptionKey_OverrideForStore { get; set; }

[NopResourceDisplayName("Plugins.Payments.PayGate.Fields.EnableIpn")]
public bool EnableIpn { get; set; }
public bool EnableIpn_OverrideForStore { get; set; }


}
using Nop.Web.Framework;
using Nop.Web.Framework.Mvc;

namespace Nop.Plugin.Payments.PayGate.Models
{
public class ConfigurationModel : BaseNopModel
{
public int ActiveStoreScopeConfiguration { get; set; }

[NopResourceDisplayName("Plugins.Payments.PayGate.Fields.UseSandbox")]
public bool UseSandbox { get; set; }
public bool UseSandbox_OverrideForStore { get; set; }

[NopResourceDisplayName("Plugins.Payments.PayGate.Fields.PayGateID")]
public string PayGateID { get; set; }
public bool PayGateID_OverrideForStore { get; set; }

[NopResourceDisplayName("Plugins.Payments.PayGate.Fields.EncryptionKey")]
public string EncryptionKey { get; set; }
public bool EncryptionKey_OverrideForStore { get; set; }

[NopResourceDisplayName("Plugins.Payments.PayGate.Fields.EnableIpn")]
public bool EnableIpn { get; set; }
public bool EnableIpn_OverrideForStore { get; set; }


}
}
272 changes: 136 additions & 136 deletions Nop.Plugin.Payments.PayGate/Nop.Plugin.Payments.PayGate.csproj
Original file line number Diff line number Diff line change
@@ -1,137 +1,137 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{9E6044C8-0952-4733-9C96-051EC434F3E1}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Nop.Plugin.Payments.PayGate</RootNamespace>
<AssemblyName>Nop.Plugin.Payments.PayGate</AssemblyName>
<TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\Presentation\Nop.Web\Plugins\Payments.PayGate\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\Presentation\Nop.Web\Plugins\Payments.PayGate\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<Private>False</Private>
<HintPath>..\..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Web" />
<Reference Include="System.Web.Helpers, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.Helpers.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\packages\Microsoft.AspNet.Mvc.5.2.3\lib\net45\System.Web.Mvc.dll</HintPath>
<SpecificVersion>False</SpecificVersion>
<Private>False</Private>
</Reference>
<Reference Include="System.Web.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.AspNet.Razor.3.2.3\lib\net45\System.Web.Razor.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.WebPages.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System.Web.WebPages.Deployment, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.WebPages.Deployment.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.WebPages.Razor.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="PayGateHelper.cs" />
<Compile Include="PayGatePaymentProcessor.cs" />
<Compile Include="PayGatePaymentSettings.cs" />
<Compile Include="Controllers\PaymentPayGateController.cs" />
<Compile Include="Models\ConfigurationModel.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="RouteProvider.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Libraries\Nop.Core\Nop.Core.csproj">
<Project>{6BDA8332-939F-45B7-A25E-7A797260AE59}</Project>
<Name>Nop.Core</Name>
<Private>False</Private>
</ProjectReference>
<ProjectReference Include="..\..\Libraries\Nop.Services\Nop.Services.csproj">
<Project>{210541AD-F659-47DA-8763-16F36C5CD2F4}</Project>
<Name>Nop.Services</Name>
<Private>False</Private>
</ProjectReference>
<ProjectReference Include="..\..\Presentation\Nop.Web.Framework\Nop.Web.Framework.csproj">
<Project>{75FD4163-333C-4DD5-854D-2EF294E45D94}</Project>
<Name>Nop.Web.Framework</Name>
<Private>False</Private>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="Views\PaymentPayGate\Configure.cshtml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Views\PaymentPayGate\PaymentInfo.cshtml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Include="app.config" />
<None Include="packages.config" />
<Content Include="web.config">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<SubType>Designer</SubType>
</Content>
</ItemGroup>
<ItemGroup>
<Content Include="Description.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="logo.jpg">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="Notes.txt" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{9E6044C8-0952-4733-9C96-051EC434F3E1}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Nop.Plugin.Payments.PayGate</RootNamespace>
<AssemblyName>Nop.Plugin.Payments.PayGate</AssemblyName>
<TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\Presentation\Nop.Web\Plugins\Payments.PayGate\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\Presentation\Nop.Web\Plugins\Payments.PayGate\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<Private>False</Private>
<HintPath>..\..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Web" />
<Reference Include="System.Web.Helpers, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.Helpers.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\packages\Microsoft.AspNet.Mvc.5.2.3\lib\net45\System.Web.Mvc.dll</HintPath>
<SpecificVersion>False</SpecificVersion>
<Private>False</Private>
</Reference>
<Reference Include="System.Web.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.AspNet.Razor.3.2.3\lib\net45\System.Web.Razor.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.WebPages.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System.Web.WebPages.Deployment, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.WebPages.Deployment.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.WebPages.Razor.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="PayGateHelper.cs" />
<Compile Include="PayGatePaymentProcessor.cs" />
<Compile Include="PayGatePaymentSettings.cs" />
<Compile Include="Controllers\PaymentPayGateController.cs" />
<Compile Include="Models\ConfigurationModel.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="RouteProvider.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Libraries\Nop.Core\Nop.Core.csproj">
<Project>{6BDA8332-939F-45B7-A25E-7A797260AE59}</Project>
<Name>Nop.Core</Name>
<Private>False</Private>
</ProjectReference>
<ProjectReference Include="..\..\Libraries\Nop.Services\Nop.Services.csproj">
<Project>{210541AD-F659-47DA-8763-16F36C5CD2F4}</Project>
<Name>Nop.Services</Name>
<Private>False</Private>
</ProjectReference>
<ProjectReference Include="..\..\Presentation\Nop.Web.Framework\Nop.Web.Framework.csproj">
<Project>{75FD4163-333C-4DD5-854D-2EF294E45D94}</Project>
<Name>Nop.Web.Framework</Name>
<Private>False</Private>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="Views\PaymentPayGate\Configure.cshtml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Views\PaymentPayGate\PaymentInfo.cshtml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Include="app.config" />
<None Include="packages.config" />
<Content Include="web.config">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<SubType>Designer</SubType>
</Content>
</ItemGroup>
<ItemGroup>
<Content Include="Description.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="logo.jpg">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="Notes.txt" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
10 changes: 5 additions & 5 deletions Nop.Plugin.Payments.PayGate/Notes.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
1. Set project output path to ..\..\Presentation\Nop.Web\Plugins\{PluginName}\ (both 'Release' and 'Debug' configurations)
2. All views (cshtml files) and web.config file should have "Build action" set to "Content" and "Copy to output directory" set to "Copy if newer"
1. Set project output path to ..\..\Presentation\Nop.Web\Plugins\{PluginName}\ (both 'Release' and 'Debug' configurations)


2. All views (cshtml files) and web.config file should have "Build action" set to "Content" and "Copy to output directory" set to "Copy if newer"

Loading

0 comments on commit c92d60a

Please sign in to comment.