Hello,
Since I am running out of time waiting for a proper documentation for the integration of a new payment provider, I have setup trying to integrate my payment provider using a brut force approach. I have certainly run in to problems as expected.
However I definitely need to continue on, and I am hoping someone will have mercy on me and reply my post, as my last three posts have not been replied.
First, I am using the PayPayPro provided as a sample because it is very similar to my new payment provided.
So here is the huddle. I believe my error (see below) is as a result of the entry in Table: dbo.ecSUpportedPlugins:
Here is the data in the table dbo.ecSUpportedPlugins
PayPalPro Provider Entry in table dbo.ecSUpportedPlugins
PluginName: PayPalPro
TypeName: DotNetPanel.Ecommerce.EnterpriseServer.PayPalProProvider, DNP.Plugins.PayPalPro
My New Provider Entry table dbo.ecSUpportedPlugins PluginName: InterSwitchWebPay
TypeName: DotNetPanel.Ecommerce.EnterpriseServer.InterSwitchWebPayProvider, DNP.Plugins.InterSwitchWebPay
Question 1: Where or how is “DotNetPanel.Ecommerce.EnterpriseServer.PayPalProProvider” implemented, so that I can create a “DotNetPanel.Ecommerce.EnterpriseServer.InterSwitchWebPayProvider” for my own payment provider.
Question 2: What is “IPaymentGatewayProvider” or “IInteractivePaymentGatewayProvider”, are my supposed to implement one of these Interfaces for my new Payment Provider?
Question 3: Where is "DNP.Plugins.PayPalPro", how do I create an equivalent class for, "DNP.Plugins.InterSwitchWebPay"?
Please I desperately need a response.
Thank you.
Victoria
Server Error in '/' Application.
Server was unable to process request. ---> Value cannot be null.
Parameter name: type
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Value cannot be null.
Parameter name: type
Source Error:
Line 385: public static KeyValueBunch GetPluginProperties(int pluginId)
Line 386: {
Line 387: return EC.Services.Storehouse.GetPluginProperties(
Line 388: PanelSecurity.SelectedUserId, pluginId);
Line 389: } |
Source File: C:\Users\Me\Documents\Visual Studio 2005\Websites\DNP WebPotal 2.4.0\DNP.WebPortal\DesktopModules\Ecommerce\Code\Helpers\StorehouseHelper.cs Line: 387
Stack Trace:
[SoapException: Server was unable to process request. ---> Value cannot be null.
Parameter name: type]
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +533574
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[ parameters) +204
DotNetPanel.Ecommerce.EnterpriseServer.ecStorehouse.GetPluginProperties(Int32 userId, Int32 pluginId) +130
DotNetPanel.Ecommerce.Portal.StorehouseHelper.GetPluginProperties(Int32 pluginId) in C:\Users\Me\Documents\Visual Studio 2005\Websites\DNP WebPotal 2.4.0\DNP.WebPortal\DesktopModules\Ecommerce\Code\Helpers\StorehouseHelper.cs:387
DotNetPanel.Ecommerce.Portal.PaymentMethodCreditCard.LoadProviderProperties(String pluginName) in C:\Users\Me\Documents\Visual Studio 2005\Websites\DNP WebPotal 2.4.0\DNP.WebPortal\DesktopModules\Ecommerce\PaymentMethodCreditCard.ascx.cs:194
DotNetPanel.Ecommerce.Portal.PaymentMethodCreditCard.Page_Load(Object sender, EventArgs e) in C:\Users\Me\Documents\Visual Studio 2005\Websites\DNP WebPotal 2.4.0\DNP.WebPortal\DesktopModules\Ecommerce\PaymentMethodCreditCard.ascx.cs:81
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
System.Web.UI.Control.OnLoad(EventArgs e) +99
DotNetPanel.Portal.DotNetPanelControlBase.OnLoad(EventArgs e) in C:\Users\Me\Documents\Visual Studio 2005\Websites\DNP WebPotal 2.4.0\DNP.WebPortal\DesktopModules\DotNetPanel\Code\Framework\DotNetPanelControlBase.cs:335
DotNetPanel.Portal.DotNetPanelModuleBase.OnLoad(EventArgs e) in C:\Users\Me\Documents\Visual Studio 2005\Websites\DNP WebPotal 2.4.0\DNP.WebPortal\DesktopModules\DotNetPanel\Code\Framework\DotNetPanelModuleBase.cs:66
DotNetPanel.Ecommerce.Portal.ecModuleBase.OnLoad(EventArgs e) in C:\Users\Me\Documents\Visual Studio 2005\Websites\DNP WebPotal 2.4.0\DNP.WebPortal\DesktopModules\Ecommerce\Code\Framework\ecModuleBase.cs:124
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
|
Version Information: Microsoft .NET Framework Version:2.0.50727.312; ASP.NET Version:2.0.50727.833