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.

  • Jamie Robb 10 posts 40 karma points
    May 13, 2013 @ 15:25
    Jamie Robb
    0

    WorldPay post URL not configurable?

    We’re trying to determine once and for all if any of our uCommerce websites will be affected by the upcoming changes being made by WorldPay - http://www.worldpay.com/support/index.php?page=domain-change&c=WW

    What we’ve established is that our sites appear to be posting to the WorldPay payment gateway using https://secure.wp3.rbsworldpay.com/wcc/purchase, which then redirects to https://secure.worldpay.com/wcc/dispatcher.

    I've asked WorldPay for advice and they've said we need to be posting to https://secure.worldpay.com/wcc/purchase, but I can't find anywhere within uCommerce where this URL can be configured.

    Anyone have any ideas how to change this URL??  Basically we need to change all references of "rbsworldpay.com" otherwise the checkout process will not work...

  • Jamie Robb 10 posts 40 karma points
    May 14, 2013 @ 15:14
    Jamie Robb
    0

    Surely I'm not the only person using WorldPay with uCommerce?!?

  • Martin 181 posts 740 karma points
    May 19, 2013 @ 21:47
    Martin
    0

    Hi Jamie Robb,

    You can not change the url where uCommerce POST order data in a configuration file (as far I'm aware). However you can change it by override the default "page" generator and change to post URL that way. I'm not sitting with the code right now but my guess with be that you need to create a new class which inherits from WorldPayPageBuilder (Not sure whether its entirely correct). Then you can override the BuildBody method and then change post URL to the correct one.

    I suggest you activate debug then you're able to see what values are posted to the payment provider.

     

    Best regards Martin

  • Søren Spelling Lund 1797 posts 2786 karma points
    May 22, 2013 @ 23:17
    Søren Spelling Lund
    0

    There seems to be 301 redirects in place for the URLs uCommerce is using pre-3.6 so I expect it to continue working wihtout incident.

    However, just to be on the safe side I have updated uCommerce 3.6 with the latest URLs. You can grab a copy at www.ucommerce.dk/releases/uCommerce-3.6.0.13142.zip. (Remember backup if you decide to upgrade).

  • Jamie Robb 10 posts 40 karma points
    May 29, 2013 @ 11:31
    Jamie Robb
    0

    Thanks for your help guys.

    I was nervous with relying on the WorldPay redirects and didn't fancy upgrading from uCommerce 2.6 to 3.6, so instead I followed an approach similar to what Martin suggested except I created a class to inherit from the WorldPayPaymentMethodService.  I could then simply override the PostUrl as required.

    Looks like everything is still working as expected, but I guess we'll need to wait until WorldPay's deadline of tomorrow and see what happens!

  • Søren Spelling Lund 1797 posts 2786 karma points
    Jun 03, 2013 @ 10:22
    Søren Spelling Lund
    0

    Let me know how it worked out for you.

  • Jamie Robb 10 posts 40 karma points
    Jun 04, 2013 @ 13:23
    Jamie Robb
    0

    Looks like everything working ok thanks :)

Please Sign in or register to post replies

Write your reply to:

Draft