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.

  • Tara 20 posts 40 karma points
    Jan 26, 2012 @ 11:38
    Tara
    0

    Dynamic successUrl, abortUrl, failureUrl for Sagepay?

    I have two different sites working off one product catalog, is it possible to change the urls that are passed to Sagepay so that they redirect to the correct site (and therefore empty the basket upon successful transaction)?

    Site A

    successUrl="http://staging.sitea.com/shop/checkout/success.aspx"
    abortUrl="http://staging.sitea.com/shop/checkout/abort.aspx"
    failureUrl="http://staging.sitea.com/shop/checkout/failure.aspx"

    Site B

     

    successUrl="http://staging.siteb.com/shop/checkout/success.aspx"
    abortUrl="http://staging.siteb.com/shop/checkout/abort.aspx"
    failureUrl="http://staging.siteb.com/shop/checkout/failure.aspx"

     

    Thanks

    Tara

     

  • Søren Spelling Lund 1797 posts 2786 karma points
    Jan 27, 2012 @ 11:55
    Søren Spelling Lund
    0

    By default they're fixed, but you could do another redirect from the fixed page based on some custom criteria, e.g. a piece of info on the order.

  • Tara 20 posts 40 karma points
    Jan 27, 2012 @ 13:08
    Tara
    0

    I was going to try adding a second sagepay config file containing the seconds sites urls and create a new Payment Method item to use this, then depending on which site I am on switchp payment methods.

    Would this work? I'll give it a go.

     

  • Søren Spelling Lund 1797 posts 2786 karma points
    Jan 31, 2012 @ 09:54
    Søren Spelling Lund
    0

    It would be easier to do the redirect. You'll avoid having a bunch of redundant settings in your site.

  • Tara 20 posts 40 karma points
    Jan 31, 2012 @ 19:24
    Tara
    0

    I am having a problem with this because SagePay does not pass the orderId back to the success.aspx page, therefore I set it in a cookie, but that cookie belongs to the other domain site. Therefore I have no way of knowing the correct orderid. Is it possible to set up two sagepay payment methods with different settings? I tried but it only every uses the first sagepay.config

  • Søren Spelling Lund 1797 posts 2786 karma points
    Feb 13, 2012 @ 12:52
    Søren Spelling Lund
    0

    Hi Tara,

    uCommerce 2.5 includes an updated SagePay provider, which includes the orderGuid as part of the querystring when a customer is returned to your site. You can get your hands on 2.5 on our site.

Please Sign in or register to post replies

Write your reply to:

Draft