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?
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.
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.
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
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
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 :)
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
is working on a reply...