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.

  • Masood Afzal 176 posts 522 karma points
    May 29, 2013 @ 15:27
    Masood Afzal
    0

    uCommerce SagePay Integration Issues - Payment page not shown to user

    I am wokring on uCommerce site and trying to integrate SagePay with uCommerce.

    The set up from backend (ucommerce settings) looks ok but when user submits the order, user is redirected to confirmation page instead of payment page. The sage pay payment page is not shown at all. Can anyone please help?

     

     

     

     

  • Masood Afzal 176 posts 522 karma points
    May 29, 2013 @ 15:30
    Masood Afzal
    0

    I am using uCommerce Demo Store (Razor).

     

    SagePay configuration:

    vendor="xxxxxx"

    txType="PAYMENT"

    debug="true"

    testMode="LIVE"

    successUrl="http://www.abc.com/success.aspx"

    abortUrl="http://www.abc.com/abort.aspx"

    failureUrl="http://www.abc.com/error.aspx"

    notificationURL="(auto)"

    />

  • Jesper Nielsen 141 posts 498 karma points
    May 31, 2013 @ 14:07
    Jesper Nielsen
    0

    Hello Masood!

     

    Which version of uCommerce and the Razor store are you using?

    Also, which settings have you set in the backend?

    Are there any messages in the log file?

     

    Kind regards,

    Jesper

  • Masood Afzal 176 posts 522 karma points
    May 31, 2013 @ 15:30
    Masood Afzal
    0

    Thanks Jesper,

    I am using uCommerce v3.0.5 & umbraco 4.11.5 and latest Razor store.

    I have set up Payment method 'SagePay' with pipeline 'Checkout'

    There used to be an error previously which was: 

    Could not find the Payment with PaymentMethodName: '8', and one of PaymentId: '67' or PaymentGuid: ''. 

    UCommerce.EntitiesV2.Payment Extract(System.Web.HttpRequest)    

    at UCommerce.Transactions.Payments.UrlPaymentExtractor.Extract(HttpRequest httpRequest)     

    at UCommerce.Transactions.Payments.GenericPaymentHandler.Execute(HttpContext context, IPaymentWindow& paymentWindow, Payment& payment)     at UCommerce.Transactions.Payments.PaymentProcessor.ProcessRequest(HttpContext context)

    Now there is no error message in umbracoLog, and when I submit order, an entry is added to uCommerce_Payment table, but user is never presented by 'SagePay' payment page.
    Any help would be much appreciated.
    Thanks

     

  • Jesper Nielsen 141 posts 498 karma points
    Jun 03, 2013 @ 10:30
    Jesper Nielsen
    0

    Hello Masood,

    It sounds like there might be a problem with the backend setup.

    Could you please post a screen dump of your setup? Specifically the "Common" and "Access" tabs of the Settings/Orders/Payment Methods page.

    Kind regards,

    Jesper

  • Masood Afzal 176 posts 522 karma points
    Jun 05, 2013 @ 12:05
    Masood Afzal
    100

    This has been fixed now.

    The redirect to confirmation page was removed and it worked fine. Changes to Preview.cshtml

        var request = HttpContext.Current.Request;

        if (request.HttpMethod == "POST" && request.Form.AllKeys.Any(x => x == "send-order"))

        {

            TransactionLibrary.ExecuteBasketPipeline();

    TransactionLibrary.RequestPayments();

            @*HttpContext.Current.Response.Redirect("Confirmation.aspx");*@

        }

     

Please Sign in or register to post replies

Write your reply to:

Draft