Freigeben über


Commerce Server 2007 Tips, Tricks, Recipes and Gotchas

Comments

  • Anonymous
    January 08, 2007
    The comment has been removed

  • Anonymous
    March 08, 2007
    iam going through all your blogs and we are practicing. i got good info about cs2007 thank you

  • Anonymous
    March 14, 2007
    Glad to hear it was helpful :), enjoy. -Max

  • Anonymous
    May 21, 2007
    hi, I am developing a ASP.NET 2.0 web site using commerce server web services. I wasnt able to find any method which in the catalog web service which returns all the categories in a catalog. Is there any way of doing this? thanks for all the help in advance.

  • Anonymous
    June 08, 2007
    Yes you can do this by doing a search and setting the i_classType to 1. -Max

  • Anonymous
    August 09, 2007
    Hi Akbar, Can we use PayPal type as we use Credit Cards with Commerce Server 2007?

  • Anonymous
    August 12, 2007
    Yes, Last I heard and bloged about it was that Pay Pal was going to create a pipeline to do just that. http://blogs.msdn.com/maxakbar/archive/2007/06/13/paypal-what-s-new-and-what-s-next-paypal-developer-blog-paypal-developer-community.aspx -Max

  • Anonymous
    September 20, 2007
    Last link in your list doesn't work.

  • Anonymous
    September 26, 2007
    It should be working now :), sorry. -Max

  • Anonymous
    July 18, 2008
    One quick questiion : How to call the SiteCacheRefresh.axd url (http://<WebServerMachineName>/OrdersWebService/SiteCacheRefresh.axd?CacheToRefresh=CatalogCache) from some scheduled job or task  as in our implementation there is a requirement to call it from the application server for the 4 web servers. the reason for this is we have 2 application on each of the webserver so the total application count is 8 for 4 webservers, while calling the SiteCacheRefresh from the overnight running staging if any of the 8 application have some problem then our whole of the batch process is getting stopped, so we want to call the URL from the app server manually by job or task independently and not to do through staging.  

  • Anonymous
    August 11, 2008
    You can do this by using the web request APIs of .NET http://msdn.microsoft.com/en-us/library/system.net.webrequest.aspx. Good luck, -Max

  • Anonymous
    September 09, 2008
    The comment has been removed

  • Anonymous
    September 10, 2008
    i'm having a problem with CommerceContext.Current.UserProfile, specifically, it dosent contain any information. when change of page of loged a another page.aspx then on another page i have CommerceContext current = CommerceContext.Current Profile userProf = current.UserProfile but userProf is blank! i thought current.UserProfile is ment to persist the loged in profile please help Email:masb222@gmail.com

  • Anonymous
    September 20, 2008
    The comment has been removed

  • Anonymous
    September 20, 2008
    Hi Miguel, Couple of things, if you don't set the user id in the cookie then the profile object will always be null. The way the CommerceContext.Current.UserProfile works is that it will look at the user’s cookie and use the user's email in there to get the current profile. IPrincipal user = HttpContext.Current.User; if ((user != null) && (user.Identity != null)) {    Response.Write(user.Identity.Name); } This should provide you the user's email then check your profile system to make sure that the user exists. -Max