Developer forum

Forum » Ecommerce - Standard features » eCom log interpretation

eCom log interpretation

Nuno Aguiar
Reply

Hi,

 

Can someone explain me something. I got this on an eCom Cart log

 

[7/11/2013 4:04:49 PM]:	Order loaded with ID: 'ENC1465066'
[7/11/2013 4:04:49 PM]:	Gateway exists [Type: AlencastreNet.GatewayProviders.BrasPagGateway].
[7/11/2013 4:04:49 PM]:	Step 5
[7/11/2013 4:04:49 PM]:	Notification sent: 'Confirmed'.
[7/11/2013 4:04:49 PM]:	Getting result from gateway (old).
[7/11/2013 4:04:49 PM]:	Closing payment popup window.
[7/11/2013 4:04:49 PM]:
Cart frontend visited

Logging 'URL':
https://www.mydeltaq.com/Default.aspx?ID=2411&step=5&TransactionState=Error

 

The Notification sent is regarding the notification sent by Dynamicweb or by the gateway? I am trying to figure out what went wrong because the client got charged but the gateway apparently returned the wrong notification URL, but what's making me confused is the 'Confirmed' string.

 

Nuno

 


Replies

 
Nicolai Høeg Pedersen
Reply

That is Dynamicweb raising a notification (Notifications.eCommerce.Order.Steps.Confirmed) when the Gateway calls back to DW without a "TransactionState" parameter and step=5 in the URL. Meaning that the payment went well.

 

Your GetReturnValuesFromUrl on your gateway provider is called right after - does it contain any redirects? And did it record the parameteres that were in the callback URL?

 
Nuno Aguiar
Reply

Hi Nicolai,

 

You said:

when the Gateway calls back to DW without a "TransactionState" parameter and step=5 in the URL

 

Don't you mean with a "TransactionState"? Isn't that what the Logging URL mean?


The problem is that Dynamicweb did not go to step 6 and did not send the emails. However, the amount was captured by the gateway. I am trying to figure out if the problem is with the provider it self or our code

 

Nuno

 
Nicolai Høeg Pedersen
Reply

I mean without. Transaction state has to be empty and step=5

 

This is the code:

 

If String.IsNullOrEmpty(Base.ChkString(Base.Request("TransactionState"))) Then 'Do not resend when gateway calls back....

LogToFile.Log("Notification sent: 'Confirmed'.", LOG_EVENTS_FOLDER, LogToFile.LogType.ManyEntriesPerFile)

NotificationManager.Notify(Notifications.eCommerce.Order.Steps.Confirmed, New Object() {order, New Dynamicweb.Frontend.Extranet, Pageview})

End If

 

You must be logged in to post in the forum