Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Robert 30 posts 110 karma points
    Aug 30, 2013 @ 12:43
    Robert
    0

    SagePay error Authentication failed because the remote party has closed the transport stream

    Hi, I can't find any information on this so I'm creating a new Topic. Basically when I call TC.GeneratePaymentForm through razor I get the exception:

    2013-08-30 11:32:25,032 [10] WARN umbraco.macro - [Thread 66] Error loading MacroEngine script (file: /checkout/confirm.cshtml, Type: ''. Exception: System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Authentication failed because the remote party has closed the transport stream.

    I've contacted Sage and they said it's not an error from them and my test server is working fine ready for testing. Anyone got any ideas?

    Thanks Rob

  • Anders Burla 2560 posts 8256 karma points
    Sep 02, 2013 @ 10:23
    Anders Burla
    0

    I think this is because an error happens when generation the payment form and Umbraco/Tea Commerce tries to write a file to the disk. Be sure to have the app pool to have Modify rights for the entire folder where the website is located on disk.

    Kind regards
    Anders

  • Robert 30 posts 110 karma points
    Sep 02, 2013 @ 15:45
    Robert
    0

    It wouldn't work on localhost but when I moved it to our test server it worked. Not sure why unless TC.GeneratePaymentForm connects to sage pay before posting the form.

    But it's working :)

  • Anders Burla 2560 posts 8256 karma points
    Sep 02, 2013 @ 16:38
    Anders Burla
    0

    I think it connects to SagePay - cant remember :)

    But you can see the source code here:
    https://bitbucket.org/teasolutions/tea-commerce-tea-commerce-payment-providers

    Kind regards
    Anders

Please Sign in or register to post replies

Write your reply to:

Draft