|
|
Rank: Newbie
Joined: 8/23/2008 Posts: 7 Location: Serbia
|
I have a problem accessing checkout page on defaul umbraco 3.0.6 + commerce for umbraco installation. I am getting Redirect loop error (visible in firefox or chrome, in IE it's only a blank page trying to load...)
On my local machine everything is working correctly, no redirect loop error. It's happening only on shared hosting. I have that problem on two webhosting providers (one is on IIS6 and the other on IIS7).
In short, it is fresh install umbraco3.0.6 + CommerceforUmbracoMacros_Beta1.umb + CommerceforUmbraco_Beta1.umb.
I can see in code that checkout is working differently if it's on localhost (but I can not compile and debug - files regarding paypal are missing in sources - I am trying to find them now).
Also I did not configure paypal and ups services - if it has something to do with it...
Can somebody propose some solution?
thanks in advance
|
|
 Rank: Fanatic
Joined: 10/30/2007 Posts: 225 Location: Bellingham
|
Miha - Make certain you have the appropriate entries in web.config: Code: <sectionGroup name="commerceDomainConfiguration" type="System.Configuration.SingleTagSectionHandler"> <section name="yourdomain.com" allowLocation="true" allowDefinition="MachineToApplication" type="System.Configuration.SingleTagSectionHandler"/> </sectionGroup> </configSections> <commerceDomainConfiguration> <yourdomain.com orderPrefix="YD" cartUrl="http://www.yourdomain.com/cart.aspx" checkoutUrl="https://www.yourdomain.com/checkout.aspx" PayPalECsuccessUrl="https://www.yourdomain.com/checkout.aspx" PayPalECfailUrl="http://www.yourdomain.com/default.aspx" loginPage="http://www.yourdomain.com/login.aspx" baseDomain="yourdomain.com" /> </commerceDomainConfiguration>
You'll need this for each domain. -Paul motusconnect.com :: level-2 certified :: MVP 2008/2009
|
|
Rank: Newbie
Joined: 8/23/2008 Posts: 7 Location: Serbia
|
Response directly from the main man... nice :) Yes, I have that part (but it was without "loginpage" and "basedomain" arguments). But still nothing. I am willing to try to debug the thing, but I can not compile solution. I get source from svn repositorie, but 3 files from dashCommerce.NET\PayPal are missing: Code:APIWrapper.cs PayPalHelper.cs PayPalServiceUtility.cs I was able to find those files (but I am not sure that they are correct) but when I am trying to compile I am getting error on like I am missing some reference. What am I missing here? miha
|
|
 Rank: Fanatic
Joined: 10/30/2007 Posts: 225 Location: Bellingham
|
Miha - Okay, great. You won't need the login... and base... for the build on CodePlex. I'm not sure why the PayPal code files are missing but the CodePlex source is out of date (my bad!) and is due for an update along with the nearly ready beta 2. In the interim, I've placed the PayPal code here: http://cid-52f15258bd1b885b.skydrive.live.com/self.aspx/CommerceForUmbraco/PayPalCode-C4U.zipBest, -Paul motusconnect.com :: level-2 certified :: MVP 2008/2009
|
|
Rank: Newbie
Joined: 8/23/2008 Posts: 7 Location: Serbia
|
Finnaly, here I am.
First thanks for the files, I was able to build dc4umbraco (after adding some functions - like some parts of the code are out of sync).
I've found what part of the code is making Redirect Loop. It's part with comment: redirect to configured checkoutUrl. The only problem is that on my webhost, Utility.GetCheckoutUrl(), that is getting checkout URL from web.config, is getting empty string.
I'll see what is happening there now and I'll post it here.
Miha
|
|
Rank: Newbie
Joined: 8/23/2008 Posts: 7 Location: Serbia
|
And here is the solution: section name in <commerceDomainConfiguration> must be exactly whole address to umbraco instalation. I was using subdomain for umbraco instalation (umbraco.yourdomain.com) and for section name it was only yourdomain.com. Anyway, it's working now flawlessly :) Miha
|
|
 Rank: Fanatic
Joined: 7/21/2006 Posts: 315 Location: Salerno - Italy
|
I tested Commerce4Umbraco, but after the first two install steps, I've some errors: - All nodes under Macro and Type nodes are disappeared - DataType ID 1215 not found Bye Red Consulting s.a.s - Umbraco from v1.0
|
|
|
Guest |