Page 140 of 394 FirstFirst ... 4090130138139140141142150190240 ... LastLast
Results 1,391 to 1,400 of 3932
  1. #1391
    Join Date
    Jan 2007
    Posts
    82
    Plugin Contributions
    0

    Default Re: Google Checkout module for Zen Cart (beta)

    Quote Originally Posted by inkspot View Post
    Thanks for the tip. This is $30 cheaper than the one offered by my host, not to mention the $25 set-up fee.

    Here is one other helpful diagnostic test that I discovered for trouble shooting Goggle Checkout (probably obvious for experienced users). If you set up the google checkout correctly, if you type in your web browser:

    "http://[yourdomain.com]/[shop]/googlecheckout/responsehandler.php"

    a user/password screen should appear, which means the .htaccess files were installed and you are using the correct directory path. However, if you get a web browser error page when you type in:

    "httpS://[yourdomain.com]/[shop]/googlecheckout/responsehandler.php",

    you probably have an SSL certificate issue.
    I get nothing when I type http://mydomain/googlecheckout/responsehandler.php. What does this mean? something wrong with .htaccess file?

  2. #1392
    Join Date
    Apr 2007
    Posts
    24
    Plugin Contributions
    0

    Default Re: Google Checkout module for Zen Cart (beta)

    Quote Originally Posted by eaglewu View Post
    I get nothing when I type http://mydomain/googlecheckout/responsehandler.php. What does this mean? something wrong with .htaccess file?
    your directory path should be //[yourdomain]/[shop]/... where shop is probably "catalogue" or some other name you or zen-cart chose.

    The htaccess and htpasswd files installed by Google would make the username/password screen popup in http:// mode. If you are getting some sort of file not found or can't view error, you have not typed in the right path to the googlecheckout directory.

  3. #1393
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: Google Checkout module for Zen Cart (beta)

    Quote Originally Posted by inkspot View Post
    your directory path should be //[yourdomain]/[shop]/... where shop is probably "catalogue" or some other name you or zen-cart chose.
    Many shop-owners are locating their shops in the 'webroot', so they won't have a [shop] subdirectory.

    Quote Originally Posted by inkspot View Post
    The htaccess and htpasswd files installed by Google would make the username/password screen popup in http:// mode.
    Just to clarify, it is the shopowner whom creates the .htaccess/.htpasswd files, not Google.

    Woody

  4. #1394
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: Google Checkout module for Zen Cart (beta)

    Quote Originally Posted by eaglewu View Post
    I get nothing when I type http://mydomain/googlecheckout/responsehandler.php. What does this mean? something wrong with .htaccess file?
    What precisely does"nothing" mean? A blank page? What appears in the HTML source?

    Can you post an URL?

    Woody

  5. #1395
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: Google Checkout module for Zen Cart (beta)

    Quote Originally Posted by inkspot View Post
    Now the funny thing is the PayPal IPN doesn't require an SSL certificate and works just fine on my site.
    Don't mean to go off-topic here, just need to clarify.

    Because credit card and bank information is not transmitted in Instant Payment Notification (IPN), PayPal does not require Secure Sockets Layer (SSL) to encrypt IPN transmissions.

    So if implementing "HTTPS Postback" type notification, you can do it without SSL. But PayPal recommends employing SSL.

    (and if you employ "Shared Secret Validation" for notification then SSL is required).

    From the PayPal IPN payment module for Zen Cart install instructions:
    set your Instant Payment Notification Preferences URL to:
    https://YOUR_DOMAIN/YOUR_SHOP/ipn_main_handler.php
    Woody

  6. #1396
    Join Date
    Mar 2007
    Posts
    77
    Plugin Contributions
    0

    Default Re: Google Checkout module for Zen Cart (beta)

    Quote Originally Posted by inkspot View Post
    TIf you set up the google checkout correctly, if you type in your web browser:

    "http://[yourdomain.com]/[shop]/googlecheckout/responsehandler.php"

    a user/password screen should appear, which means the .htaccess files were installed and you are using the correct directory path. However, if you get a web browser error page when you type in:

    "httpS://[yourdomain.com]/[shop]/googlecheckout/responsehandler.php",

    you probably have an SSL certificate issue.
    My issues, questions and server details: Post # 1382

    There is no error. However, I'm on an IIS server, so the .htaccess doesn't work. I have to use Windows Authentication. But, there is no difference in the result when I password protect this directory using the merchant ID as the user and the merchant key as the password.

  7. #1397
    Join Date
    Mar 2007
    Posts
    77
    Plugin Contributions
    0

    Default Re: Google Checkout module for Zen Cart (beta)

    Ok, I wish there was documentation somewhere which said that this ONLY works on an Apache server! I've spent weeks on this trying to figure out why it wouldn't work! Searched just about every forum thread I could find on this, searched google, looked at google documentation. I couldn't find anything on this. Well, all you out there who have had the same trouble I have had, here is your documentation.

    Line 104 of responsehandler.php:

    PHP Code:
    if(MODULE_PAYMENT_GOOGLECHECKOUT_CGI != 'True') {
          if(isset(
    $HTTP_SERVER_VARS['PHP_AUTH_USER']) && isset($HTTP_SERVER_VARS['PHP_AUTH_PW'])) {
            
    $compare_mer_id $HTTP_SERVER_VARS['PHP_AUTH_USER']; 
            
    $compare_mer_key $HTTP_SERVER_VARS['PHP_AUTH_PW'];
          } else {
              
    error_func("HTTP Basic Authentication failed. Can't retrive Merchant Id/Key, Installed over CGI??\n");
              exit(
    1);
          } 
    PHP_AUTH_USER only works with Apache. http://us.php.net/features.http-auth

    The reason I was getting this error and the google checkout hasn't worked is because it doesn't work on IIS!

  8. #1398
    Join Date
    Jun 2005
    Location
    Cheney WA
    Posts
    1,134
    Plugin Contributions
    0

    Default Re: Google Checkout module for Zen Cart (beta)

    Yes, contrabutions should have better documentation.

    Unfortunatly many open source contributers aren't good at producing documentation.

  9. #1399
    Join Date
    Jun 2005
    Location
    Cheney WA
    Posts
    1,134
    Plugin Contributions
    0

    Default Re: Google Checkout module for Zen Cart (beta)

    Google sent me a link to the Google Checkout Buye'rs tour.

    It may be a good link to have on your cart page.

    [FONT=Consolas]http://checkout.google.com/buyer/tour.html[/FONT]

    JP

  10. #1400
    Join Date
    Mar 2007
    Posts
    77
    Plugin Contributions
    0

    Default Re: Google Checkout module for Zen Cart (beta)

    Working on a solution to the Anti-IIS Google Checkout. Not working yet, but here is the progress. Maybe someone knows what I'm doing wrong?

    The idea is that it would eventually work on a Windows (IIS) server with LDAP installed. php.ini would also have to have LDAP enabled.

    Around Line 104, responsehandler.php

    PHP Code:
    if(MODULE_PAYMENT_GOOGLECHECKOUT_CGI != 'True') {
          
          if(
    dirname($_SERVER['SERVER_SOFTWARE'])=='Microsoft-IIS'){
            
            
    $ldap='<ldap server address here>';
            
    $connect="";
            
            
    // connect to LDAP server
            
    if (!($connect=@ldap_connect($ldap))) {
                
    error_func('Unable to connect to LDAP server.');  
                exit(
    1);
            }
            
            
    // bind to LDAP server
            
    else if (!($bind=@ldap_bind($connect$merchant_id$merchant_key))) {
                
    error_func('Windows authentication failed.');  
                exit(
    1);
            }
            
            else{
                
    $compare_mer_id=$merchant_id;  
                
    $compare_mer_key=$merchang_key;
            }    
          }
          
          else if(isset(
    $HTTP_SERVER_VARS['PHP_AUTH_USER']) && isset($HTTP_SERVER_VARS['PHP_AUTH_PW'])) {
            
    $compare_mer_id $HTTP_SERVER_VARS['PHP_AUTH_USER']; 
            
    $compare_mer_key $HTTP_SERVER_VARS['PHP_AUTH_PW'];
          
          } else {
                
    //Apache server authentication err
                
    error_func("HTTP Basic Authentication failed. Can't retrive Merchant Id/Key, Installed over CGI??\n");
                exit(
    1);                 
          }
            
          if(
    $compare_mer_id != $merchant_id || $compare_mer_key != $merchant_key) {
            
    error_func("HTTP Basic Authentication failed. Wrong Merchant Id/Key Validation\n");
            exit(
    1);
          }
        } 

 

 

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