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.

  • Luke Alderton 192 posts 509 karma points
    Nov 20, 2013 @ 15:07
    Luke Alderton
    0

    Worldpay callback failure

    Hi,

    I'm using v2.0.5.0 and just got this error: 'UserHostName: 195.35.91.68 does not end with: .rbsworldpay.com.' Looking at this page: http://www.worldpay.com/support/index.php?page=domain-change&c=WW I can see that worldpay have made some changes to the way they work. How would I change the site to accept connections from the new worldpay domains?

    Thanks in advance, Luke

  • Søren Spelling Lund 1797 posts 2786 karma points
    Nov 21, 2013 @ 15:37
    Søren Spelling Lund
    0

    uCommerce 2 would actively block payment callbacks from unknown URLs. The authorization of callbacks has since changed in version 3 and above.

    To fix this issue you can either upgrade to a later version or override the ProcessCallback method on the WorldPayPaymentMethod class to take over callback handling yourself.

    Hope this helps.

  • Simon Osborne 108 posts 150 karma points
    Nov 26, 2013 @ 16:19
    Simon Osborne
    0

    Hi Soren,

    any examples of overiding the ProcessCallback method?

    Thanks,

    Simon

  • Søren Spelling Lund 1797 posts 2786 karma points
    Nov 29, 2013 @ 11:05
    Søren Spelling Lund
    0

    Sure, which version are you on?

  • Simon Osborne 108 posts 150 karma points
    Nov 29, 2013 @ 11:51
    Simon Osborne
    0

    Its Version 2.6.1.0

  • Søren Spelling Lund 1797 posts 2786 karma points
    Dec 02, 2013 @ 09:47
    Søren Spelling Lund
    0

    You can inherit the class WorldPayPaymentMethodService and override the ProcessCallback method. Once that's done in uCommerce 2 register the new implementation in the web.config and change the configured payment method to use the new service.

  • Mark Slade 48 posts 109 karma points
    Dec 05, 2013 @ 18:51
    Mark Slade
    0

    Hi Soren, 

    I'm having the same issue with the error "UserHostName: 195.35.91.68 does not end with: .rbsworldpay.com." but, I'm using uCommerce v3.6.1.13149.

    You say in an earlier post that uCommerce handles thing diffently from v3. How can I get around this problem without writing overide code?

     

    Regards

    Mark


  • Morten Skjoldager 440 posts 1499 karma points
    Dec 06, 2013 @ 12:45
    Morten Skjoldager
    0

    Hi Mark,

    We've scheduled a work item to fix this issue. Hopefully a release should be out soon. If this is urgent you have to override the paymentmethod service yourself. 

    If you need the code please contact me at msk at ucommerce dot dk and i'll send you the code so you can remove if from your installation. 

    Regards

    Morten 

  • Governor Technology 146 posts 551 karma points
    Dec 11, 2013 @ 13:57
    Governor Technology
    0

    Hi Morten

    I am experiencing the same problem with uCommerce 4.0.3.13287. I have emailed you with more information requesting the sample code for overriding ProcessCallback in WorldPayPaymentMethodService.

    Thanks in advance,

    Rigardt

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

    Done.

     

  • Søren Spelling Lund 1797 posts 2786 karma points
    Dec 11, 2013 @ 21:33
    Søren Spelling Lund
    1

    You want to upgrade your current install. Here are the relevant downloads with the fix for every major version:

    uCommerce 2.6.6

    uCommerce 3.6.8

    uCommerce 4.0.7

  • Governor Technology 146 posts 551 karma points
    Dec 12, 2013 @ 14:58
    Governor Technology
    0

    Just overriding ProcessCallback in WorldPayPaymentMethodService by excluding the check for rbsworldpay.com did get rid of the error, but seem to have introduced another null reference error in ProcessCallback. However, upgrading to uCommerce 4.0.7 with the standard WorldPayPaymentMethodService fixed all related issues for me.

    Many thanks!

  • Mark Slade 48 posts 109 karma points
    Dec 16, 2013 @ 19:02
    Mark Slade
    0

    Hi Soren, I followed your upgrade doc (http://www.publicvoid.dk/ChecklistForUpdatingUCommerce.aspx) but, it didn't work properly. 

    Should I uninstall the previous version first? I didn't do this and it gave me 2 installations of uCommerce in the "Installed Packages List" also, none of my product pages where working, giving me 404 errors? 

    Any ideas?

    Mark

     

  • Morten Skjoldager 440 posts 1499 karma points
    Dec 23, 2013 @ 09:26
    Morten Skjoldager
    0

    Hi Mark,

    Having two packages in the list should be fine. Can you tell me which versions you upgraded? Also can you please specify a little about which errors you're seeing ? 

    Best regards

    Morten

  • Gopal 5 posts 25 karma points
    Jul 08, 2014 @ 08:49
    Gopal
    0

    i use ucommerce v1.0.3  and i get error  "Umbraco.Web.UmbracoApplication - An unhandled exception occurred
    System.Security.SecurityException: UserHostName: 195.35.91.68 does not end with: .rbsworldpay.com.
       at UCommerce.Transactions.Payments.WorldPay.WorldPayPaymentMethodService.ProcessCallback(Payment payment)
       at UCommerce.Transactions.Payments.PaymentProcessor.ProcessRequest(HttpContext context)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    The Zone of the assembly that failed"

    but i test in local it work fine for redirect the woprldpay but when i test this on live i got this error so any idea for this

     

Please Sign in or register to post replies

Write your reply to:

Draft