Page 1 of 1
Handling Orders Paid Through Google
Posted: Wed Apr 04, 2012 4:09 pm
by vashts1980
I'm having trouble capturing orders paid via Google CheckOut, or Wallet, or whatever it is. I can't seem to find the point where the order is actually saved in the database. All of my attempts only seem to pull the previous order from the system, not the one that was just created.
Re: Handling Orders Paid Through Google
Posted: Thu Apr 05, 2012 7:30 am
by jmestep
They are saved in the checked out event of the checkout page.
Re: Handling Orders Paid Through Google
Posted: Thu Apr 05, 2012 9:29 am
by vashts1980
I currently have a hook at the end of the CheckedOut() event in OnePageCheckout.ascx.cs. Google paid orders aren't captured here. It will capture credit card paid orders, but not Google.
Re: Handling Orders Paid Through Google
Posted: Mon Apr 09, 2012 2:40 pm
by vashts1980
Ok, so I have used the CheckedOut() event handler in OnePageCheckout.ascx.cs and I have put code into ReceiptPage.ascx.cs, and in neither case am I capturing orders from Google pay methods. What else could I be missing?
Re: Handling Orders Paid Through Google
Posted: Tue Apr 10, 2012 7:25 am
by jmestep
You might not be missing anything since Google checkout is on the basket page. That code is in the Checkout/Google folder and you could try hooking into the code there- there are 3 files.
Re: Handling Orders Paid Through Google
Posted: Tue Apr 10, 2012 9:19 am
by vashts1980
I've tried hooking into the GoogleCheckoutButton file and the NotificationListener file, but the order isn't yet in the database when these files are accessed. I suppose maybe incorporating at wait timer that will sit for a few minutes and then look for the order by referencing the user...