Page 2 of 394 FirstFirst 12341252102 ... LastLast
Results 11 to 20 of 3932
  1. #11
    Join Date
    Sep 2006
    Posts
    8
    Plugin Contributions
    1

    Default Re: Google Checkout module for Zen Cart released

    Quote Originally Posted by Merlinpa1969
    Im still wondering if it works with php 5.
    the last info I got from google was that it was for php4 only and that libxml was required
    Hi,

    I just updated the original module so it runs on both PHP4 and PHP5. It does not require libxml since it doesn't use any of the DOM functions for constructing and parsing XML. The only requirement is cURL (libcurl) installed and enabled on your server.

    Hope this helps,

    Jacob

  2. #12
    Join Date
    Apr 2005
    Location
    Houston, TX
    Posts
    1,410
    Plugin Contributions
    1

    Default Re: Google Checkout module for Zen Cart released

    Quote Originally Posted by willalbro
    patch is a Linux utility used to patch the Linux kernel among other things. It's pretty nifty as it uses a file comparison utility called diff to compare the files and the patch script tells whether to add, subtract, or overwrite code blocks at specified line numbers. I am grateful to google for releasing this but I really wish it was released in standard format..this really slows me down so I will not plan on integrating it right now until it is easier to install.
    Aha! That makes sense. I haven't seen that before. The format did look rather peculiar to me . . .

  3. #13
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Google Checkout module for Zen Cart released

    Kool looks good,
    will you make this more user friendly ( zen user )
    and for more than just the 1.3.0
    4 out of 5 hunks fail in our 1.3.5 demo ( has mods )
    Zen cart PCI compliant Hosting

  4. #14
    Join Date
    Jan 2004
    Posts
    66,391
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Google Checkout module for Zen Cart released

    Jacob,

    I have a few questions about the purpose of some of the code altered in core files.

    1. /admin/modules.php
    I don't see anything that requires this edition of the added makeSqlString() function. You declare this same function in two other places, but this is the only one that is set to return a value enclosed by $single_quote. Again, it seems that this file does not need to be touched, as this sole function is not used from here.

    2. /admin/orders.php
    I don't see anything in your code that uses the $payment_value variable defined:
    $payment_value= MODULE_PAYMENT_GOOGLECHECKOUT_TEXT_TITLE;

    3. two of your added files are duplicated, with ~ appended to the filename. I gather these are simply backups generated by an editor? However, since they are identical to each other, they don't appear to be merely backups. I see no references to ~ elsewhere in your changes, so it appears these files are not used/required.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #15
    Join Date
    Jan 2006
    Posts
    22
    Plugin Contributions
    0

    Default Re: Google Checkout module for Zen Cart released

    Ok...I bitched enough yesterday and I have since decided to get back to being solution minded. I downloaded version 1.3.0 and applied the patch. Following is the command line output. In short one hunk failed and that block of code is a comment and is inconsequential.

    patch -p1 </home/will/Test/zen- cart-v1.3.0-full-fileset/google-checkout-zencart.patch
    patching file admin/includes/functions/general.php
    Hunk #1 FAILED at 17.
    1 out of 3 hunks FAILED -- saving rejects to file admin/includes/functions/gener al.php.rej
    patching file admin/modules.php
    patching file admin/orders.php
    patching file googlecheckout/gcheckout.php
    patching file googlecheckout/gcheckout.php~
    patching file googlecheckout/response_error.log
    patching file googlecheckout/response_message.log
    patching file googlecheckout/responsehandler.php
    patching file googlecheckout/xmlparser.php
    patching file googlecheckout/xmlbuilder.php
    patching file includes/languages/english/modules/payment/googlecheckout.php
    patching file includes/modules/payment/googlecheckout.php
    patching file includes/modules/payment/googlecheckout.php~
    patching file includes/templates/template_default/templates/tpl_checkout_payment _default.php
    patching file includes/templates/template_default/templates/tpl_login_default.ph p
    patching file includes/templates/template_default/templates/tpl_shopping_cart_de fault.php


    (Following is the general.php.rej hunk that failed, as you can see it's a comment.:)

    ***************
    *** 17,23 ****
    // | to obtain it through the world-wide-web, please send a note to |
    // | license AT zen-cart DOT com so we can mail you a copy immediately. |
    // +----------------------------------------------------------------------+
    - // $Id: general.php 4316 2006-08-28 21:27:21Z drbyte $
    //

    ////
    --- 17,23 ----
    // | to obtain it through the world-wide-web, please send a note to |
    // | license AT zen-cart DOT com so we can mail you a copy immediately. |
    // +----------------------------------------------------------------------+
    + // $Id: general.php 3415 2006-04-11 04:51:22Z drbyte $
    //

    ////

    I am going to now patch this file set into 1.3.5 or upgrade 1.3.0 to 1.3.5...or maybe I will take the files and make them into a Zen Friendly mod that would install the standard way?...any feedback?

    Thanks,

    Will
    www.brooksestore.com

  6. #16
    Join Date
    Apr 2005
    Location
    Houston, TX
    Posts
    1,410
    Plugin Contributions
    1

    Default Re: Google Checkout module for Zen Cart released

    Quote Originally Posted by willalbro
    ...or maybe I will take the files and make them into a Zen Friendly mod that would install the standard way?...any feedback?
    If you do, please post it here for the masses .

  7. #17
    Join Date
    Jan 2006
    Posts
    22
    Plugin Contributions
    0

    Default Re: Google Checkout module for Zen Cart released

    Ok...I made it into a zen friendly mod that can be installed and used right away :-D

    I submitted it into the downloads section and it is under review. In the meantime you can find it here:

    www.brooksestore.com/eStore/Google_Checkout.zip

    Use it at your own risk and have fun. BTW it's on my site and functions great.

    God Bless!

    Will
    Brooks eStore
    www.brooksestore.com

  8. #18
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Google Checkout module for Zen Cart released

    does it integrate with super orders?
    Zen cart PCI compliant Hosting

  9. #19
    Join Date
    Jan 2006
    Posts
    22
    Plugin Contributions
    0

    Default Re: Google Checkout module for Zen Cart released

    Personally, Im not sure. It is exactly what google coded, except I ran the patch utility on a fresh, non-modded 1.3.0 version and then used a file comparing utility to upgrade google_checkout to a fresh, non-modded version of 1.3.5.

    I would guess yes, but I would test it on a non-production store.

    Best of luck!

    Will
    www.brooksestore.com

  10. #20
    Join Date
    Jan 2004
    Posts
    66,391
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Google Checkout module for Zen Cart released

    Will,

    Thanks for your efforts. They are appreciated.

    I took it one step further for you ...

    I did the same thing last night, and when I studied the code changes while converting to 1.3.5, I came up with a number of changes to the code in order to make it more Zen-friendly and easier to plug in, etc. Some of the issues encountered are listed earlier in this thread in the form of questions.

    Like you, I've packaged it as a set of files which can be uploaded by FTP. The readme explains which files should be modified to suit your own custom template, etc.

    Extraneous unused code is also removed from the updated module.

    The update is now available as an update to the original contribution:
    http://www.zen-cart.com/index.php?ma...roducts_id=314
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 
Page 2 of 394 FirstFirst 12341252102 ... LastLast

Similar Threads

  1. v155 BETA feedback for Responsive-Classic in v155-beta
    By picaflor-azul in forum Addon Templates
    Replies: 51
    Last Post: 5 Mar 2016, 09:14 PM
  2. Google Checkout module support for ZC 1.5.0?
    By Woodymon in forum Addon Payment Modules
    Replies: 2
    Last Post: 21 Jan 2012, 03:18 AM
  3. Google Checkout - is there a module for 1.3.9g?
    By cchan in forum Addon Payment Modules
    Replies: 0
    Last Post: 9 Jan 2011, 05:04 AM
  4. Update Google Checkout Module or Custom Google Checkout?
    By pacificmanagment in forum Addon Payment Modules
    Replies: 1
    Last Post: 24 May 2010, 09:40 AM
  5. Replies: 1
    Last Post: 31 May 2009, 02:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR