Payment Gateway Code / Dlls


https://forum.kartris.com/Topic3824.aspx
Print Topic | Close Window

By DataBasic - Fri 3 Jul 2015
I can't get the Payment Engine SDK to work with my version of Kartris (2.8004).

Even the provided Dlls in the bin/release folder straight from the Sample Payment Gateway Code v1.001 zip don't work if I copy them into my Plugins folder to overwrite the existing ones provided with 2.8004.

I get the following error in the logs:

-----------------------------------------------------------------------------
>> Version:2.6002
...
>> DESCRIPTION:
System.NullReferenceException: Object reference not set to an instance of an object.
at Kartris.My.MySettings.GetProperty(String strPropertyName)
at Kartris.My.MySettings.get_Status()
at Admin_PaymentGateways.LoadGateways()
at Admin_PaymentGateways.RefreshGatewayDisplay()
at Admin_PaymentGateways.Page_Load(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

==================================================

Am I doing something wrong or is there a newer version of the SDK that I can get hold of?

Kind Regards,

Simon
By DataBasic - Tue 7 Jul 2015
I found the problem.

The "PaymentSense.dll.config" file in the download zip contains the wrong configuration settings.
By Tiggywiggler - Tue 7 Jul 2015
Thank you very much for sharing the solution for future users.

Have a great evening and good luck with your project.