List Info

Thread: GetRootNode Error




GetRootNode Error
country flaguser name
United States
2007-05-24 22:28:55
Hi,

I got an order from callback.asp. After I tested to place
order
everything is ok but integration error were occured like
this

We encountered an error trying to access your server at
https://www
.---.com/checkout/callback.asp -- the error we got is:
Send
failed with code: 500. Response body was: <font
face="Arial" size=2>
<p>Microsoft VBScript runtime </font> <font
face="Arial" size=2>error
'800a01a8'</font> <p> <font
face="Arial" size=2>Object
required</font>
<p> <font face="Arial"
size=2>/checkout/callback.asp</font><font
face="Arial" size=2>, line 35</font>

Moreover googlemessage.log file was suppose to have Response
Message
from Google, but It didn't. I don't think it is a permmition
problem.

I attached the error part below. Help me ~~~

Dim ResponseXml, biData, nIndex
biData = Request.BinaryRead(Request.TotalBytes)
For nIndex = 1 To LenB(biData)
	ResponseXml = ResponseXml &
Chr(AscB(MidB(biData,nIndex,1)))
Next

LogMessage ResponseXml      <------------------No Log
message is in
the log file

Dim MyOrder
Set MyOrder = New Order

Dim ResponseNode, RootTag
Set ResponseNode = GetRootNode(ResponseXml)
RootTag = ResponseNode.Tagname
<---------------------------------------- line 35

Select Case RootTag
	Case "new-order-notification"
		ProcessNewOrderNotification ResponseXml
	Case "order-state-change-notification"


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "API Integration Basics" group.
To post to this group, send email to
google-checkout-api-integrationgooglegroups.com
To unsubscribe from this group, send email to
google-checkout-api-integration-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/google-checko
ut-api-integration?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: GetRootNode Error
country flaguser name
United States
2007-05-30 22:12:48
Hi Raul,

Could you first verify that you're correctly receiving the
notifications?


Thanks,
Jacob

On May 24, 8:28 pm, Raul Bae <Raul...gmail.com> wrote:
> Hi,
>
> I got an order from callback.asp. After I tested to
place order
> everything is ok but integration error were occured
like this
>
> We encountered an error trying to access your server
athttps://w
ww.---.com/checkout/callback.asp-- the error we got is:
Send
> failed with code: 500. Response body was: <font
face="Arial" size=2>
> <p>Microsoft VBScript runtime </font>
<font face="Arial" size=2>error
> '800a01a8'</font> <p> <font
face="Arial" size=2>Object
required</font>
> <p> <font face="Arial"
size=2>/checkout/callback.asp</font><font
> face="Arial" size=2>, line
35</font>
>
> Moreover googlemessage.log file was suppose to have
Response Message
> from Google, but It didn't. I don't think it is a
permmition problem.
>
> I attached the error part below. Help me ~~~
>
> Dim ResponseXml, biData, nIndex
> biData = Request.BinaryRead(Request.TotalBytes)
> For nIndex = 1 To LenB(biData)
>         ResponseXml = ResponseXml &
Chr(AscB(MidB(biData,nIndex,1)))
> Next
>
> LogMessage ResponseXml      <------------------No
Log message is in
> the log file
>
> Dim MyOrder
> Set MyOrder = New Order
>
> Dim ResponseNode, RootTag
> Set ResponseNode = GetRootNode(ResponseXml)
> RootTag = ResponseNode.Tagname
> <---------------------------------------- line 35
>
> Select Case RootTag
>         Case "new-order-notification"
>                 ProcessNewOrderNotification
ResponseXml
>         Case
"order-state-change-notification"


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "API Integration Basics" group.
To post to this group, send email to
google-checkout-api-integrationgooglegroups.com
To unsubscribe from this group, send email to
google-checkout-api-integration-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/google-checko
ut-api-integration?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )