sagepay gateway error on /shop/checkout/orderconfirmation.aspx page
Hi I am trying to get a simulator for working for sagepay, ive setup an account and filled in the details in the sagepay config file. however once i get past all the steps in the cart i get an error parsing xslt error. these errors then show in the umbraco log:
414330-12012-05-17 13:30:21.817ErrorException occoured while processing pipeline 'UCommerce.Pipelines.Checkout.CheckoutPipeline'. See inner exception for details. 414340-12012-05-17 13:30:21.817ErrorThe remote name could not be resolved: 'stage.collection.local' Byte[] DownloadDataInternal(System.Uri, System.Net.WebRequest ByRef) at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) at System.Net.WebClient.DownloadData(Uri address) at System.Net.WebClient.DownloadData(String address) at UCommerce.Transactions.EmailService.Send(EmailProfile profile, String emailTypeName, MailAddress to, IDictionary`2 templateParameters) at UCommerce.Transactions.EmailService.Send(EmailProfile profile, String emailTypeName, MailAddress to, String orderNumber) at UCommerce.Pipelines.Common.SendEmailTask.Execute(PurchaseOrder purchaseOrder) at UCommerce.Pipelines.Pipeline`1.Execute(T subject) 414350-12012-05-17 13:30:21.863ErrorThe remote name could not be resolved: 'stage.collection.local' Byte[] DownloadDataInternal(System.Uri, System.Net.WebRequest ByRef) at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) at System.Net.WebClient.DownloadData(Uri address) at System.Net.WebClient.DownloadData(String address) at UCommerce.Transactions.EmailService.Send(EmailProfile profile, String emailTypeName, MailAddress to, IDictionary`2 templateParameters) at UCommerce.Transactions.EmailService.Send(EmailProfile profile, String emailTypeName, MailAddress to, String orderNumber) at UCommerce.Pipelines.Common.SendEmailTask.Execute(PurchaseOrder purchaseOrder) at UCommerce.Pipelines.Pipeline`1.Execute(T subject) 414360-12012-05-17 13:30:21.873ErrorException occoured while processing pipeline 'UCommerce.Pipelines.Checkout.CheckoutPipeline'. See inner exception for details. UCommerce.Pipelines.PipelineExecutionResult Execute(T) at UCommerce.Pipelines.Pipeline`1.Execute(T subject) at UCommerce.Transactions.CheckoutService.Checkout(Basket basket) at UCommerce.Xslt.TransactionLibrary.Checkout() at UCommerce.Xslt.Library.<Checkout>b__88() at UCommerce.Xslt.Library.HandledCall[T](Func`1 method)
Hi Soren, thanks! this fixed the 'unable to resolve' error but i now get these errors in the log on the final checkout step:
415200-12012-05-23 10:26:19.653ErrorAt /eyes/mascara/volume-sensation-xxl-mascara.aspx?orderNumber=41bb8f62-2135-4795-b983-15649ee7a684 (Referred by: ): System.NullReferenceException: Object reference not set to an instance of an object. at PS.Helpers.UserIsUsingAnIpad() in c:\iis_webs\collection-svn\App_Code\c2kxsltEntensions.cs:line 101 at usercontrols_ProductListings.Page_Load(Object sender, EventArgs e) in c:\iis_webs\collection-svn\usercontrols\ProductListings.ascx.cs:line 82 at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
415210-12012-05-23 10:26:19.653ErrorException occoured while processing pipeline 'UCommerce.Pipelines.Checkout.CheckoutPipeline'. See inner exception for details.
415220-12012-05-23 10:26:19.657ErrorThe remote server returned an error: (500) Internal Server Error. Byte[] DownloadDataInternal(System.Uri, System.Net.WebRequest ByRef) at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) at System.Net.WebClient.DownloadData(Uri address) at System.Net.WebClient.DownloadData(String address) at UCommerce.Transactions.EmailService.Send(EmailProfile profile, String emailTypeName, MailAddress to, IDictionary`2 templateParameters) at UCommerce.Transactions.EmailService.Send(EmailProfile profile, String emailTypeName, MailAddress to, String orderNumber) at UCommerce.Pipelines.Common.SendEmailTask.Execute(PurchaseOrder purchaseOrder) at UCommerce.Pipelines.Pipeline`1.Execute(T subject)
415230-12012-05-23 10:26:19.657ErrorException occoured while processing pipeline 'UCommerce.Pipelines.Checkout.CheckoutPipeline'. See inner exception for details. UCommerce.Pipelines.PipelineExecutionResult Execute(T) at UCommerce.Pipelines.Pipeline`1.Execute(T subject) at UCommerce.Transactions.CheckoutService.Checkout(Basket basket) at UCommerce.Xslt.TransactionLibrary.Checkout() at UCommerce.Xslt.Library.<Checkout>b__88() at UCommerce.Xslt.Library.HandledCall[T](Func`1 method)
415240-12012-05-23 10:26:19.660ErrorThe remote server returned an error: (500) Internal Server Error. Byte[] DownloadDataInternal(System.Uri, System.Net.WebRequest ByRef) at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) at System.Net.WebClient.DownloadData(Uri address) at System.Net.WebClient.DownloadData(String address) at UCommerce.Transactions.EmailService.Send(EmailProfile profile, String emailTypeName, MailAddress to, IDictionary`2 templateParameters) at UCommerce.Transactions.EmailService.Send(EmailProfile profile, String emailTypeName, MailAddress to, String orderNumber) at UCommerce.Pipelines.Common.SendEmailTask.Execute(PurchaseOrder purchaseOrder) at UCommerce.Pipelines.Pipeline`1.Execute(T subject)
I dont understand why this url is getting called /eyes/mascara/volume-sensation-xxl-mascara.aspx?orderNumber=41bb8f62-2135-4795-b983-15649ee7a684 as it is not the product ive added to my basket... would this be the cause to the pipeline errors i see after it?
Ok figured this out. i needed to set up my email template properly in the ucommerce so now i get this The pipeline executed succesfully.
:) but i thought it would go to sagepay?
I found the documentation saying i need to call RequestPayments this just shows 'The payment has been updated.' but doesnt actually take me to sagepay. i have selected the 'bakset' pipeline in my sagepay options in the cms.
Make sure that the <paymentMethodServices> element contains references to all of the services available. You can see a list of what it should look like in /umbraco/ucommerce/install/uCommerce.config (the default config used for installation).
sagepay gateway error on /shop/checkout/orderconfirmation.aspx page
Hi I am trying to get a simulator for working for sagepay, ive setup an account and filled in the details in the sagepay config file. however once i get past all the steps in the cart i get an error parsing xslt error. these errors then show in the umbraco log:
here is my sagepay config file:
I think the successUrl, abortUrl and failureUrl should be acceessible over internet.
Hi Basil, thanks for getting back to me. As a test could i set these to just google?
Phil,
Please check whether you can resolve the URLs while logged on the server locally.
If not modify the hosts file to point the domain to 127.0.0.1.
This typically happens in load balanced scenarios where the server itself cannot resolve DNS for the website.
Hi Soren, thanks! this fixed the 'unable to resolve' error but i now get these errors in the log on the final checkout step:
I dont understand why this url is getting called /eyes/mascara/volume-sensation-xxl-mascara.aspx?orderNumber=41bb8f62-2135-4795-b983-15649ee7a684 as it is not the product ive added to my basket... would this be the cause to the pipeline errors i see after it?
Thanks
Phil
Ok figured this out. i needed to set up my email template properly in the ucommerce so now i get this The pipeline executed succesfully.
:) but i thought it would go to sagepay?
I found the documentation saying i need to call RequestPayments this just shows 'The payment has been updated.' but doesnt actually take me to sagepay. i have selected the 'bakset' pipeline in my sagepay options in the cms.
my BubmitBasket xslt
RequestPayments will take you to the gateway. Did you configure a service for the payment method in the backend?
I dont have anything listed in the service drop down, just 'default'. Had a look at the documentation should it be there by default?
You should have sixteen ready-made integrations for payment gateways.
Which version are you on?
im on v2.0
Make sure that the <paymentMethodServices> element contains references to all of the services available. You can see a list of what it should look like in /umbraco/ucommerce/install/uCommerce.config (the default config used for installation).
is working on a reply...