View Cart|Wish List|Login|Register | Thursday, February 09, 2012
 
 Search   ..:: Support &
    Service
  Forum
::..
 
    Minimize
www.catalooksupport.com ::: another place for CATALooK.netStore support

    Minimize
SearchForum Home
     
  DotNetNuke  CATALooK.netStore  CreditCard Paym...
 Re: CreditCard Payments using DotNetCharge and Linkpoint
 
 10/15/2006 7:34:07 AM
nightshadow
4 posts
www.shadow-consulting.net


Re: CreditCard Payments using DotNetCharge and Linkpoint

Thanks for the reply. 

I did add those keys and sections to the web.config file before I posted my first questions about getting this work.  I have since double and triple checked the entries and look exactly like how you outlined them here as well as in the documentation.  However my problem still persists with  the 'Type initialization error'.  Any other ideas I can try?

Also here is another questions for you it is one I will have to deal with in the near future.  How is the best way to handle 2 stores on one DNN instance each on different portals, but they both use LinkPoint and both will need to use the DotNetChargeProvider?  By modifing the provider and adding the Referrer property into it with the URL of one of the stores how can I handle the other?  Thought I would ask your opinion.  I did purchase the CATALook source so if I need to change something in that I can.

Thanks again!

    - Dorian

 10/18/2006 12:29:23 PM
host
1831 posts
1st


Re: CreditCard Payments using DotNetCharge and Linkpoint

1. Did you rebuild the dotnetchargeprovider with your dotnetcharge.dll?

2. In this case you can not add the parameters to the code. You must enter the parameters into the field: 'additional parameters' of module CAT_StoreSettings.

Add new .netCHARGE properties which are not defined by the CATALooK.netStore settings (module CAT_StoreSettings)

 

 

You can enter the following additional parameters separated by a ‘;’ into the field ‘Additional Parameters’:

 

UserName

AccountID

CustomerID

Referrer

RequestedACI

StoreNumber

TerminalID

TerminalNumber

AgentBankNumber

AgentChainNumber

MerchantName

MerchantCity

MerchantPhone

MerchantState

MerchantZipPostal

MerchantCountry

TransactionOrigin

Partner

 

Example:

dotnetcharge:UserName=xyz;AccountID=abc

 

 10/20/2006 9:00:04 AM
nightshadow
4 posts
www.shadow-consulting.net


Re: CreditCard Payments using DotNetCharge and Linkpoint

Thanks for the info.  I switched back to the original DotNetChargeProvider .dll file, added the parameters you listed into the additional parameters area and I tested it again. 

I still got the same error.  I did grab more info about it from the Log Viewer though and was looking into the source code to see where it might be occuring at.  Here is the error in full:

AssemblyVersion: 03.01.01
Method: System.Activator.CreateInstance
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 21
PortalName: Christmas Craft and Food Fair
UserID: 145
UserName: dorian
ActiveTabID: 910
ActiveTabName: Cart
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: https://www.christmascraftandfoodfair.com/Default.aspx?tabid=910&CC=1&SSL=no
ExceptionGUID: 1fd00d9c-2b15-4f51-b487-dfe79fe1663b
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: The type initializer for "CATALooK.Modules.GatewayProvider.DotNetChargeProvider" threw an exception.
Message: DotNetNuke.Services.Exceptions.PageLoadException: The type initializer for "CATALooK.Modules.GatewayProvider.DotNetChargeProvider" threw an exception. ---> System.TypeInitializationException: The type initializer for "CATALooK.Modules.GatewayProvider.DotNetChargeProvider" threw an exception. ---> System.ArgumentNullException: Value cannot be null. Parameter name: type at System.Activator.CreateInstance(Type type, Boolean nonPublic) at DotNetNuke.Framework.Reflection.CreateObject(String TypeName, String CacheKey) at DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectNamespace, String ObjectAssemblyName) at DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType) at CATALooK.Modules.GatewayProvider.DotNetChargeProvider.CreateProvider() at CATALooK.Modules.GatewayProvider.DotNetChargeProvider..cctor() --- End of inner exception stack trace --- at CATALooK.Modules.GatewayProvider.DotNetChargeProvider.Instance() at CATALooK.CreditCardInfo.Charge(String CCPaymentProcessor) at CATALooK.ShoppingCart.cmdSendCardInfo_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain() --- End of inner exception stack trace ---
StackTrace:
Source:

From what I can tell by the error and the source code is that the error is occuring when it tries to kick in the DotNetChargeProvider, but given that I have the entries for it in the web.config file I am still not sure why this error is occuring.  I will double check the values and places where I have the changes to the web.config file.

Thanks!

 10/20/2006 10:44:46 AM
host
1831 posts
1st


Re: CreditCard Payments using DotNetCharge and Linkpoint
The version for DNN3.1.1 is too old. The 'Additional Fields' functionality for .netCHARGE parameters is only available for the latest versions. Please update to DNN3.3.5 / 4.3.5 and CATALooK.netStore v5.03/5.03.
I also think there must be something missing in your web.config  provider code: The type initializer for "CATALooK.Modules.GatewayProvider.DotNetChargeProvider" threw an exception. ---> System.ArgumentNullException: Value cannot be null. Parameter name: type


 10/20/2006 5:27:47 PM
andrecgm
6 posts


Re: CreditCard Payments using DotNetCharge and Linkpoint
Hi, Just so you know, I grew tired of fighting with all this complicated setting involving Linkpoint and DotNetCharge, so I switched to Authorize.net and it worked very well from day one.
  DotNetNuke  CATALooK.netStore  CreditCard Paym...

    Minimize
www.excommerce.com ::: eXcommerce are a dedicated reseller of Catalook. If you want the features of catalook without the hassle of setup and maintenance and want some extra support options please check our services.
      

References / Live Stores | Forum | Trial Downloads | Resource Directory | Release History | Support Requests | Referral Program | Contact
CATALooK |  Terms Of Use |  Privacy Statement
Copyright 2002-2010 CATALooK