A A A

Please consider registering
guest

Log In Register

Login form protected by Login LockDown.


Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
How to setup Google Checkout
March 19, 2010
1:46 pm
Admin
Forum Posts: 5051
Member Since:
March 16, 2008
Offline
21

Great help…  Thanks for sharing.

March 31, 2010
4:07 pm
Member
Forum Posts: 20
Member Since:
December 8, 2009
Offline
22

SP inc,

I see the place where you enter the General Store information, but it is on the Google Settings page.

Do I enter the page id? I don't have a page called "store". I have 2 catagories: "Ceramics" and "Lacquer".

Thanks!

-Risa

April 1, 2010
3:33 pm
Admin
Forum Posts: 5051
Member Since:
March 16, 2008
Offline
23

Risa, you might send him a Private Message, as he may not be still browsing this thread.

I think when he said "store" he meant his website.  (Although he may have had it setup in a subfolder named "store".)

Just make sure your Google setting shows the exact URL of your store.  (ie. http://kaisekikitchen.com/)

June 22, 2011
8:43 pm
Admin
Forum Posts: 5051
Member Since:
March 16, 2008
Offline

UPDATE FOR VERSIONS 4.2 AND UP

=======================

This modification has changed from the previous format.

Here is the current method for adding Google Checkout" to your shopping cart option.

Open the file "ajCart/cart.php" for editing.

On or around line #19 change the line:

//$ACTION_URL = "https://checkout.google.com/api/checkout/v2/checkoutForm/Merchant/YOURMERCHANTIDHERE";  
//Google Checkout (change merch ID)

to this:

$ACTION_URL = "https://checkout.google.com/api/checkout/v2/checkoutForm/Merchant/YOURMERCHANTIDHERE";  
//Google Checkout (change merch ID)

(making sure to also replace "YOURMERCHANTIDHERE" with your actual Google merchant ID number.

Save the file.

Next, open the file "ajCart/cart_bottom.php" for editing.

1.  On or around line #30 change this line:

if (($_SESSION["mkt_pk_paypal"] != null) OR ($_SESSION["mkt_pk_authorize_net"] != null) OR 
($_SESSION["mkt_pk_offline_payment"] != null)){

to this:

//if (($_SESSION["mkt_pk_paypal"] != null) OR ($_SESSION["mkt_pk_authorize_net"] != null) OR 
($_SESSION["mkt_pk_offline_payment"] != null)){
if (1==1) {

2.  Next, locate on or around line #56 this line:

if (($_SESSION["mkt_pk_paypal"] == '1') AND ($_SESSION["mkt_paypal_id"] != '')){

3.  Immediately BEFORE this line, enter the following new code:

$content .='
                  <tr align="left" valign="middle">
                    <td width="33%"><img src="'.$_SESSION["TEMPLATEURL"].'/pg/google-checkout-logo.gif" /></td>
                    <td width="33%">Pay securely with Google Checkout</td>
                    <td width="33%"><input type="submit" value="'.mkt_SHOPCART_PK_CHECKOUT_BUTTON.'" style="font-weight: bold;" 
onClick="document.forms.cart.name=\'cart\';document.forms.cart.action=\''.$ACTION_URL.'\';document.forms.cart.method=\'post\';
tb_remove();document.forms.cart.submit();" /></td>
                  </tr>
                ';

4. Save the file.

That's it.

This ability will actually be included in upcoming versions of Market, so that it can be easily added through the Market Theme settings area.

August 10, 2011
2:54 am
Member
Forum Posts: 144
Member Since:
August 3, 2011
Offline
25

WHen you add this to the later versions will it allow all the options including google, authorize, paypal , and offline?  I think I will wait until it is in a UI version I broke too many things trying to make this work and we want to offer BOTH google and paypal options to buyers.

StitchTek Services, LLC is the parent company for the following websites http://www.jaquilting.com (Market Theme Site) http://www.chriscolotti.us
August 10, 2011
7:05 pm
Admin
Forum Posts: 5051
Member Since:
March 16, 2008
Offline
26

Yes it will be integrated.

September 9, 2011
3:25 pm
Member
Forum Posts: 144
Member Since:
August 3, 2011
Offline
27

Perfect.  I will wait for the integrtion so I can offer both.  For Now PayPal will do but I want to offer the other option so integration is key to offer both.  Thanks.

StitchTek Services, LLC is the parent company for the following websites http://www.jaquilting.com (Market Theme Site) http://www.chriscolotti.us
January 28, 2012
1:16 am
Member
Forum Posts: 168
Member Since:
August 11, 2010
Offline
28

Will the above method give the ability to offer paypal and google checkout?

January 30, 2012
8:56 pm
Admin
Forum Posts: 5051
Member Since:
March 16, 2008
Offline
29

Yes, it will display both.

February 2, 2012
5:32 pm
Member
Forum Posts: 84
Member Since:
January 28, 2009
Offline
30

I'm trying to install Google Checkout to work along side Paypal checkout (so I can offer both).

I've had this working on mkt4.1.

I've tried the installation instructions listed here as the cart has changed from before (i gather to include the coupon code mod) but it hasn't worked.

I get this error message:

Parse error: syntax error, unexpected T_IF in /home/content/84/5608184/html/boogaloodee/wp-content/themes/mk4/ajCart/cart.php on line 235

 

I can't really upgrade until this is working as 30% of my customers now use Google checkout.

Any ideas I can try?

February 2, 2012
7:23 pm
Admin
Forum Posts: 5051
Member Since:
March 16, 2008
Offline
31

In the line immediately before that one — there's a semicolon missing at the very end of the line.

Line #233 says this:

$new_value = mkt_calc_coupon($coupon,$ItemSubTotal)

But should say this:

$new_value = mkt_calc_coupon($coupon,$ItemSubTotal);

This error was changed already, and version 4.32 was put into the download center.  (You must have 4.31)

That 1 character was the only difference in the two versions.

February 2, 2012
8:23 pm
Member
Forum Posts: 84
Member Since:
January 28, 2009
Offline
32

I knew I'd seen that error code before. Thanks.

Still can't get it to work though,

I get this message now when clicking on view cart (tried to work it out using firebug, not happening yet):

 

Parse error: syntax error, unexpected '}' in /home/content/84/5608184/html/boogaloodee/wp-content/themes/mk4/ajCart/cart_bottom.php on line 126

 

Is it possible you can send me the modified cart.php and cart_bottom.php files that will work using this mod, then I could just overwrite them?

 

I'm aware this is way beyond the support that is normally given for a product of this price, but i'm very grateful! Tell me to get lost if neccessary!

February 7, 2012
12:37 am
Admin
Forum Posts: 5051
Member Since:
March 16, 2008
Offline
33

If you post the contents of your modified "cart_bottom.php" code, I can tell you where the error is.

Maybe something as simple as a missing semi-colon at the end of a previous line.

Forum Timezone: UTC 0

Most Users Ever Online: 40

Currently Online:
17 Guest(s)

Currently Browsing this Page:
2 Guest(s)

Top Posters:

icy1: 2371

wreed06: 175

laurie390: 168

StitchTek Services, LLC: 144

boutiqueelliette: 130

yiorgos: 127

Member Stats:

Guest Posters: 428

Members: 2252

Moderators: 1

Admins: 1

Forum Stats:

Groups: 1

Forums: 4

Topics: 2983

Posts: 16042

Moderators: Market Admin (5051)

Administrators: Market Admin (5051)

Market takes e-commerce to the next level with an easy to use, quick setup platform. Learn more or take the tour.