Jump to content

oyb

Members
  • Content count

    23
  • Joined

  • Last visited

  1. Fixed it.. it was caused by the wrong expiry date.. who know that Canada Post would decline but the CC would still get charged!
  2. Now it seems that I'm getting an error in Step 7; the odd thing is.. my credit card is getting charged but it's not producing a label, it's failing. Step 1. Initialized. Step 2. Logged in. Step 3. Started shipping application. Step 4. Entered address. Step 5. Selected shipping method. Step 6. Customs information not necessary for Canada. Step 7. Error: Failed check in .../public_html/shop/admin/ship_canadapost.php at line 738. This most likely means that Canada Post has changed their user interface. You need to update your Canada Post Automatic Shipping Labels module. Any idea? Is anyone else getting this?
  3. oyb

    Canada Post Automatic Labels

    I'm getting error at Step 7; it seems like the credit card is being charged but then it crashes somewhere... Step 7. Error: Failed check in .../public_html/shop/admin/ship_canadapost.php at line 740. This most likely means that Canada Post has changed their user interface. You need to update your Canada Post Automatic Shipping Labels module. Any idea what's going on? I just reinstalled this contrib to see if it would fix it but no.
  4. This has been changed and hasn't improved the shipping, we're still getting the same error.
  5. I'm getting an error in Step 5 "Step 5. Error: Failed check in /admin/ship_canadapost.php at line 873. This most likely means that Canada Post has changed their user interface. You need to update your Canada Post Automatic Shipping Labels module." I'm trying to ship to the US using XpressPost USA. This is my Step 5 coding; // 5. SHIPPING METHOD $query_string = 'translatorName=' . urlencode('cpc.ui.online.shipping.ShippingServiceTranslator') . '&pageName=' . urlencode('shipping/estShipping.jsp?locale=en_CA&formId=' . $form_prefix . '1') . '&errorMessage=' . '&errorField=' . '&nextPageFormId=' . '&formId=' . $form_prefix . '1' . '&manifestTemplateCount=0' . '&isDocument=false' . '&userAction=' // shipping method . '&serviceType=' . $HTTP_POST_VARS['service_type'] . '&optionSO=' . ($HTTP_POST_VARS['signature_option'] == 'on' ? 'true' : 'false') // Signature Option . '&optionCOV=' // Coverage $ //. '&optionUP=false' // Unpackaged . '&optionCYL=false' // Mailing Tube . '&saveAsTemplate=false' . '&templateName=' // email updates . '&subject=TRACKING' // TRACKING or REFERENCE or ADDITION (i.e. additional reference number) . '&recipientEmail=' . '&notifyRecipientShip=false' . '&notifyRecipientException=false' . '&notifyRecipientDelivery=false' . '&recipientCcEmail=' . '&notifyCcRecipientShip=false' . '&notifyCcRecipientException=false' . '&notifyCcRecipientDelivery=false' . '&senderEmail=' . '&notifySenderShip=true' . '&notifySenderException=true' . '&notifySenderDelivery=true' . '&senderCcEmail=' . '&notifyCcSenderShip=false' . '&notifyCcSenderException=false' . '&notifyCcSenderDelivery=false' . '&comment=' ; if ($delivery_country == 'CA') { $query_string = $query_string . '&optionPA18=' // Proof of Age Required (18 years) . '&optionPA19=' // Proof of Age Required (19 years) . '&optionHFP=' // CARD FOR PICK UP . '&optionDNS=' // DO NOT SAFE DROP . '&optionLAD=' // LEAVE AT DOOR - DO NOT CARD ; } $response = cp_post_page($ch, 'https://est-oee.canadapost-postescanada.ca/ShippingServlet', $query_string); $errorMessage = cp_get_error($response); if ($errorMessage != '') { cp_error(5, $errorMessage); curl_close($ch); die(); ///////////////////// } // Sanity Check and Progress Report if ($delivery_country != 'CA') { $form_id = $form_prefix . '2'; } else { $form_id = $form_prefix . '4'; } if (strstr($response, '<input type="hidden" name="formId" value="' . $form_id . '">') === FALSE) { cp_error(5, 'Failed check in ' . __FILE__ . ' at line ' . __LINE__ . '. This most likely means that Canada Post has changed their user interface. You need to update your Canada Post Automatic Shipping Labels module.'); curl_close($ch); die(); ///////////////////// } else { cp_progress(5, 'Selected shipping method.'); if ($delivery_country == 'CA') { cp_progress(6, 'Customs information not necessary for Canada.'); } } if ($delivery_country != 'CA') { $regexp = "name=\"manifestCategoryType\"\svalue=\"([^\"]*)\""; $matches = ''; preg_match("/$regexp/siU", $response, $matches); $manifestCategoryType = $matches[1]; $regexp = "name=\"isSmallPackets\"\svalue=\"([^\"]*)\""; $matches = ''; preg_match("/$regexp/siU", $response, $matches); $isSmallPackets = $matches[1]; $nonDeliveryInstructions = ''; if ($delivery_country == 'US' || $delivery_country == 'CA') { $nonDeliveryInstructions = 'RETSUR'; // return via surface } else { $nonDeliveryInstructions = 'RETAIR'; // return via air } //// Please help!
  6. Hello, I've looked and can't seem to find a contribution that will give Attributes quantities and then show the customer if the store is sold out of that contribution, let's say a size is sold out, the client can't order this size. If anyone can help me with this it would be greatly appreciated. Thanks
  7. oyb

    Canadapost error

    So I installed your version 1.2 and it works, I would like to be able to a comments field to send more information than just the tracking number to my clients. Thanks for you help :)
  8. oyb

    Canadapost error

    Sorry for cross posting... I did check for browser cookies in both FireFox and IE and neither work. The version 2 of the contribution has additional features (input boxes) which I like. I really appreciate your help btw
  9. oyb

    Canadapost error

    Step 1. Initialized. [url="https://sso-cal.canadapost-postescanada.ca/sso/login/redirect"]https://sso-cal.canadapost-postescanada.ca/.../login/redirect[/url] HTTP/1.1 200 OK Date: Tue, 27 Jan 2009 19:25:54 GMT Content-Length: 706 Expires: Thu, 01 Jan 1970 00:00:00 GMT Cache-Control: no-cache, no-store <html><body> <form name=Login action="/sso/login.jsp?~language=EN" method=POST> <input type=hidden name="locale" value="en_CA"> <input type=hidden name="~language" value="EN"> <input type=hidden name="formId" value="110"> <input type=hidden name="SSO_CUSTOMER_NUMBER" value="*******,"> <input type=hidden name="SSO_VERSION_MAJOR" value="3"> <input type=hidden name="SSO_VERSION_MINOR" value="0"> <input type=hidden name="SSO_VERSION_MICRO" value="0"> <input type=hidden name="SSO_VERSION" value="3.0.0"> <input type=hidden name="SSO_PASSWORD" value="******"> <input type="hidden" name="APP_ID" value="B2B"></form> <script>document.forms[0].submit();</script> </body></html> Step 2. Logged In. [url="https://sso-cal.canadapost-postescanada.ca"]https://sso-cal.canadapost-postescanada.ca[/url] HTTP/1.1 404 Not Found Date: Tue, 27 Jan 2009 19:25:55 GMT Content-Length: 1214 Content-Type: text/html Connection: close <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Draft//EN"> <HTML> <HEAD> <TITLE>Error 404--Not Found</TITLE> <META NAME="GENERATOR" CONTENT="WebLogic Server"> </HEAD> <BODY bgcolor="white"> <FONT FACE=Helvetica><BR CLEAR=all> <TABLE border=0 cellspacing=5><TR><TD><BR CLEAR=all> <FONT FACE="Helvetica" COLOR="black" SIZE="3"><H2>Error 404--Not Found</H2> </FONT></TD></TR> </TABLE> <TABLE border=0 width=100% cellpadding=10><TR><TD VALIGN=top WIDTH=100% BGCOLOR=white><FONT FACE="Courier New"><FONT FACE="Helvetica" SIZE="3"><H3>From RFC 2068 <i>Hypertext Transfer Protocol -- HTTP/1.1</i>:</H3> </FONT><FONT FACE="Helvetica" SIZE="3"><H4>10.4.5 404 Not Found</H4> </FONT><P><FONT FACE="Courier New">The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.</p><p>If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address.</FONT></P> </FONT></TD></TR> </TABLE> </BODY> </HTML> Step 3. Error: Failed check in /home/oybc9351/public_html/shop/admin/includes/languages/english/ship_canadapost.php at line 10. This most likely means that Canada Post has changed their user interface. You need to update your Canada Post Automatic Shipping Labels module. By the looks of it, it seems like the https://sso-cal.canadapost-postescanada.ca is an invalid address, as if you type it in it will give you an error message just in your browser... is that not what it should be in the ajax file?
  10. oyb

    Canadapost error

    I did have the folder under admin/temp and it was set with 777 as permissions, so I changed the path to be that in the ajax file... Now I get to step 3 and then it stops after the login; Progress Indicator Step 1. Initialized. Step 2. Logged In. Step 3. Error: Failed check in /home/oybc9351/public_html/shop/admin/includes/languages/english/ship_canadapost.php at line 9. This most likely means that Canada Post has changed their user interface. You need to update your Canada Post Automatic Shipping Labels module.
  11. oyb

    Canadapost error

    Ok I got the dump but I don't know what I'm looking for in the file.
  12. oyb

    Canadapost error

    I'm getting the same error message and can't seem to find where things are going wrong. Any help would be appreciated
  13. All I keep getting is; Progress Indicator Step 1. Initialized. Step 2. Error: Failed check in /home/name/public_html/shop/admin/includes/languages/english/ship_canadapost.php at line 9. This most likely means that Canada Post has changed their user interface. You need to update your Canada Post Automatic Shipping Labels module. I have all the information that I think I need setup, I do have the Venture One account and I do have a ship online account. Where can it be going wrong? What can I do to try to resolve this? Any help is appreciated
  14. Hello, I have installed the All Products V3.0 on my website but when I choose it to show me the table format instead of the column format it gives me that all of my products are $14.00 and then if I switch it to the column format I get the correct prices. I installed the contribution as it mentioned to do it. Someone please help me out with this. Thanks a millinob
×