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.

  • Frode Storhaug 12 posts 33 karma points
    Oct 10, 2011 @ 22:42
    Frode Storhaug
    0

    paymentmehtod orderdetails

    I am experiencing a  little problem regarding displaying the paymentmethod name in the orderdetail page.

    When I go through the order process, I select the shippingmethod and paymentmethod and go to the last page (orderdetail) before I submit the order. The shippingmethod name is displayed, but the paymentmethod name is not displayed in the xslt 

    <xsl:for-each select="payments/payment">
              <li>
                <xsl:value-of select="@name"/> (<xsl:value-of select="@transactionId"/>)
              </li>
    

    </xsl:for-each>

    But, if I reload the page, it is displayed. It is also displayed if I use umbDebugShowTrace. It seems like the something is not finished before the page renders when I post the payment method. Does anyone have an idea on what might be wrong ? I am setting up a demo store, and I am trying to get all the basic things to work before I try to do anything more advanced. I am starting a new job in big firm in a few months and the plan is to use ucommerce as their ecommerce solution. Hopefully I can have full controll by then.

     

    Thanks

  • wolulcmit 357 posts 693 karma points
    Oct 11, 2011 @ 02:07
    wolulcmit
    0

    Have you selected a Hostname for uCommerce to run from and restarted the Application pool afterwards?
    I was having similar problems to this with the demo store (with shipping method displayName not showing up) and my problems disappeared after doing the above.

    - Tim

  • Frode Storhaug 12 posts 33 karma points
    Oct 11, 2011 @ 08:36
    Frode Storhaug
    0

    Thanks for your reply. I tried your tip, but it did not work :( I am running the latest ucommerce and umbraco. And like you I am using the templates and xslt files from the ucommerce demo store (ucommerce store package) . But for me it is like I said the payment name that does not show up before I reload the orderdetails page. I will keep trying.

    Thanks again.

  • Frode Storhaug 12 posts 33 karma points
    Oct 12, 2011 @ 00:06
    Frode Storhaug
    0

    I see in the forum, that there has been almost the exact same problem with shipping methods in earlier versions of ucommerce. Could it be the same problem with paymentmethods. I have tried to get this to work for two days now. But nothing works. I have debugged in visual studio, and the PurchaseOrder's paymentmethods are correct, but the CommerceLibrary:GetBasket() in the xslt on the ordersummary page is not correct before I reload the page (not repost), press enter in the addressline so that the page refresh without posting again. I can not understand how the shippingmethod is updated, but not the paymentmethod.

    Hopefully someone has a solution for this.

     

  • Søren Spelling Lund 1797 posts 2786 karma points
    Oct 13, 2011 @ 13:14
    Søren Spelling Lund
    0

    Are you using the standard site or something you wrote from scratch?

  • Frode Storhaug 12 posts 33 karma points
    Oct 13, 2011 @ 16:01
    Frode Storhaug
    0

    I am using the standard xslt files from the demo installation. I have tride a default installation, only new design and a modified version (but with the same scripts) I am running the site on .net 4. Mabe I should start all over again ? Doesn't anybody else have this problem ?

  • Søren Spelling Lund 1797 posts 2786 karma points
    Oct 14, 2011 @ 15:29
    Søren Spelling Lund
    0

    I think it might be an XSLT file that got modified at some point. Have not seen this particular issue previously and there hasn't been an update to the store for a while.

  • Frode Storhaug 12 posts 33 karma points
    Oct 14, 2011 @ 18:33
    Frode Storhaug
    0

    Try this : http://defucom.staging.no

    it is a default installation of umbraco, ucommerce and uCommerce-Store-1.2.0.0 all lates versions. I have not done anything after the installation beside assign domain name and publish it.

    If you go through the shop, put ie. uCommerce 1.0 RTM Go-Live in the shopping basket, go to basket, put in address, select shipping and payment.

    If you then go to submit, the ordersummary page. The payment line is empty, everything else is correct. If you then go to the adressbar, and press enter, the

    Account (8ceb294d-379e-46a3-a949-1c7db25e5213) is displayed. Is this how it is supposed to be ? Or is there a bug in the ucommerce-store package ?

    Thanks for your help

     

  • Frode Storhaug 12 posts 33 karma points
    Oct 16, 2011 @ 14:53
    Frode Storhaug
    0

    from 

    Change log for 2.0.4.0

    CommerceLibrary:GetBasket would display old shipping method id after changing shipping method until subsequent request.

    My guess is that this is also the case with paymentmehtod ?

    After a lot of debugging, I see that after I update the paymentmethod, the getbasket does not return the new paymentmethod until I request the page once more.

    Strange error since as I mentioned in my last post, this also happens in the default demo. Hopefully somebody else has experienced this and has a fix for it.

  • Søren Spelling Lund 1797 posts 2786 karma points
    Oct 17, 2011 @ 16:42
    Søren Spelling Lund
    0

    You're absolutely right. It's a bug and it's fixed in the latest prerelease of uCommerce 2.1.

    Thank you for the thorough issue report. Much appreciated!

Please Sign in or register to post replies

Write your reply to:

Draft