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.

  • Maff 141 posts 466 karma points
    Nov 27, 2013 @ 12:23
    Maff
    0

    Checkout not working for uCommerce store

    Hi,

    I've added a product/variant to the basket, and set up the billing/order addresses etc, with a payment method that uses the 'Default Payment Method Service' so I don't have to enter any credit card details. I also have a confirmation email setup with the corresponding content item selected.

    My problem is when I set the pipeline within the Payment Method to 'Checkout' I get the following error on the Preview.aspx page:

    Error loading MacroEngine script (file: uCommerce/Preview.cshtml)

    If I change the pipeline to any other setting (e.g. processing, complete order etc), the process works fine and goes through to the confirmation page, but I don't get a confirmation email.

    The Preview.cshtml page has the following code in it:

    if (request.HttpMethod == "POST" && request.Form.AllKeys.Any(x => x == "send-order"))
        {
            TransactionLibrary.ExecuteBasketPipeline();
    TransactionLibrary.RequestPayments();
            HttpContext.Current.Response.Redirect("Confirmation.aspx");
        }

    I have it workin on my dev server with no problems, and can't see any differences with the setup on my staging server...

    Any help would be much appreciated.

    Maff

  • Morten Skjoldager 440 posts 1499 karma points
    Dec 02, 2013 @ 10:04
    Morten Skjoldager
    0

    Hi Maff, 

    Can you please try to send us the stacktrace or anything indicating what is wrong. You can look in the log files or try to attach the umbdebugshowtrace=True. 

    My wildest guess though, is your send email task that is failing.

    Kind regards

    Morten

  • Maff 141 posts 466 karma points
    Dec 11, 2013 @ 10:36
    Maff
    0

    Hi Morten,

    I just came back to this issue to try your suggestion and it's working now without me doing anything - very strange but I'm not complaining! :)

    Thanks for your suggestion anyway - I will try that in future if I get any other errors.

    Thanks,

    Maff

  • Morten Skjoldager 440 posts 1499 karma points
    Dec 11, 2013 @ 16:12
    Morten Skjoldager
    0

    Roger. Glad to help.

     

Please Sign in or register to post replies

Write your reply to:

Draft