Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreStore module generateOrderConfirmation() throws errorStore module generateOrderConfirmation() throws error
Previous
 
Next
New Post
9/4/2008 6:26 AM
 

Hi,

I am using Store 02.01.00 module with Dotnetnuke 04.08.04. I have configure the store admin setting to use the AuthorizeNetProvider payment geteway option. Currently I am using my test payment gateway account @ Authorize.Net.

When I confirm the order an error is thrown "Value cannot be null. Parameter name: format". I have debug code and found that the transaction success but error thrown from  "generateOrderConfirmation()" function on following line (line No. 162).

//Order email header
                String _Message = Services.Localization.Localization.GetString("OrderEmailHeader", this.LocalResourceFile);

The key "OrderEmailHeader" is not available in the AuthorizeNetPayment.ascx.resx file. Also some other keys also not available still it has been used in code.

How I can trust the module?
Is Dotnetnuke testing their product before releasing?
Can anybody from DotNetNuke team assure that the Store module is reliable?


Thanks,
Mahesh 

 

 
New Post
9/10/2008 2:12 AM
 

 Yes, DNN does its best to test the modules before release; however this is a Open Source solution where the time is donated free of charge by the developers and tested to offer you a quality product at no cost.  Sometimes mistakes are made, however in this case I have personally been using the AuthNet class for several years without issue.  I am wondering if maybe, AuthNet has made some param changes and we simply need to know what they are an update them.  If you could assist us in pinpointing the bad param(s) and then identify the correct param(s), that would be most helpful.  You can post what you find right here in this thread and we can then investigate it.  Do remember that any debugging, code, etc you do and post is of your one accord and there is no financial reimbursement for it (you offer it free of charge or obligation).  It simply helps the community and by extension you.  We appreciate your assistance and time taken to post this information.

 


Best Regards,

Robert J Collins | Co-Founder & President

Netlogic Corporation

 
New Post
9/10/2008 3:06 AM
 

Hi Robert,

There is no param changes for AuthNet provider, It's working fine. Also returns right params with message "transaction successful".

The error is thrown when the generateOrderConfirmation() method of PaymentControlBase is called from AuthorizeNetPayment.ascx.cs page. The error is thrown from following line.

    //Order email header
                String _Message = Services.Localization.Localization.GetString("OrderEmailHeader", this.LocalResourceFile);
                textLine = String.format(_Message, PortalSettings.PortalName, tabInfo.TabName, storeEmail);
                emailText.Append(textLine + "\r\n\r\n");

There is not such a key as OrderContents in resource file so _Message become null. Now in very next line when null is passed to String.formate it throws error. "Value cannot be null. Parameter name: format"

Not only the OrderContents but all the following key are not found from resouce file. Event have tried by adding all these keys to AuthorizeNetPayment.ascx.resx but still the error not resolveed.

OrderBillingAddress
OrderCannotBeProcessed
OrderContents
OrderEmailHeader
OrderItems
OrderNumber
OrderShipping
OrderShippingAddress
OrderSubject
OrderSubjectToAdmin
OrderSubTotal
OrderTax
OrderTermsOfUse
OrderThanks
OrderTotal

Thanks,
Mahesh

 
New Post
9/10/2008 3:10 AM
 

 OK, I will look into this and see what I can find.

 


Best Regards,

Robert J Collins | Co-Founder & President

Netlogic Corporation

 
New Post
7/1/2009 12:49 PM
 

Its been 9 months have you had time to look at this issue I am getting the same error and tried to download the source code so I could fix it but it doesn't have the codebehind files have you found a fix for this issue? or can you send me the sourse code and I'll fix it this is holding me up from haveing my site up and running  Please relpy no one else on this site has.

Scott

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreStore module generateOrderConfirmation() throws errorStore module generateOrderConfirmation() throws error


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out