A A A
Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





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

No permission to create posts
sp_Feed Topic RSS sp_TopicIcon
How to setup Google Checkout
March 19, 2010
1:46 pm
Avatar
Admin
Forum Posts: 5856
Member Since:
March 16, 2008
sp_UserOfflineSmall Offline

Great help...  Thanks for sharing.

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

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
Avatar
Admin
Forum Posts: 5856
Member Since:
March 16, 2008
sp_UserOfflineSmall Offline

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
Avatar
Admin
Forum Posts: 5856
Member Since:
March 16, 2008
sp_UserOfflineSmall 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 #27 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 these two lines instead:

//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
Avatar
New Hampshire
Member
Members
Forum Posts: 144
Member Since:
August 3, 2011
sp_UserOfflineSmall Offline

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
Avatar
Admin
Forum Posts: 5856
Member Since:
March 16, 2008
sp_UserOfflineSmall Offline

Yes it will be integrated.

September 9, 2011
3:25 pm
Avatar
New Hampshire
Member
Members
Forum Posts: 144
Member Since:
August 3, 2011
sp_UserOfflineSmall Offline

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
Avatar
laurie390
Member
Members
Forum Posts: 169
Member Since:
August 11, 2010
sp_UserOfflineSmall Offline

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

January 30, 2012
8:56 pm
Avatar
Admin
Forum Posts: 5856
Member Since:
March 16, 2008
sp_UserOfflineSmall Offline

Yes, it will display both.

February 2, 2012
5:32 pm
Avatar
London
Member
Members
Forum Posts: 84
Member Since:
January 28, 2009
sp_UserOfflineSmall Offline

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
Avatar
Admin
Forum Posts: 5856
Member Since:
March 16, 2008
sp_UserOfflineSmall Offline

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
Avatar
London
Member
Members
Forum Posts: 84
Member Since:
January 28, 2009
sp_UserOfflineSmall Offline

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
Avatar
Admin
Forum Posts: 5856
Member Since:
March 16, 2008
sp_UserOfflineSmall Offline

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.

July 6, 2012
5:36 am
Avatar
Joelzw
New Member
Members
Forum Posts: 2
Member Since:
June 29, 2012
sp_UserOfflineSmall Offline

Admin,

 If I add the below code my shopping cart comes up to a blank screen. If I leave the code how you currently have it seems to bring up both options just fine. Is the following needed or am I missing something?

 

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)){
if (1==1) {
July 6, 2012
7:03 pm
Avatar
Admin
Forum Posts: 5856
Member Since:
March 16, 2008
sp_UserOfflineSmall Offline

I think it was just a formatting error of the original forum post.  The #2 line in your post, should actually be part of the #1 line.  It is just showing up as a wrapped line.  So, delete the line break in your code between the second "OR" and the third "($_SESSION..." section.

I have just edited the code in post #24 above to be correct. 

So again, there are only 2 lines total - not 3. 

No permission to create posts
Forum Timezone: UTC 0

Most Users Ever Online: 213

Currently Online:
10 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

icy1: 2636

wreed06: 175

laurie390: 169

boutiqueelliette: 156

StitchTek Services, LLC: 144

yiorgos: 127

Member Stats:

Guest Posters: 457

Members: 2468

Moderators: 1

Admins: 1

Forum Stats:

Groups: 1

Forums: 4

Topics: 4076

Posts: 18961

Newest Members: aceman, peteryoung320@gmail.com, JdsCentral, anthony775, Chaz07, ebarj

Moderators: Market Admin: 5856

Administrators: Market Admin: 5856

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