Topic RSS
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/)
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.
2:54 am
August 3, 2011
OfflineWHen 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.
3:25 pm
August 3, 2011
OfflinePerfect. 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.
5:32 pm
January 28, 2009
OfflineI'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?
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.
8:23 pm
January 28, 2009
OfflineI 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!
Most Users Ever Online: 40
Currently Online:
17 Guest(s)
Currently Browsing this Page:
2 Guest(s)
Member Stats:
Guest Posters: 428
Members: 2252
Moderators: 1
Admins: 1
Forum Stats:
Groups: 1
Forums: 4
Topics: 2983
Posts: 16042
Newest Members: Allsed, deleteduser, shanm, slidesketch, jimharrison, vmi
Moderators: Market Admin (5051)
Administrators: Market Admin (5051)

Log In
Register
Home




