Guest macjs Posted December 13, 2007 Share Posted December 13, 2007 How can I make Google Checkout the default payment method? Reason is that when I was testing the payment gateway, I got an error. When I went back and clicked on My Account to view the order there is a button that says "Make Payment". Then I clicked on "Complete Payment" from my Orders page (step 3). This page says: "Please choose your preferred payment method from those listed below. Please note that your order may not be completed until payment has cleared." and then there is a Delivery Notes box there, but there is NO payment gateway listed at all, to choose. Just a "Make Payment" button. When I click on the "Make Payment" button, nothing happens. I do not have a default Payment Gateway set up at all, just the Alternate - Google Checkout... Could this be a problem? Thanks! Quote Link to comment Share on other sites More sharing options...
Guest rekicks Posted January 6, 2008 Share Posted January 6, 2008 How can I make Google Checkout the default payment method? Reason is that when I was testing the payment gateway, I got an error. When I went back and clicked on My Account to view the order there is a button that says "Make Payment". Then I clicked on "Complete Payment" from my Orders page (step 3). This page says: "Please choose your preferred payment method from those listed below. Please note that your order may not be completed until payment has cleared." and then there is a Delivery Notes box there, but there is NO payment gateway listed at all, to choose. Just a "Make Payment" button. When I click on the "Make Payment" button, nothing happens. I do not have a default Payment Gateway set up at all, just the Alternate - Google Checkout... Could this be a problem? Thanks! you can't set it as default but you can disable the default checkout and make google as the only option like my store. if the what you want, follow the code and it will be done. Remember to back up your file b4 you do that. in /includes/content/cart.inc.php, comment out lines 144 & 145 like such: if ($_GET['_a'] == 'cart') { // $view_cart->assign("CONT_VAL","index.php?_g=co&_a=step1"); // $view_cart->assign("LANG_CHECKOUT_BTN",$lang['cart']['checkout_btn']); Then in /skins/{YourSkin}/styleTemplates/content/cart.tpl down around line 226, edit the line: <td nowrap="nowrap" align="right"><div class="Button"><a href="{CONT_VAL}" class="txtButton" title="{LANG_CHECKOUT_BTN}">{LANG_CHECKOUT_BTN}</a></div></td> and make it this: <td nowrap="nowrap" align="right"> </td> Now below that edit the line after after this one: <!-- BEGIN: alt_checkout --> <p style="text-align: right; margin-right: 30px; font-weight: bold">{LANG_ALTERNATIVE_CHECKOUT}</p> We'll change it to a comment like such: <!-- p style="text-align: right; margin-right: 30px; font-weight: bold">{LANG_ALTERNATIVE_CHECKOUT}</p --> Quote Link to comment Share on other sites More sharing options...
Guest macjs Posted January 6, 2008 Share Posted January 6, 2008 OK, if I change it can the client still add a different payment method in the future? What happens to the checkout process then? And will the "Make Payment" button work then? thx! Quote Link to comment Share on other sites More sharing options...
Guest Posted January 24, 2008 Share Posted January 24, 2008 Thanks for the code! I guess if you dont need to calculate shipping this works good! or is there a way to force a person to be logged in before they see the shopping cart? Quote Link to comment Share on other sites More sharing options...
Guest smart95 Posted January 25, 2008 Share Posted January 25, 2008 Rekics is a genius!! Thanks for the code!! Don't forget to turn off the flat rate option in CC4 or else the total CC shows will be different from what Google shows. Rich Quote Link to comment Share on other sites More sharing options...
Guest Posted January 26, 2008 Share Posted January 26, 2008 If I have an item with a $0 value it doesnt work.. thats only thing i have found. Quote Link to comment Share on other sites More sharing options...
Guest Posted January 27, 2008 Share Posted January 27, 2008 I ended up using http://robix.nl/ mod for GoogleCheckout so I can use the UPS shipping etc. Quote Link to comment Share on other sites More sharing options...
Guest rekicks Posted January 29, 2008 Share Posted January 29, 2008 Glad to help out, sorry I didn't know about the shipping problem. Right now I am trying to figure out how to set up the googlecheckout to ship internationally, if anyone knows please post code and specific the location. Thanks guys OK, if I change it can the client still add a different payment method in the future? What happens to the checkout process then? And will the "Make Payment" button work then? thx! you can set up the shipping rate in the Alternate Checkouts section and Configure Google Shipping Methods but you can only manually set up by weight or prices. Quote Link to comment Share on other sites More sharing options...
RonHitch Posted February 6, 2008 Share Posted February 6, 2008 Hi, Did this "Remove Check-Out button" mod and it works, leaving Alternate Checkout modules - Google Checkout and Paypal. Gone however is the Print Order Form also. Anyway to keep that in play? Quote Link to comment Share on other sites More sharing options...
Guest smart95 Posted April 17, 2008 Share Posted April 17, 2008 How can I make Google Checkout the default payment method? Reason is that when I was testing the payment gateway, I got an error. When I went back and clicked on My Account to view the order there is a button that says "Make Payment". Then I clicked on "Complete Payment" from my Orders page (step 3). This page says: "Please choose your preferred payment method from those listed below. Please note that your order may not be completed until payment has cleared." and then there is a Delivery Notes box there, but there is NO payment gateway listed at all, to choose. Just a "Make Payment" button. When I click on the "Make Payment" button, nothing happens. I do not have a default Payment Gateway set up at all, just the Alternate - Google Checkout... Could this be a problem? Thanks! you can't set it as default but you can disable the default checkout and make google as the only option like my store. if the what you want, follow the code and it will be done. Remember to back up your file b4 you do that. in /includes/content/cart.inc.php, comment out lines 144 & 145 like such: if ($_GET['_a'] == 'cart') { // $view_cart->assign("CONT_VAL","index.php?_g=co&_a=step1"); // $view_cart->assign("LANG_CHECKOUT_BTN",$lang['cart']['checkout_btn']); Then in /skins/{YourSkin}/styleTemplates/content/cart.tpl down around line 226, edit the line: <td nowrap="nowrap" align="right"><div class="Button"><a href="{CONT_VAL}" class="txtButton" title="{LANG_CHECKOUT_BTN}">{LANG_CHECKOUT_BTN}</a></div></td> and make it this: <td nowrap="nowrap" align="right"> </td> Now below that edit the line after after this one: <!-- BEGIN: alt_checkout --> <p style="text-align: right; margin-right: 30px; font-weight: bold">{LANG_ALTERNATIVE_CHECKOUT}</p> We'll change it to a comment like such: <!-- p style="text-align: right; margin-right: 30px; font-weight: bold">{LANG_ALTERNATIVE_CHECKOUT}</p --> How can I make Google Checkout the default payment method? Reason is that when I was testing the payment gateway, I got an error. When I went back and clicked on My Account to view the order there is a button that says "Make Payment". Then I clicked on "Complete Payment" from my Orders page (step 3). This page says: "Please choose your preferred payment method from those listed below. Please note that your order may not be completed until payment has cleared." and then there is a Delivery Notes box there, but there is NO payment gateway listed at all, to choose. Just a "Make Payment" button. When I click on the "Make Payment" button, nothing happens. I do not have a default Payment Gateway set up at all, just the Alternate - Google Checkout... Could this be a problem? Thanks! you can't set it as default but you can disable the default checkout and make google as the only option like my store. if the what you want, follow the code and it will be done. Remember to back up your file b4 you do that. in /includes/content/cart.inc.php, comment out lines 144 & 145 like such: if ($_GET['_a'] == 'cart') { // $view_cart->assign("CONT_VAL","index.php?_g=co&_a=step1"); // $view_cart->assign("LANG_CHECKOUT_BTN",$lang['cart']['checkout_btn']); Then in /skins/{YourSkin}/styleTemplates/content/cart.tpl down around line 226, edit the line: <td nowrap="nowrap" align="right"><div class="Button"><a href="{CONT_VAL}" class="txtButton" title="{LANG_CHECKOUT_BTN}">{LANG_CHECKOUT_BTN}</a></div></td> and make it this: <td nowrap="nowrap" align="right"> </td> Now below that edit the line after after this one: <!-- BEGIN: alt_checkout --> <p style="text-align: right; margin-right: 30px; font-weight: bold">{LANG_ALTERNATIVE_CHECKOUT}</p> We'll change it to a comment like such: <!-- p style="text-align: right; margin-right: 30px; font-weight: bold">{LANG_ALTERNATIVE_CHECKOUT}</p --> Hi Rekicks, I tried to undo this mod, and I can't seem to get the text back into the checkout forms. I replaced the modified files with fresh ones. Any ideas? www.smartlifestore.com Thanks, Rich Quote Link to comment Share on other sites More sharing options...
fenderltd Posted April 28, 2008 Share Posted April 28, 2008 Does this same method apply to only accept paypal express? Thank you! Edit: I just needed to do includes/cart.inc.php, comment out the two lines. My next question is my cart still says: - or - Then paypal button then google button where is this OR button? Quote Link to comment Share on other sites More sharing options...
Guest PLMaster Posted May 8, 2008 Share Posted May 8, 2008 On a related note, I enabled GC in my 4.2.2 store but a Google Checkout button never appears anywhere in the store. I have Authorize.net, Paypal and GC and the other two work just fine. GC just never shows up. Quote Link to comment Share on other sites More sharing options...
Guest snail Posted July 18, 2008 Share Posted July 18, 2008 (edited) hi, i'm on googlecheckout sandbox mode.. and have changed the google setting to "charge" immediately so that i don't have to manually take payment on each order... but the orders are still "Pending (New Order)" in cubecart and therefore for digital goods people have to wait for me to change the order status.. is this because i've missed a config setting, or because this is in sandbox mode and will be ok without any changes when i switch to live?? anyhelp or suggestions would be much appreciated!!!!! :) Edited July 18, 2008 by snail Quote Link to comment Share on other sites More sharing options...
Guest Posted June 21, 2011 Share Posted June 21, 2011 Thanks! We only wanted google checkout on, no other payment gateway. If you only have google checkout activated, you get to the make payment button, press it, and it does nothing. This mod has stopped people from getting to that stage. So thanks for clearing up the mess this POS bit of software caused. You 1 - Aidscart - 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.