Page 52 of 394 FirstFirst ... 242505152535462102152 ... LastLast
Results 511 to 520 of 3932
  1. #511
    Join Date
    Dec 2006
    Posts
    13
    Plugin Contributions
    0

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

    Quote Originally Posted by kebeid View Post
    Is anyone getting this error in the admin side:

    Warning: Invalid argument supplied for foreach() in /admin/includes/functions/extra_functions/added_function_for_google_checkout.php on line 267

    saying somethings wrong with the foreach() - it looks good to me.
    As you know, that particular line contains:
    Code:
    foreach($googlepayment->mc_shipping_methods[$select_array[$i]['code']]['domestic_types'] as $method => $method_name) {
    I'd suggest checking the mc_shipping_methods array (starting at line 66 in original GCO 1.0.5) in includes/modules/payment/googlecheckout.php to make sure they're all valid arrays. If you modified them (such as to add/remove shipping methods), it's possible you may have missed a closing parenthesis, a comma or something small like that.

    Shawn

  2. #512
    Join Date
    Dec 2005
    Location
    Box Elder, SD
    Posts
    373
    Plugin Contributions
    0

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

    Quote Originally Posted by Jefflam View Post
    [FONT=Arial]Hi everyone,[/FONT]

    [FONT=Arial]I could not get google checkout payment module 1.0.4 option in my 1.3.7 zencart"s admin-modules-payments. I did follow all the instructions but failed again and again.[/FONT]

    [FONT=Arial]Please give me a hand/hint. Thanks alot.[/FONT]
    Give US a hint -

    How far did you get? What are you seeing? Or not seeing?

  3. #513

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

    Quote Originally Posted by BBG View Post
    As you know, that particular line contains:
    Code:
    foreach($googlepayment->mc_shipping_methods[$select_array[$i]['code']]['domestic_types'] as $method => $method_name) {
    I'd suggest checking the mc_shipping_methods array (starting at line 66 in original GCO 1.0.5) in includes/modules/payment/googlecheckout.php to make sure they're all valid arrays. If you modified them (such as to add/remove shipping methods), it's possible you may have missed a closing parenthesis, a comma or something small like that.

    Shawn
    But I didn't modify them I just got it from GCO 1.0.5 and installed. Is that b/c I don't have MZMT in the array, could that be the source of the problem?

    Pete

  4. #514
    Join Date
    Dec 2006
    Posts
    13
    Plugin Contributions
    0

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

    Quote Originally Posted by kebeid View Post
    But I didn't modify them I just got it from GCO 1.0.5 and installed. Is that b/c I don't have MZMT in the array, could that be the source of the problem?

    Pete
    It's possible it could be related to specific shipping options you've chosen. I haven't run into your particular error, however, I've only tried to get GCO to work with USPS shipping. So, I guess my next suggestion would be to experiment by removing all the other shipping methods except for Flat Rate (or some shipping method not MZMT) and see if your foreach error goes away. If you haven't done so already, try searching the forum for "foreach", I believe someone else mentioned a foreach error a while back.

    I'm kind of swinging in the dark here, so perhaps someone more knowledgeable or someone who has run into this error before can chime in.

    Good luck,
    Shawn

  5. #515
    Join Date
    Dec 2006
    Posts
    10
    Plugin Contributions
    0

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

    Quote Originally Posted by Jefflam View Post
    [FONT=Arial]Hi everyone,[/FONT]

    [FONT=Arial]I could not get google checkout payment module 1.0.4 option in my 1.3.7 zencart"s admin-modules-payments. I did follow all the instructions but failed again and again.[/FONT]

    [FONT=Arial]Please give me a hand/hint. Thanks alot.[/FONT]
    this issue was solved with the BBG's help. thanks alot to BBG.

  6. #516

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

    Shawn, thanks for your suggestions.
    I'm noticing that I get this particular error only when I edit the GCO payment mod in the admin. So I commented that out, but I'm getting the same error from gcheckout on the cart side. I'm also noticing some errors from google when I go into my account so I'll look at that.

  7. #517
    Join Date
    Jan 2004
    Posts
    46
    Plugin Contributions
    0

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

    One suggested change:

    Zencart stores the order total in two places - the orders_total table, and in the orders table in the field order_total. The responsehandler.php file updates the orders_total table just fine, but misses the second place. This make some third-party code (such as super orders) that relies on the order_total field to break.

    The fix is in responsehandler.php:

    Find the section that looks like:
    Code:
    'ip_address' => $data[$root]['shopping-cart']['merchant-private-data']['ip-address'],
    'cc_type' => '',
    'cc_owner' => '',
    'cc_number' => '',
    'cc_expires' => '',
    'date_purchased' => 'now()',
    'orders_status' => 1,
    'currency' => "USD",
    'currency_value' => 1);
    Just after the 'currency' => "USD", line, add the following line:
    Code:
    'order_total' => $data[$root]['order-total'],
    Then check that your change didn't break anything by going to http://<yoursitehere>/googlecheckout/responsehandler.php, like in the google checkout instructions.

  8. #518
    Join Date
    Dec 2006
    Posts
    10
    Plugin Contributions
    0

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

    Hi everyone,
    ZC 137 + GCO 105
    2 problems
    (1) Google checkout icon does not appear on the shopping cart page, but shown on login page. after finished login page, ZC checkout to step 2 and there is no payment options there.
    (2) PP express checkout added, GCO disappeared

    thank you for any hints and points.

    jeff

    http://fastener-outlet.com
    Last edited by Jefflam; 6 Jan 2007 at 06:11 AM.

  9. #519
    Join Date
    Dec 2005
    Location
    Box Elder, SD
    Posts
    373
    Plugin Contributions
    0

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

    Quote Originally Posted by Jefflam View Post
    Hi everyone,
    ZC 137 + GCO 105
    2 problems
    (1) Google checkout icon does not appear on the shopping cart page, but shown on login page. after finished login page, ZC checkout to step 2 and there is no payment options there.
    (2) PP express checkout added, GCO disappeared

    thank you for any hints and points.

    jeff

    http://fastener-outlet.com

    Have you merged the PayPal Express code with the GCO code on the three template files that GCO uses?

    See posts 490, 491.

    Check that sort order is different for PayPal Express and GCO in Payment Module setup.

  10. #520
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

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

    Quote Originally Posted by Jefflam View Post
    ZC checkout to step 2 and there is no payment options there.
    And after following chain_man's recommends, keep in mind that both Google Checkout and the new PayPal Express Checkout are not standard Zen Cart checkout procedures.

    So you will not see either of the two Express Checkout options listed on the "Step 2 - Select Payment Method" page.

    But the step 2 page will continue to display standard PayPal IPN payment method (unless you disabled) which completely integrates into Zen Cart's standard checkout process.

    - Woody

 

 

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