Google Checkout Integration with DAP

1) Update DAP Setup > Config -> Secret Authorization Key to be…

YourGCmerchant_id|YourGCmerchant_key

2) Point the Google Checkout IPN handler to

http://yoursite.com/dap/dap-gc-responsehandler.php

(replace yoursite.com with the name of your site).

3) Create a DAP product and make sure the item name that your GC Item Name exactly matches the DAP Product Name.

That’s it!

NOTE

You will find a file by name dap-gc-responsehandler.php in your dap folder.

Use this file as is, with no changes, during testing. Nothing to change.

But once you’re ready to go live, open the file, and find the line below:
$server_type = “‘sandbox”;

And change it to:
$server_type = “‘production”;

 

7 comments ↓

#1 topher on 02.22.12 at 4:29 am

the referenced dap-gc-responsehandler.php file is encrypted in my installation

#2 Veena Prashanth on 02.22.12 at 10:39 am

The sandbox to production change is no longer needed.
If you are on dap 4.2.1, the script will automatically connect to GC production.

#3 Aaron on 02.22.12 at 2:15 pm

A few tips on this:

1) Setup google config this way:
Notification as XML (Requires an HTTPS URL)
e.g. 123.
Make sure you use https://yoursite.com/dap/dap-gc-responsehandler.php not just http:// as mentioned above.

2) Also, testing first with a google sandbox account is highly recommended. The settings in the sandbox must be set up totally separately from your regular google merchant account.

3) If you aren’t shipping physical products, you probably want to turn off the manual “charge” and “ship” options in google:
Check Preferences -> Settings tab
See: http://screencast.com/t/lupGs1sZCUed

4) It should be noted that recurring billing and coupon codes do not work with google checkout

#4 Veena Prashanth on 02.22.12 at 7:46 pm

Thanks Aaron!

#5 Jesse on 05.01.12 at 3:42 pm

Weird… Im not seeing “secret authorization key” anywhere within the Setup>Config screen

I have 4.2.1 installed

#6 Jesse on 05.01.12 at 4:13 pm

Also, the Google Checkout IPN handler… is that something on the Google Checkout side? instructions werent quite clear

#7 Veena Prashanth on 05.02.12 at 10:21 am

>> Weird… Im not seeing “secret authorization key” anywhere within the Setup>Config screen. I have 4.2.1 installed
< <

You will find it under :
Payment Processing: ClickBank/1ShoppingCart => “Secret Authorization Key”

The text says ClickBank/1ShoppingCart but the same field is also used for GC.

>>Also, the Google Checkout IPN handler… is that something on the Google Checkout side? <<

Correct.

Leave a Comment