Jump to content

Huma

Members
  • Content count

    14
  • Joined

  • Last visited

  1. I am in this page "Google Checkout Module Dashboard" and i have disabled "Enable Carrier Calculated Shipping" (I also tried it when it is enabled) to change the default value to zero and when i click save button it again comes back to all the previous values. I cannot set the default values to zero to disable fedex and ups shipping. Are you able to do that? Please help.
  2. Huma

    USPS shipping with google checkout

    In the google checkout page i see the button "calculating tax and shipping.". Then it always only default amount setup in the merchant calculated shipping method inside the admin section. Does any know why it does that? I have set up .htaccess Basic Authentication Mode in admin section as there is CGI being used in the server. Has any body faced this problem before.
  3. Huma

    USPS shipping with google checkout

    Can you explain how do i enable them? The Merchant calculated shipping section here http://code.google.com/p/google-checkout-o...ki/ReadMe_1_5_0 talks about it about it is not enough. I need help and i am out of ideas i will really appreciate any help.
  4. I have Google checkout configured with OS commerce. And it is working. I want to provide USPS shipping method. I have installed and enabled USPS shipping in the modules-> shipping in the admin section of OS commerce. I have set up my account with USPS and and i have used the username and password i received from the USPS. When i click on Google checkout button (running on sandbox mode now) i get "You do not currently have any valid shipping methods." with yellow background and warning sign on the side of it. I am really stuck here and i will appreciate any help you can provide. Huma
  5. Ok. Now what i did is i tried to click the google checkout button and i used to get the default shipping cost but now i am getting "You do not currently have any valid shipping methods." with yellow background and warning sign on the side of it. I have setup USPS account and i have also enabled.
  6. I mean when i access it from the url? Like :https://<your-domain>/catalog/googlecheckout/responsehandler.php I read it somewhere in the document that i should not get any errors when i access it before i can proceed. Thanks again for your help.
  7. Thanks a lot for your reply. I commented default in line 1154 and deleted "\" in line 1303 and I am kind of stuck here. This is the error message i get when i go to the responsehandler.php now "nvalid or not supported Message". It is 404 error. I am kind of out of ideas about what to do next. I will appreciate any help. Thanks in Advance.
  8. When i put the code you provided i still get the same error: arse error: syntax error, unexpected T_DEFAULT in .. catalog/googlecheckout/responsehandler.php on line 1154 Then i commented the the default section as shown below: case 'DELIVERED': { $check_status = tep_db_fetch_array(tep_db_query("select orders_status from " . TABLE_ORDERS . " where orders_id = '" . $google_order['orders_id'] . "'")); switch ($check_status['orders_status']){ case GC_STATE_REFUNDED: { $orders_status_id = GC_STATE_SHIPPED_REFUNDED; break; } case GC_STATE_PROCESSING: { //default: $orders_status_id = GC_STATE_SHIPPED; break; } } When i access the url i get this warnings: Warning: Unexpected character in input: '\' (ASCII=92) state=1 in .. /catalog/googlecheckout/responsehandler.php on line 1303 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /.. /catalog/googlecheckout/responsehandler.php:1303) in /home/rosco892/public_html/catalog/includes/functions/sessions.php on line 102 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/rosco892/public_html/catalog/googlecheckout/responsehandler.php:1303) in .. /catalog/includes/functions/sessions.php on line 102 Warning: Cannot modify header information - headers already sent by (output started at /home/rosco892/public_html/catalog/googlecheckout/responsehandler.php:1303) in .. /catalog/googlecheckout/library/googleresponse.php on line 168 Invalid or not supported Message In line 1303 i have this section of the code: $total = tep_db_fetch_array(tep_db_query( "SELECT orders_total_id, text, value from " . "" . TABLE_ORDERS_TOTAL . " where orders_id = " . "'" . $google_order['orders_id'] . "' AND class = 'ot_total'")); $net_rev = tep_db_fetch_array(tep_db_query(\ // Line 1303 "SELECT orders_total_id, text, value from " . "" . TABLE_ORDERS_TOTAL . " where orders_id = " . "'" . $google_order['orders_id'] . "' AND class = 'ot_goog_net_rev'")); $sql_data_array = array( 'orders_id' => $google_order['orders_id'], 'title' => '<b>' . GOOGLECHECKOUT_STATE_STRING_NET_REVENUE . '</b>', 'text' => '<b>' . $currencies->format( ($total['value'] - ((double) $gc_data[$root]['total-refund-amount']['VALUE'])), false, $gc_data[$root]['total-refund-amount']['currency']) . '</b>', 'value' => ($total['value'] - ((double) $gc_data[$root]['total-refund-amount']['VALUE'])), 'class' => 'ot_goog_net_rev', 'sort_order' => 1010 ); Then i deleted '\' at the end of the line 1303. Now when i access the responsehandler.php i get error message "Invalid or not supported Message" ..... Something has gone wrong.. These are version of software's in my server: PHP - 5.2.8 MySQL - 5.1.30 Apache - Apache 2.2.11 (includes mod_rewrite and mod_security) CGI - Built into Apache OS - Linux x86 CentOS 5.x I will appreciate any help you can provide. I am kind of stuck. Thanks a lot.
  9. Thank you very much for the reply. Line number 1154 has default; ... Here is the piece of code. case 'DELIVERED': { $check_status = tep_db_fetch_array(tep_db_query("select orders_status from " . TABLE_ORDERS . " where orders_id = '" . $google_order['orders_id'] . "'")); switch ($check_status['orders_status']){ case GC_STATE_REFUNDED: { $orders_status_id = GC_STATE_SHIPPED_REFUNDED; break; } case GC_STATE_PROCESSING: { default; // Line number 1154 $orders_status_id = GC_STATE_SHIPPED; break; } }
  10. I am getting this error when i tried to access my url /googlecheckout/responsehandler.php. Parse error: syntax error, unexpected T_DEFAULT in ... /googlecheckout/responsehandler.php on line 1154 I will really appreciate any help.
×