Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

speed777

Pioneers
  • Posts

    245
  • Joined

  • Last visited

Everything posted by speed777

  1. I'm going to run a dummy purchase through, could you leave it on sandbox?
  2. 3. For some reason, the session is lost when the user returns to your site and therefore isn't logged in, that is why the page returns to shopping_cart.php instead of checkout_success.php. Post your includes/configure.php file without the database info. Here is the info that I need to see: // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.yourdomain.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://yourdomain.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.yourdomain.com'); define('HTTPS_COOKIE_DOMAIN', 'yourdomain.com'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/');
  3. Okay, follow the format of the parameters: define('HTTP_COOKIE_DOMAIN', 'www.eofficesupply.biz'); define('HTTP_MAIL_DOMAIN', 'eofficesupply.biz'); define('HTTPS_COOKIE_DOMAIN', 'www.eofficesupply.biz'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); Do you have a SSL certificate? If so, then: define('ENABLE_SSL', 'true'); If you're using a shared certificate, you have to enter the name of the webserver in: define('HTTPS_SERVER',
  4. 1. You shouldn't have to comment out $Gresponse-HttpAuthentication(); I didn't and it works fine. 2. Its Force Cookie Use, Check User Agent and Check IP Address that interfere with googlecheckout. 3. For some reason, the session is lost when the user returns to your site and therefore isn't logged in, that is why the page returns to shopping_cart.php instead of checkout_success.php.
  5. Sandbox works with both secured and unsecured transactions, post your config files leaving out the important info like database passwords, maybe its a cookies issue. When you get the module to work, you will see that customer accounts are created automatically in OSC Admin when they checkout using google checkout.
  6. 1.Failed to get basic authentication headers 2.Could you share a little more detail about Configure/Sessions? Where do I set this?- You need to have sessions for a customer to buy a product. You set it in the OSCommerce Administration panel under Configuration. Also you can find information at the google forum.
  7. Google checkout is sometimes hard to get the bugs worked out but once you do it works like a champ.
  8. I don't see Buy Now on http://www.provatostore.com/home/, I see Please Use Google Checkout on http://www.provatostore.com/home/shopping_cart.php. Looks fine to me.
  9. I can help with some things related to google checkout but you're going to have to go to Shipping Modules and ask there for help on the USPS part. I'm not familiar with USPS. 2) Google not posting back to oscommerce.- Set your Configuration/Sessions all to false for testing purposes now. Some conflict with googlecheckout and don't allow posting back to oscommerce. 3) Continue shopping which is set for checkout_success.php worked, but OSC just dumped me to the empty cart. No thank you page, etc.?-Add the contribution that I made called Empty Cart After Transaction.
  10. That's a overload problem with the server you happen to use, you have no direct control over that.
  11. speed777

    Htaccess cont.

    I should say when you set Force Cookies Use to False, you will have the Oscid problem. The Oscid will be appended to the product in the bar above, this causes security problems with people being able to view another account. Installing Jack's Ultimate SEO contribution fixes this.
  12. 1. Use this tool encode your keys & ID's: http://demo.globant.com/~brovagnati/tools/htaccess.php 2. Put the results in your htapasswd file 3. Make an htaccess file which points to the htapasswd file making sure that its above the public_html, not in the googlecheckout directory. Place the htaccess file in the google checkout directory. 4. If you already protected your googlecheckout directory before in the server panel, disable the protection, this is a manual installation. I have it disabled in mine. 5. Set .htaccess Basic Authentication Mode to true on the googlecheckout module. 6. Set the following in Configuration/Sessions: Force Cookie Use /False Check SSL Session ID /True Check User Agent /False Check IP Address /False Prevent Spider Sessions /True Recreate Session /True
  13. You have this in your shopping_cart.php file which is the source of the Buy Now button: height="46" width="180" /></form></div><div align="center"><a href="java script:void(window.open('http://checkout.google.com/seller/what_is_google_checkout.html','whatischeckout','scrollbars=0,resizable=1,directories=0,height=250,width=400'));" onmouseover="return window.status = 'What is Google Checkout?'" onmouseout="return window.status = ''"><font size="-2">What is Google Checkout?</font></a></div></div> <div style="font-size:11px; color: red; width: 180px; text-align: center;"> * GC is set to use SANDBOX. Order will be processed but NOT charged.</div></div> <!-- ** END GOOGLE CHECKOUT ** --> </td> Try substituting the proper code.
  14. This is what you should have in your shopping_cart.php: <tr> <td> <?php // ** GOOGLE CHECKOUT ** // Checks if the Google Checkout payment module has been enabled and if so // includes gcheckout.php to add the Checkout button to the page if (defined('MODULE_PAYMENT_GOOGLECHECKOUT_STATUS') && MODULE_PAYMENT_GOOGLECHECKOUT_STATUS == 'True') { include_once('googlecheckout/gcheckout.php'); } // ** END GOOGLE CHECKOUT ** ?> </td> </tr>
  15. http://www.oscommerce.com/forums/index.php?s=&...t&p=1369512
  16. You have to enter your Sandbox Merchant ID & Sandbox Merchant Key in the googlecheckout module, as well the Production Merchant ID & Production Key, then you set up an .htpasswd file with the same ID's. If you don't know how to do this, go to your server panel and choose 'Password Protect Directories'. Enter the same information as in the googlecheckout module using the merchant & sandbox ID's as the usernames and the Keys as the passwords. You want to make sure that not accessible to the public too, not in your google checkout folder. If you set it up in your server panel, this will be done automatically for you.
  17. Is googlecheckout.php listed in includes/modules/payment?
  18. Where you place the code is important, the button will not work inside tables, I think. Move the code outside of the table. As for the design, I don't think it will matter but first backup the files to make sure. You may have to use a program like Winmerge, if you're not already. Nice design by the way.
  19. You don't have a Google Checkout icon on your shopping_cart.php, add one somewhere on the page.
×
×
  • Create New...