Results 1 to 10 of 3932

Threaded View

  1. #11
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

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

    Quote Originally Posted by mbuttrey View Post
    Here is the issue.
    Everytime in the customer order adim, when i try to email customer with update/pending/processing email I get this error:

    "1146 Table 'massagel_zc1.google_orders' doesn't exist
    in:
    [select google_order_number from google_orders where orders_id= 48]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields."

    I also get this error message in payments admin:
    "Fatal error: Cannot redeclare class googlecheckout in /home/massagel/public_html/bodyandbathshop/includes/modules/payment/googlecheckout.php on line 20"

    Is there an easy fix? Will it destroy site if I remove all google files?
    Best method to uninstall is to reverse the install process, as explained in the INSTALLATION document bundled with the mod. This would include re-uploading the backed up Zen Cart files which were overwritten during the mod installation.

    BEFORE YOU PROCEED BACKUP BOTH YOUR SHOP DIRECTORY AND YOUR DATABASE.

    You don't state the version number of the mod installed. Open the readme for that version and figure out which Zen Cart files had to be overwritten/edited during the mod installation. Probably two or three template files and /admin/orders.php. Then the other Google Checkout mod files you can just delete from the server. You should only delete the mod files AFTER uninstalling the mod via (Admin > Modules > Payment Methods.

    It appears the errors you report are a result of removing some of the Google Checkout mod files but not removing others. Specifically it appears you have not re-uploaded a backed up copy of the original /admin/orders.php. If you have the backup file on your hard drive then upload/overwrite the same file on the server. If not then open the the Zen Cart zip archive (for whichever version Zen Cart you are using), extract orders.php and upload to /admin/orders/php on the server (this is assuming you made no other modifications to orders.php. In that case you should do a compare and merge).

    And be sure to overwrite the mod template files in YOUR_TEMPLATE directory (again apply compare and merge if you customized the original core files). If you did not previously edit/customize the relevant template files, you can just remove those from your YOUR_TEMPLATE directory (no need to upload the originals).

    The two tables created by Google Checkout 1.3RC2 mod install, are as follows.

    TABLE: google_checkout
    customers_id
    buyers_id

    TABLE: google_orders
    orders_id
    google_order_number
    order_amount

    By default, the two tables are NOT removed when you uninstall the mod (Admin >Modules > Payment Methods). But if you are VERY certain you want to delete (drop) those two tables then there are two lines of code near the bottom of /includes/modules/payment/googlecheckout.php, which you can comment out BEFORE uninstalling the mod. Or you can just drop the two tables via phpmyadmin. BACKUP your database BEFORE you do this.

    If you have used the mod in LIVE Live production to process real orders, then I do NOT suggest removing those two tables unless you are VERY certain of the the ramifications. If you have only used Google Checkout in the sandbox testing environment then there should be no issue with dropping the two tables. But I have not tested removing the tables so I am not certain. Hopefully ropu can provide clarification on this important issue.

    When you state you did not know SSL was required for Google Checkout, I ask which payment method are you using that does not require SSL? I do not understand how you can allow submission of confidential customer info or process orders in Zen Cart without SSL, unless you are operating insecurely. Beware!

    Hope this helps,
    Woody
    Last edited by Woodymon; 27 Apr 2007 at 06:51 PM.

 

 

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