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.

  • Girish Khadse 52 posts 132 karma points
    Jun 04, 2013 @ 12:23
    Girish Khadse
    0

    Sending confirmation mail is not working after DIBS payment.

    Hi all,

    I am using DIBS test card to make a payment. I have selected "Checkout" pipeline to execute after payment is done. I have not made any changes in checkout pipeline. After the payment is done, I can see that my basket is cleared. But somehow my email is not sent.I have done all the setting mentioned in the post - http://www.publicvoid.dk/SendingEmailUsingUCommerce.aspx .

    Note : If I change my payment method service from DIBS  to defaultPaymentMethodService mails are sent properly. 

    Log : 

    2013-06-04 10:52:16,621 [18] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 9] An unhandled exception occurred
    UCommerce.Pipelines.PipelineException: Exception occoured while processing pipeline 'UCommerce.Pipelines.Checkout.CheckoutPipeline'. See inner exception for details. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:13267
       at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
       at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
       --- End of inner exception stack trace ---
       at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
       at System.Net.WebClient.DownloadData(Uri address)
       at UCommerce.Transactions.EmailService.Send(ILocalizationContext localizationContext, EmailProfile profile, String emailTypeName, MailAddress to, IDictionary`2 templateParameters)
       at UCommerce.Pipelines.Common.SendEmailTask.Execute(PurchaseOrder purchaseOrder)
       at UCommerce.Pipelines.Pipeline`1.Execute(T subject)
       --- End of inner exception stack trace ---
       at UCommerce.Pipelines.Pipeline`1.Execute(T subject)
       at UCommerce.Transactions.Payments.ExternalPaymentMethodService.ProcessPaymentRequest(PaymentRequest request)
       at UCommerce.Transactions.Payments.Dibs.DibsPaymentMethodService.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)
    2013-06-04 10:52:16,621 [18] INFO  umbraco.BusinessLogic.Log - [Thread 8] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Error | User: 0 | NodeId: -1 | Comment: Exception occoured while processing pipeline 'UCommerce.Pipelines.Checkout.CheckoutPipeline'. See inner exception for details.
    2013-06-04 10:52:16,621 [18] INFO  umbraco.BusinessLogic.Log - [Thread 8] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Error | User: 0 | NodeId: -1 | Comment: Unable to connect to the remote server
    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 UCommerce.Transactions.EmailService.Send(ILocalizationContext localizationContext, EmailProfile profile, String emailTypeName, MailAddress to, IDictionary`2 templateParameters)
       at UCommerce.Pipelines.Common.SendEmailTask.Execute(PurchaseOrder purchaseOrder)
       at UCommerce.Pipelines.Pipeline`1.Execute(T subject)
    2013-06-04 10:52:16,621 [18] INFO  umbraco.BusinessLogic.Log - [Thread 8] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Error | User: 0 | NodeId: -1 | Comment: No connection could be made because the target machine actively refused it 127.0.0.1:13267
    Void DoConnect(System.Net.EndPoint, System.Net.SocketAddress)
       at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
       at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
    2013-06-04 10:52:16,621 [18] INFO  umbraco.BusinessLogic.Log - [Thread 8] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Error | User: 0 | NodeId: -1 | Comment: http://dev.lunaheadwear.com:80/9/205/PaymentProcessor.axd
    2013-06-04 10:52:16,621 [18] INFO  umbraco.BusinessLogic.Log - [Thread 8] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Error | User: 0 | NodeId: -1 | Comment: Exception 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.Payments.ExternalPaymentMethodService.ProcessPaymentRequest(PaymentRequest request)
       at UCommerce.Transactions.Payments.Dibs.DibsPaymentMethodService.ProcessCallback(Payment payment)
       at UCommerce.Transactions.Payments.PaymentProcessor.ProcessRequest(HttpContext context)
    2013-06-04 10:52:16,621 [18] INFO  umbraco.BusinessLogic.Log - [Thread 8] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Error | User: 0 | NodeId: -1 | Comment: Unable to connect to the remote server
    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 UCommerce.Transactions.EmailService.Send(ILocalizationContext localizationContext, EmailProfile profile, String emailTypeName, MailAddress to, IDictionary`2 templateParameters)
       at UCommerce.Pipelines.Common.SendEmailTask.Execute(PurchaseOrder purchaseOrder)
       at UCommerce.Pipelines.Pipeline`1.Execute(T subject)
    2013-06-04 10:52:16,621 [18] INFO  umbraco.BusinessLogic.Log - [Thread 8] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Error | User: 0 | NodeId: -1 | Comment: No connection could be made because the target machine actively refused it 127.0.0.1:13267
    Void DoConnect(System.Net.EndPoint, System.Net.SocketAddress)
       at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
       at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)

    Is there anything I am missing?

  • Girish Khadse 52 posts 132 karma points
    Jun 05, 2013 @ 12:28
    Girish Khadse
    0

    Still not able to find out a cause of it... :(.. Anyone?

  • Søren Spelling Lund 1797 posts 2786 karma points
    Jun 07, 2013 @ 16:02
    Søren Spelling Lund
    0

    uCommerce is trying to establish a loopback connection to scrape the HTML contents for the email. For some reason the connection fails when performed during the callback received from DIBS.

    Here's the log, "System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:13267".

    Not quite sure why it works in one situation, but not the other.

    Are you able to resolve the URL of the store locally on the server?

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

    It might be the port giving you trouble. Your firewall may not allow HTTP requests on port 13267.

  • Girish Khadse 52 posts 132 karma points
    Jun 11, 2013 @ 10:53
    Girish Khadse
    0

    Hi Soren,

    Somehow got things working. Seems like it was a host name issue. We had set up 2 domain names for our test site. Localhost and testSite, We removed localhost domain name from backend and everything started working. Did not understand what was actually happening under the hood. Any idea?

Please Sign in or register to post replies

Write your reply to:

Draft