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

Notification

Icon
Error

dotnetdiva
#1 Posted : Monday, April 23, 2007 10:18:44 AM(UTC)
dotnetdiva

Rank: Member

Joined: 6/26/2006(UTC)
Posts: 351

Tried many times to get this working, but all it does is refresh the page when I click "Google Checkout" in the shopping cart. I've entered shipping values for all the fields, but Google doesn't seem to be getting them according to their errors.

BVC5 error log:

Input string was not in a correct format.[ at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseDecimal(String value, NumberStyles options, NumberFormatInfo numfmt) at System.Decimal.Parse(String s, NumberStyles style) at BVModules_PaymentMethods_Google_Checkout_Edit.SaveData() at BVModules_PaymentMethods_Google_Checkout_Edit.btnSave_Click(Object sender, ImageClickEventArgs e) at System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) at System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) ]



Google Errorlog:
[table class=errorDetail style="TABLE-LAYOUT: fixed" cellSpacing=0 cellPadding=0 width="100%" border=0]
[tr ]<TH>Time of occurence:</TH>
[td ]Apr 23, 2007 8:52:36 AM MDT [/td][/tr][tr ]<TH>Error:</TH>
[td ]Error parsing XML; message from parser is: Invalid value for attribute name in checkout-shopping-cart/checkout-flow-support/merchant-checkout-flow-support/shipping-methods/merchant-calculated-shipping: Required field must not be blank [/td][/tr][/table]
Angela
Attached to Baby

http://www.attachedtobaby.com

"closer to your heart... do you don't miss a beat."

jetheredge
#2 Posted : Monday, April 23, 2007 10:21:27 AM(UTC)
jetheredge

Rank: Member

Joined: 3/1/2006(UTC)
Posts: 1,142

On the google configuration page, it looks like it is failing trying to parse a value. Have you by some chance left a field blank?
Justin Etheredge
Senior Software Engineer
BVSoftware
dotnetdiva
#3 Posted : Monday, April 23, 2007 11:10:59 AM(UTC)
dotnetdiva

Rank: Member

Joined: 6/26/2006(UTC)
Posts: 351

I filled in every field I saw with at least some value, even if I didn't know what it was. (The USPS postal values are blank, Any noted this bug.)
Angela
Attached to Baby

http://www.attachedtobaby.com

"closer to your heart... do you don't miss a beat."

JPace
#4 Posted : Tuesday, April 24, 2007 11:47:32 AM(UTC)
JPace

Rank: Member

Joined: 4/19/2005(UTC)
Posts: 51

I had the same issue while in test mode. If you chnage to production and turn off debug it should fix the problem.
Jason Pace
jetheredge
#5 Posted : Tuesday, April 24, 2007 11:50:20 AM(UTC)
jetheredge

Rank: Member

Joined: 3/1/2006(UTC)
Posts: 1,142

Try temporarily removing the USPS shipping methods from your store and running the tests. (If this is possible) I have a feeling that this might have to do with the USPS returning a blank for its name.
Justin Etheredge
Senior Software Engineer
BVSoftware
dotnetdiva
#6 Posted : Wednesday, April 25, 2007 3:06:49 PM(UTC)
dotnetdiva

Rank: Member

Joined: 6/26/2006(UTC)
Posts: 351

UPDATE:
Google Checkout *does* work when I have no shipping methods defined. I deleted my USPS shipping values and it worked.

(I downloaded the latest Google payment update posted this morning in case that matters.)

What should I do to get it to work with USPS?
Angela
Attached to Baby

http://www.attachedtobaby.com

"closer to your heart... do you don't miss a beat."

jetheredge
#7 Posted : Thursday, April 26, 2007 9:43:01 AM(UTC)
jetheredge

Rank: Member

Joined: 3/1/2006(UTC)
Posts: 1,142

We will look into it, thank you for your patience.
Justin Etheredge
Senior Software Engineer
BVSoftware
jetheredge
#8 Posted : Thursday, April 26, 2007 10:33:55 AM(UTC)
jetheredge

Rank: Member

Joined: 3/1/2006(UTC)
Posts: 1,142

Angela, please try downloading this USPostal dll and replacing the copy in your bin folder with it. Please make a copy of your current file first. Please let us know if this works for you, and if it does then we will release it as a hotfix.
File Attachment(s):
BVSoftware.BVC5.Shipping.USPostal.dll (52kb) downloaded 3 time(s).

You cannot view/download attachments. Try to login or register.
Justin Etheredge
Senior Software Engineer
BVSoftware
dotnetdiva
#9 Posted : Thursday, April 26, 2007 11:38:34 AM(UTC)
dotnetdiva

Rank: Member

Joined: 6/26/2006(UTC)
Posts: 351

Yes, that worked!

Thank you so much, I've been dying to get Google Checkout working. :D
Angela
Attached to Baby

http://www.attachedtobaby.com

"closer to your heart... do you don't miss a beat."

jetheredge
#10 Posted : Thursday, April 26, 2007 11:52:42 AM(UTC)
jetheredge

Rank: Member

Joined: 3/1/2006(UTC)
Posts: 1,142

One thing that you should note is that USPS's web services are sometimes very slow, and given that google only gives you 3 seconds to return rates or it defaults all of the shipping rates, this can be very troublesome. I just wanted to give you a heads up on that so that you can provide good default rates for all of your shipping methods.
Justin Etheredge
Senior Software Engineer
BVSoftware
dotnetdiva
#11 Posted : Thursday, April 26, 2007 12:35:52 PM(UTC)
dotnetdiva

Rank: Member

Joined: 6/26/2006(UTC)
Posts: 351

I did, and so far, it is actually pulling the USPS correct rates.

I am having a problem getting it to show in my Orders pages. Does it not notify my shopping cart when the order goes through?
Angela
Attached to Baby

http://www.attachedtobaby.com

"closer to your heart... do you don't miss a beat."

jetheredge
#12 Posted : Thursday, April 26, 2007 12:36:58 PM(UTC)
jetheredge

Rank: Member

Joined: 3/1/2006(UTC)
Posts: 1,142

Yep, you have to have your callback url setup. It is "https://www.yoursite.com/googlenotify.aspx" Make sure it you have it setup as https. The process is not instant, google takes a little while to callback to the website to give it info.

And you want it set to Xml as the type. Also, if you haven't already, you'll need to download Hotfix SP2-A.
Justin Etheredge
Senior Software Engineer
BVSoftware
dotnetdiva
#13 Posted : Thursday, April 26, 2007 1:02:50 PM(UTC)
dotnetdiva

Rank: Member

Joined: 6/26/2006(UTC)
Posts: 351

I did download it, and I already guessed to have that as my Callback URL actually, and had it at https:// and specified XML and I got the following error in Google:

Apr 26, 2007 11:27:44 AM MDT Error 253685908682004 We encountered an error trying to access your server at https://store.attachedtobaby.com/googlenotify.aspx -- the error we got is: Send failed with code: 500. Response body was: <html> <head> <title>Runtime Error</title> <style> body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Lucida Console";font-size: .9em} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; } </style> </head> <body bgcolor="white"> <span><H1>Server Error in '/' Application.<hr width=100% size=1 color=silver></H1> <h2> <i>Runtime Error</i> </h2></span> <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "> <b> Description: </b>An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. <br><br> <b>Details:</b> To enable the details of this specific error message to be viewable on remote machines, please create a &lt;customErrors&gt; tag within a &quot;web.config&quot; configuration file located in the root directory of the current web application. This &lt;customErrors&gt; tag should then have its &quot;mode&quot; attribute set to &quot;Off&quot;.<br><br> <table width=100% bgcolor="#ffffcc"> <tr> <td> <code><pre> &lt;!-- Web.Config Configuration File --&gt; &lt;configuration&gt; &lt;system.web&gt; &lt;customErrors mode=&quot;Off&quot;/&gt; &lt;/system.web&gt; &lt;/configuration&gt;</pre></code> </td> </tr> </table> <br> <b>Notes:</b> The current error page you are seeing can be replaced by a custom error page by modifying the &quot;defaultRedirect&quot; attribute of the application's &lt;customErrors&gt; configuration tag to point to a custom error page URL.<br><br> <table width=100% bgcolor="#ffffcc"> <tr> <td> <code><pre> &lt;!-- Web.Config Configuration File --&gt; &lt;configuration&gt; &lt;system.web&gt; &lt;customErrors mode=&quot;RemoteOnly&quot; defaultRedirect=&quot;mycustompage.htm&quot;/&gt; &lt;/system.web&gt; &lt;/configuration&gt;</pre></code> </td> </tr> </table> <br> </body> </html>

In my BVC error log:
Data at the root level is invalid. Line 1, position 1.[ at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.Throw(String res, String arg) at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace() 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) ]
4/26/2007 12:27:25 PM Error <br>Session:<br>To:https://store.attachedtobaby.com/googlenotify.aspx <br>From:<br>User:64.233.166.136(64.233.166.136)<br>Agent:Google Checkout Notification Agent 1.0
Angela
Attached to Baby

http://www.attachedtobaby.com

"closer to your heart... do you don't miss a beat."

dotnetdiva
#14 Posted : Thursday, April 26, 2007 1:03:05 PM(UTC)
dotnetdiva

Rank: Member

Joined: 6/26/2006(UTC)
Posts: 351

Justin, scratch my previous errors! It does work.

I just tried again with a whole order and I see the last order now, whew! My mistake was to try to charge an order *before* I made the above changes. I just now placed an order with the changes from beginning to end and it worked.

I'm so happy!
Angela
Attached to Baby

http://www.attachedtobaby.com

"closer to your heart... do you don't miss a beat."

jetheredge
#15 Posted : Thursday, April 26, 2007 1:04:24 PM(UTC)
jetheredge

Rank: Member

Joined: 3/1/2006(UTC)
Posts: 1,142

Excellent! Let us know if you have any other issues.
Justin Etheredge
Senior Software Engineer
BVSoftware
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.

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