I'm using v1.3.9h, I have SSL
In trying to processes an order with google I get
Oops! We were unable to process your request
It gives me this in sandbox also.
My debug log gives me 2 logs each time -
PHP Warning: Invalid argument supplied for foreach() in /home/www/phryz.com/googlecheckout/gcheckout.php on line 616
This line is my shipping_methods.php area. The only shipping I have set up is USPS and freeshipping, the page is set-
Code:
<?php
/*
**GOOGLE CHECKOUT ** v1.4.7
* @version $Id: shipping_methods.php 5852 2007-12-14 14:58:57Z ropu $
*
*/
// this are all the available methods for each shipping provider,
// see that you must set flat methods too!
// CONSTRAINT: Method's names MUST be UNIQUE
// Script to create new shipping methods
// http://demo.globant.com/~brovagnati/tools -> Shipping Method Generator
$mc_shipping_methods = array(
'usps' => array(
'domestic_types' =>
array(
'FIRST CLASS' => 'First-Class Mail',
'PRIORITY' => 'Priority Mail',
'PARCEL' => 'Parcel Post',
),
'international_types' =>
array(
'Priority Mail International' => 'Priority Mail International (6 - 10 days)',
'First-Class Mail International' => 'First-Class Mail International',
),
),
'freeshipper' => array(
'domestic_types' =>
array(
'freeshipper' => 'Free Shipper'
),
'international_types' =>
array(
'freeshipper' => 'Free Shipper intl'
),
),
'perweightunit' => array(
'domestic_types' =>
array(
'perweightunit' => 'Perweight Unit'
),
'international_types' =>
array(
'perweightunit' => 'Perweight Unit intl'
),
),
'itemnational' => array(
'domestic_types' =>
array(
'itemnational' => 'Item National',
),
'international_types' =>
array(
),
),
'iteminternational' => array(
'domestic_types' =>
array(
),
'international_types' =>
array(
'iteminternational' => 'Item International',
),
),
);
$mc_shipping_methods_names = array(
'usps' => 'USPS',
'freeshipper' => 'Free Shipper',
'perweightunit' => 'Perweight Unit',
'itemnational' => 'Per Item National',
'iteminternational' => 'Per Item International',
);
?>
I don't know what else to check, paypal works fine.
Dan
Bookmarks