• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Coleen
#1 Posted : Wednesday, November 21, 2007 12:22:12 PM(UTC)
Coleen

Rank: Member

Joined: 4/30/2007(UTC)
Posts: 383

We've made several unsuccessful attempts to send order notifications to your notification callback URL, https://www.mycompany.com/googlenotify.aspx As a result, you aren't receiving order status, risk, or other notifications.

To help you identify the issue with your callback URL, please review the errors we encountered while sending notifications to you. To review this error information:
Sign in to Google Checkout.
Click on the Settings tab.
Click Integration.
Error messages will appear under 'Integration Issues.' If necessary, you can also update your callback URL in the 'API callback URL' box on the same page.




I have checked off the box for receiving email notifications on all status changes (this was just checked now though), for extra security my company will only post digitally secured xml certificates is checked, the callback method is XML, and the callback url is https: (is that right).



The basic errors:



1.. We encountered an error trying to access your server at https://www.z.com/googlenotify.aspx -- the error we got is: java.net.SocketTimeoutException: Read timed out.

2. (repeats over and over) the error we get is Code 500, send failed
Coleen
#2 Posted : Wednesday, November 21, 2007 2:03:55 PM(UTC)
Coleen

Rank: Member

Joined: 4/30/2007(UTC)
Posts: 383

In tinkering we're getting some new errors, paypal, manual and regular plugin processing is fine.

We timed out waiting for your server at https://www.mysite.com/googlenotify.aspx -- the error we got is: Read timed out Your server must respond faster to merchant calculation callback requests.
Coleen
#3 Posted : Wednesday, November 21, 2007 2:36:16 PM(UTC)
Coleen

Rank: Member

Joined: 4/30/2007(UTC)
Posts: 383

Here are some additional errors cropping up related to google as found in the event log.

Root element is missing.[ at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res) at System.Xml.XmlTextReaderImpl.ParseDocumentContent() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlTextReader.Read() at GCheckout.Util.EncodeHelper.GetTopElement(String Xml) at googlenotify.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) ]
11/21/2007 2:23:14 PM Error <br>Session:d9a77afb-501f-4251-99d6-42a0fd7422cb<br>To:https://www.myname.com/googlenotify.aspx <br>From:<br>User:75.67.62.75(75.67.62.75)<br>Agent:Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506)
Andy Miller
#4 Posted : Wednesday, November 21, 2007 3:12:19 PM(UTC)
Andy Miller

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 2,136

Was thanked: 1 time(s) in 1 post(s)
"Root element is missing" often means that the site is sending back HTML instead of XML. This would correspond well to the error code 500 that your server is sending back. Typically, when an IIS server has a server error (that is what 500 means), the server will generate a "nice" little HTML page to explain the error. Google Checkout would see the HTML and report that the root element is missing.

Is anything recorded in the BVC5 Event Log or the server's Events log? They may give you a clue about why your server is generating the error response.

I wrote an article on how to use your local test version of BVC5 with the Google Checkout Sandbox (their test version of Google Checkout),

http://structured-soluti...et/TestingGoogleCheckout
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing
Coleen
#5 Posted : Wednesday, November 21, 2007 3:30:43 PM(UTC)
Coleen

Rank: Member

Joined: 4/30/2007(UTC)
Posts: 383

Thanks Andy, I think I'm slowly getting to the bottom of this with your nudge. I'm on a Vista Ultimate machine here connected to a windows server 2003 via RDC. Files I updated, such as the googlenotify file (hotfix) are not coming through with the same security settings as site manager installed files. Is there an easy way to "copy" security settings from one file in Windows 2003 to the other so they are mirror copies?
Andy Miller
#6 Posted : Wednesday, November 21, 2007 5:43:53 PM(UTC)
Andy Miller

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 2,136

Was thanked: 1 time(s) in 1 post(s)
I don't know of a way to copy the security settings from one file to another, but you can apply the security settings of a folder to all child objects. From the Security Tab, click on the Advanced button and then check "Replace permission entries on all child objects with entries shown here that apply to child objects".

Be very careful with this one. It is very easy to start from the wrong place and apply the wrong permissions.
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing
DeanMachine
#7 Posted : Tuesday, March 4, 2008 11:11:34 PM(UTC)
DeanMachine

Rank: Member

Joined: 4/11/2004(UTC)
Posts: 186

I am getting the 'Root Element is Missing' error now too. This just started happening today (image attached). When I went to the googlenotify.aspx page in a browser before, it was just a white page. Now I'm getting an error.

Does anybody have a fix for this?
DeanMachine attached the following image(s):
root_element.jpg (50kb) downloaded 69 time(s).

You cannot view/download attachments. Try to login or register.
[url=http://www.internetcityusa.com][/url] Jason
DeanMachine
#8 Posted : Thursday, March 6, 2008 8:02:18 AM(UTC)
DeanMachine

Rank: Member

Joined: 4/11/2004(UTC)
Posts: 186

C'mon guys...anybody?
[url=http://www.internetcityusa.com][/url] Jason
Andy Miller
#9 Posted : Thursday, March 6, 2008 2:57:37 PM(UTC)
Andy Miller

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 2,136

Was thanked: 1 time(s) in 1 post(s)
GoogleNotify.aspx is not designed to displayed in a browser. It is designed to be called by Google Checkout which will send an XML notification when an order is placed, etc. When you load the page in a browser without a notification its XML parser will complain that the "Root Element is Missing".

Not a problem.
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing
HPros
#10 Posted : Thursday, March 6, 2008 9:32:08 PM(UTC)
HPros

Rank: Member

Joined: 1/30/2008(UTC)
Posts: 215

Dan, we've had a few recent transactions via Google on our promos site without incident other than the never ending message we've posted before. We have not seen this and literally have had transactions go through all stages in the last 72. Did something change in 3.2?
DeanMachine
#11 Posted : Monday, March 10, 2008 11:46:03 AM(UTC)
DeanMachine

Rank: Member

Joined: 4/11/2004(UTC)
Posts: 186

Attached (error.html) is the error Google is reporting to us in our integration console. Also attached is the xml that Google is sending to our site (googlexml.xml).



<H2>There is no row at position 0. </H2>

Line 33: If BVSoftware.Bvc5.Core.Controls.GoogleNotificationProcessor.ProcessOrderStateChangeNotification(inputStream) Then
File Attachment(s):
error.html (3kb) downloaded 184 time(s).

You cannot view/download attachments. Try to login or register.
[url=http://www.internetcityusa.com][/url] Jason
HPros
#12 Posted : Monday, March 10, 2008 9:03:07 PM(UTC)
HPros

Rank: Member

Joined: 1/30/2008(UTC)
Posts: 215

The message we get in admin is the same as yours, There is no row at position 0. Our conclusion is that it chokes on data from google checkout invoices sent outside the system. It tries to match them up with an order when there is none, or cannot create an order to make it happy so it just keeps going and sending. For us it has been sending 2-3 times a day for 4 months, lots of fun..




Code:

&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;order-state-change-notification xmlns="http://checkout.google.com/schema/2" serial-number="xxx-1"&gt;
&lt;timestamp&gt;2007-12-17T15:29:21.000Z&lt;/timestamp&gt;
&lt;google-order-number&gt;3xxxx2&lt;/google-order-number&gt;
&lt;new-fulfillment-order-state&gt;PROCESSING&lt;/new-fulfillment-order-state&gt;
&lt;new-financial-order-state&gt;CHARGED&lt;/new-financial-order-state&gt;
&lt;previous-fulfillment-order-state&gt;PROCESSING&lt;/previous-fulfillment-order-state&gt;
&lt;previous-financial-order-state&gt;CHARGING&lt;/previous-financial-order-state&gt;
&lt;/order-state-change-notification&gt;
HPros
#13 Posted : Monday, March 10, 2008 9:06:56 PM(UTC)
HPros

Rank: Member

Joined: 1/30/2008(UTC)
Posts: 215

The more we think about this - it has to be related. Other orders come through fine and checkout works. For us the problem is the system freaks if google sends data on a manual invoice to BV. BV should just acknowledge it and move on, but it won't allow the connection.
JosephSI
#14 Posted : Tuesday, March 11, 2008 10:50:28 PM(UTC)
JosephSI

Rank: Member

Joined: 6/13/2004(UTC)
Posts: 118

We just started to get the error today as well with GoogleNotify.aspx. If anyone has an idea on the problem please let everyone here know.

Thanks,
Joseph
BV5
JosephSI
#15 Posted : Monday, March 17, 2008 1:44:02 PM(UTC)
JosephSI

Rank: Member

Joined: 6/13/2004(UTC)
Posts: 118

Any news on a solution yet?
JosephSI
#16 Posted : Monday, March 24, 2008 12:46:46 AM(UTC)
JosephSI

Rank: Member

Joined: 6/13/2004(UTC)
Posts: 118

BUMP
Andy Miller
#17 Posted : Monday, March 24, 2008 9:34:17 AM(UTC)
Andy Miller

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 2,136

Was thanked: 1 time(s) in 1 post(s)
If you are setup to modify the source code, try changing the following line in Order.Mapper.FindByThirdPartyOrderId from

Code:

If ds.Tables.Count() &gt; 0 Then

to



Code:

If ds.Tables.Count &gt; 0 AndAlso ds.Tables(0).Rows.Count &gt; 0 Then




You will need to rebuild the Core.dll. If you are not setup to rebuild Core.dll, then try changing GoogleNotify.aspx.vb to ignore the "no row at position 0" error. Change the following code from



Code:

Case "order-state-change-notification"
If BVSoftware.BVC5.Core.Controls.GoogleNotificationProcessor.ProcessOrderStateChangeNotification(inputStream) Then
processedNotificationRequest = True
End If



to


[code]
Case "order-state-change-notification"
Try
If BVSoftware.BVC5.Core.Controls.GoogleNotificationProcessor.ProcessOrderStateChangeNotification(inputStream) Then
processedNotificationRequest = True
End If
Catch ex As System.IndexOutOfRangeException
EventLog.LogEvent("Google Checkout", "An Order State Change Notification was sent for an order that could not be found.", Metrics.EventLogSeverity.Error)
End Try

If you do not want any error message recorded (i.e. just ignore the non-matching order), then delete the EventLog.LogEvent line. Note that the EventLog.LogEvent line is just 1 line...the forum software is wrapping it into 2.


Changing to GoogleNotify.aspx.vb take affect immediately. You do not need to recompile.



This code *only* checks for the "no row at position 0" error.
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012