Post by fadingfastsd » Thu Dec 04, 2008 3:29 pm

I am using the Google Checkout contrib on my site, after being completely frustrated with Paypal & opencart.
I tried for hours to get paypal working correctly, and would much rather use it, but I moved to Google Checkout tonight as it actually works!

I am using OpenCart as the store for my offroad truck community site, www.dezertdimes.com
You can see the store at  www.dezertdimes.com/store

However I have a few questions:

What does unchecking the 'My company will only post digitally signed carts' box under 'Shopping cart post security' in Google Checkout settings do?
I unchecked it per the instructions in the included install text file, but I'm unclear on its use.

Is the setting "API Callback URL" in the 'Integration' tab in my Google Checkout account necessary?
The included install text file said to use it, but it doesn't seem to make any difference either way.
Google forces me to use a HTTPS link, so I'm using the shared SSL cert on my server (hostgator).
But the order gets recorded and set to Paid Unconfirmed correctly with our without any URL setup here.
So is that necessary?

Also, after the customer completes payment through Google checkout, they get dumped back to the root of my site. (www.dezertdimes.com)
How can I force them to return to an order successfully completed page on my store after completing payment through google checkout?

Thanks!

Evan
www.dezertdimes.com

My opencart store:
http://www.dezertdimes.com/store


Newbie

Posts

Joined
Thu Dec 04, 2008 7:58 am
Location - San Diego, CA

Post by JNeuhoff » Thu Dec 04, 2008 7:18 pm

To answer your questions:
What does unchecking the 'My company will only post digitally signed carts' box under 'Shopping cart post security' in Google Checkout settings do? I unchecked it per the instructions in the included install text file, but I'm unclear on its use.
See http://checkout.google.com/support/sell ... wer=113366 for an explanation.

Code: Select all

Is the setting "API Callback URL" in the 'Integration' tab in my Google Checkout account necessary?
It is strongly recommended to use the API Callback URL setting so Google knows where to call back with notifications to OpenCart. If OpenCart can receive notifications from Google, it is able to to change the order state from 'Paid Unconfirmed' to 'Pending', meaning Google has successfully processed the payment. Also, it is possible for the order to be cancelled in Google's merchant center in which case Google would send a message to OpenCart's callback function, and OpenCart would then automatically remove the order from its database.
Google forces me to use a HTTPS link, so I'm using the shared SSL cert on my server (hostgator).
But the order gets recorded and set to Paid Unconfirmed correctly with our without any URL setup here.
So is that necessary?
Using the shared certificate is sufficient, no sensitive data such as credit card details are being sent from Google to OpenCart. And as I said, if you use the callback function, the order state gets automatically changed from 'Paid Unconfimed' to 'Pending' in OpenCart after Google merchant has successfully charged the customer. This way, OpenCart keeps track of the order, and the store owner can use OpenCart's admin panel for order tracking and fulfillment. Use the following format for the callback function:

https://gatornnn.hostgator.com/~your-user-id/store/index.php?controller=checkout_process&action=callback&payment=google

BTW.: Are you sure your website is on a hostgator server? At the moment it seems to run on the sonata.websitewelcome.com box.

As regards Google Checkout: I am planning to rewrite this payment module because QPhoria, in his ever so eager researches, found out that in order to meet Google Terms & Conditions it will have to work like an express checkout module. In this future express checkout scenario there won't be a need for the customer to log into OpenCart, the shopping cart is directly passed on to Google, and from there everything else will be handled by the Google payment pages. The store owner will only use the Google merchant center to process the order, not the OpenCart admin panel.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by Qphoria » Thu Dec 04, 2008 10:45 pm

JNeuhoff wrote: As regards Google Checkout: I am planning to rewrite this payment module because QPhoria, in his ever so eager researches, found out that in order to meet Google Terms & Conditions it will have to work like an express checkout module.
Oh sure, make me the bad guy :P  ;D

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by fadingfastsd » Fri Dec 05, 2008 2:43 am

Thank you guys very much for the help.

Everything is working correctly with my shared SSL cert and the Google Callback.

Thanks for explaining that.

That hosgator server at websitewelcome is correct, as I have a reseller hosting account.

One final question that didn't get answered above...

how do I make Google Checkout return the customer to store to a success page?
Right now it is just dumping the customer back to the root of the domain.

Thanks!

Evan

My opencart store:
http://www.dezertdimes.com/store


Newbie

Posts

Joined
Thu Dec 04, 2008 7:58 am
Location - San Diego, CA

Post by JNeuhoff » Fri Dec 05, 2008 5:56 am

Once the customer has submitted the payment details to Google, on the Google site, he arrives at a Google succes page which displays the following message:

Thanks Buyer customer-name, you're done!
Your order has been sent to store name. Return to store name

The store name has a link to the store which I believe is configured in the vendor's Google account at:

Settings > Profile > Public business website
Last edited by JNeuhoff on Fri Dec 05, 2008 5:59 am, edited 1 time in total.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by fadingfastsd » Fri Dec 05, 2008 3:13 pm

JNeuhoff wrote: Once the customer has submitted the payment details to Google, on the Google site, he arrives at a Google succes page which displays the following message:

Thanks Buyer customer-name, you're done!
Your order has been sent to store name. Return to store name

The store name has a link to the store which I believe is configured in the vendor's Google account at:

Settings > Profile > Public business website
Thanks, but it doesn't seem to work.
My public business website is actually set to my web design business website (www.redlinedesignworks.net) in my google checkout merchant account.
So that doesn't explain why when a buyer completes google payment at my DezertDimes.com store, it returns them to the root url of www.dezertdimes.com.

I actually don't even have dezertdimes.com specified anywhere in my google checkout account, other than the API Callback URL.

Any ideas?

Thanks!

Evan

My opencart store:
http://www.dezertdimes.com/store


Newbie

Posts

Joined
Thu Dec 04, 2008 7:58 am
Location - San Diego, CA

Post by JNeuhoff » Fri Dec 05, 2008 6:53 pm

No ideas where Google gets the return URL from. I'll post a query on Google's Developer forum to find out.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by JNeuhoff » Fri Dec 05, 2008 8:05 pm

Try this in the file /catalog/extension/payment/google.php, in method process(), after the '$cart->AddAlternateTaxTables($tax_table);' line:

Code: Select all

			....
			$cart->SetContinueShoppingUrl( HTTP_BASE );
			....
That should result in a correct return URL leading back to your store.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by dmartin69 » Sun Dec 07, 2008 1:52 pm

I have posted in the root of this forum also. I have 2 carts installed one upgrade to .794 and a fresh .794 both of these when I get to the checkout_payment portion there is no google checkout option. Even though it is enabled and all settings have been verified.

Help please

Newbie

Posts

Joined
Sun Mar 30, 2008 5:30 am

Post by dmartin69 » Sun Dec 07, 2008 9:59 pm

Just in case someone else has this problem. I had trailing spaces in some of the database Google Checkout settings in the extensions table.

Problem fixed

Newbie

Posts

Joined
Sun Mar 30, 2008 5:30 am
Who is online

Users browsing this forum: No registered users and 6 guests