Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Henrik Stokbro 15 posts 65 karma points
    May 12, 2015 @ 14:47
    Henrik Stokbro
    0

    Bug in uCommerce web.config settings

    Hey

    I am implementing payment in uCommerce (PayPal Express). When the payment is done, PayPal returns to my site on this URL:

    http://mysite.dev/9/29/PaymentProcessor.axd?token=EC-1P773746K1312264B&PayerID=BZ5DW7MT63WB8

    But IIS answers with 404... WHY!??

     

    Update:

    Okay, so I figured out that it works if the Application Pool is in Classic mode, but not in integrated mode. I want to make it work in integrated mode.

    Update - found a bug in uCommerce:

    uCommerce adds handling PaymentProcessor.asx here:

     <system.web>

       <httpHandlers>

        <add verb="*" path="PaymentProcessor.axd" type="UCommerce.Transactions.Payments.PaymentProcessor, UCommerce"/>

    But when running in integrated mode it should also add it to:

     <system.webServer>

     <handlers>

     

          <add name="PaymentProcessor" path="PaymentProcessor.axd" verb="*" type="UCommerce.Transactions.Payments.PaymentProcessor, UCommerce" preCondition="integratedMode" resourceType="Unspecified" />

    This explains it: https://msdn.microsoft.com/en-us/library/46c5ddfy.aspx

    .. as a .Net, IIS & uCommerce newbie this gotcha took me 1,5 day to figure out. Plz fix uCommerce.

  • Martin 181 posts 740 karma points
    May 13, 2015 @ 20:13
    Martin
    0

    Hi Henrik,

    Which version of uCommerce are you using? And which version of Umbraco?

    best regards Martin

  • Henrik Stokbro 15 posts 65 karma points
    Jun 04, 2015 @ 14:07
    Henrik Stokbro
    0

    version uCommerce 6.6.2.15058

  • Søren Spelling Lund 1792 posts 2742 karma points
    Jun 16, 2015 @ 09:28
    Søren Spelling Lund
    0

    Hi Henrik,

    Which version of IIS and ASP.NET are you using? We're running all of our test environemnts in integrated mode by default, so it should be covered, but it might be related to the specific versions of the underlying platforms used.

  • Henrik Stokbro 15 posts 65 karma points
    Jun 16, 2015 @ 10:20
    Henrik Stokbro
    0

    I am using IIS8 and ASP.NET v4.0.30319 (4.5) Pipeline mode integrated

    C:\Windows\System32>wmic product get description | findstr /C:.NET Microsoft .NET Framework 4.5.1 Multi-Targeting Pack

    Microsoft .NET Framework 4.5 Multi-Targeting Pack

    Microsoft .NET Framework 4.5.1 Multi-Targeting Pack (ENU)

    Microsoft .NET Framework 4.5 SDK

    Microsoft ASP.NET Web Pages 2 - Visual Studio Express 2013 for Web - ENU

    Microsoft ASP.NET MVC 4 Runtime

    Microsoft .NET Framework 4 Multi-Targeting Pack

    Microsoft ASP.NET Web Frameworks and Tools - Visual Studio Express 2013 for Web - ENU Microsoft ASP.NET and Web Tools 2013.4 - Visual Studio Express 2013 for Web

    Microsoft ASP.NET MVC 4 - Visual Studio Express 2013 for Web - ENU

    Microsoft ASP.NET Web Pages 2 Runtime

    Microsoft .NET Framework 4.5.1 SDK

Please Sign in or register to post replies

Write your reply to:

Draft