Jump to content

JeffroDH

Members
  • Content count

    48
  • Joined

  • Last visited

2 Followers

Profile Information

  • Real Name
    Jeff Hogan
  • Gender
    Male
  1. JeffroDH

    USPS Rate V4, Intl Rate V2 (official support thread)

    @@kymation: After having reinstalled your latest file, I'm getting quotes for all of the shipping services. I'm not seeing any extra being added on for extra services, however. Really appreciate the hard work. You've saved my bacon. EDIT: Running 2.3.3 with fulluvscents' "Simple Checkout" Mod.
  2. JeffroDH

    USPS Rate V4, Intl Rate V2 (official support thread)

    @@wkdwich Any success with international rates?
  3. JeffroDH

    USPS Rate V4, Intl Rate V2 (official support thread)

    @@krdito - Make sure you completely uninstall the module, then update the file, then reinstall and update settings. Also, if you didn't start with this contribution, nobody has any way of knowing how your store is set up. This is the response I'm getting back from the USPS production server: Seems to be in order, but my brain is too tired to figure out why the international rates aren't displaying. EDIT: the random exclamation points + newline seem to be added by my email program. Request: API=IntlRateV2&XML=<IntlRateV2Request USERID="XXXXXXXXX"><Revision>2</Revision><Package ID="0"><Pounds>0</Pounds><Ounces>6</Ounces><MailType>All</MailType><GXG><POBoxFlag>N</POBoxFlag><GiftFlag>N</GiftFlag></GXG><ValueOfContents>10.99</ValueOfContents><Country>Australia</Country><Container>RECTANGULAR</Container><Size>LARGE</Size><Width>2</Width><Length>10</Length><Height>6</Height><Girth>0</Girth><OriginZip>52804</OriginZip><CommercialFlag>Y</CommercialFlag><ExtraServices><ExtraService>0</ExtraService><ExtraService>1</ExtraService><ExtraService>2</ExtraService><ExtraService>3</ExtraService><ExtraService>5</ExtraService><ExtraService>6</ExtraService></ExtraServices></Package></IntlRateV2Request> Response: <?xml version="1.0"?> <IntlRateV2Response><Package ID="0"><Prohibitions>Coins; bank notes; currency notes (paper money); securities of any kind payable to bearer; traveler's checks; platinum, gold, and silver (except for jewelry items meeting the requirement in "Restrictions",below); precious stones (except when contained in jewelry items meeting the requirement in "Restrictions",below); and other valuable articles are prohibited. Fruit cartons (used or new). Goods bearing the name "Anzac." Goods produced wholly or partly in prisons or by convict labor. Perishable infectious biological substances. Radioactive materials. Registered philatelic articles with fictitious addresses. Seditious literature. Silencers for firearms. Used bedding.</Prohibitions><Restrictions>Jewelry is permitted only when sent as an insured parcel using Priority Mail International service. In addition, Australian Customs regulations prohibit importation of jewelry that is made with ivory or from endangered species, such as snake, elephant, or crocodile, that does not have an accompanying Import/Export Permit in relation to the Convention on International Trade in Endangered Species of Wild Fauna and Flora (CITES). Meat and other animal products; powdered or concentrated milk; and other dairy products requires permission to import from the Australian quarantine authorities. Permission of the Australian Director-General of Health is required to import medicines.</Restrictions><Observations>Duty may be levied on catalogs, price lists, circulars, and all advertising introduced into Australia through the mail, regardless of the class of mail used.</Observations><CustomsForms>First-Class Mail International items and Priority Mail International Flat Rate Envelopes and Small Flat Rate Boxes: PS Form 2976 (see 123.61) Priority Mail International parcels: PS Form 2976-A inside 2976-E (envelope)</CustomsForms><ExpressMail>Country Code: AU Reciprocal Service Name: Express Post Required Customs Form/Endorsement 1. Business and commercial papers. No form required. Endorse item clearly next to mailing label as BUSINESS PAPERS. 2. Merchandise samples without commercial value microfilm, microfiche, and computer data. PS Form 2976-A, Customs Declaration and Dispatch Note CP 72, inside a PS Form 2976-E, Customs Declaration Envelope CP 91. 3. Merchandise and all articles subject to customs duty. PS Form 2976-A, Customs Declaration and Dispatch Note CP 72, inside a PS Form 2976-E, Customs Declaration Envelope CP 91. Note: 1. Coins; banknotes; currency notes, including paper money; securities of any kind payable to bearer; traveler's checks; platinum, gold, and silver; precious stones; jewelry; watches; and other valuable articles are prohibited in Priority Mail Express International shipments to Australia. 2. Priority Mail Express International With Guarantee service - which offers a date-certain, postage-refund guarantee - is available to Australia. Areas Served: All except Lord Howe Island and the Australian Antarctic territories.</ExpressMail><AreasServed>Please reference Express Mail for Areas Served.</AreasServed><AdditionalRestrictions>No Additional Restrictions Data found.</AdditionalRestrictions><Service ID="4"><Pounds>0</Pounds><Ounces>6</Ounces><MailType>All</MailType><GXG><POBoxFlag>N</POBoxFlag><GiftFlag>N</GiftFlag></GXG><Container>RECTANGULAR</Container><Size>LARGE</Size><Width>2</Width><Length>10</Length><Height>6</Height><Girth>0</Girth><Country>AUSTRALIA</Country><Postage>84.25</Postage><CommercialPostage>79.20</CommercialPostage><ExtraServices><ExtraService><ServiceID>1</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><OnlineAvailable>True</OnlineAvailable><Price>1.00</Price><PriceOnline>1.00</PriceOnline><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService></ExtraServices><ValueOfContents>10.99</ValueOfContents><SvcCommitments>1 - 3 business days</SvcCommitments><SvcDescription>Global Express GuaranteedRM (GXG)**</SvcDescription><MaxDimensions>Max. length 46" width 35" height 46",and max. length plus girth combined 108"</MaxDimensions><MaxWeight>70</MaxWeight><GXGLocations><PostOffice><Name>HY-VEE STORE #1109 - DAVENPORT #5</Name><Address>2351 W LOCUST ST</Address><City>DAVENPORT</City><State>IA</State><ZipCode></ZipCode><RetailGXGCutOffTime>5:10 PM</RetailGXGCutOffTime><SaturDayCutOffTime>1:10 PM</SaturDayCutOffTime></PostOffice></GXGLocations></Service><Service ID="12"><Pounds>0</Pounds><Ounces>6</Ounces><MailType>All</MailType><Container>RECTANGULAR</Container><Size>LARGE</Size><Width>2</Width><Length>10</Length><Height>6</Height><Girth>0</Girth><Country>AUSTRALIA</Country><Postage>74.00</Postage><CommercialPostage>70.30</CommercialPostage><ExtraServices><ExtraService><ServiceID>1</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><OnlineAvailable>True</OnlineAvailable><Price>1.00</Price><PriceOnline>1.00</PriceOnline><DeclaredValueRequired>True</DeclaredValueRequir! ed></ExtraService></ExtraServices><ValueOfContents>10.99</ValueOfContents><SvcCommitments>1 - 3 business days</SvcCommitments><SvcDescription>USPS GXGTM Envelopes**</SvcDescription><MaxDimensions>USPS-Produced regular size cardboard envelope (12-1/2",x 9-1/2"), the legal-sized cardboard envelope (15",x 9-1/2") and the GXG Tyvek envelope (15-1/2",x 12-1/2")</MaxDimensions><MaxWeight>70</MaxWeight><GXGLocations><PostOffice><Name>HY-VEE STORE #1109 - DAVENPORT #5</Name><Address>2351 W LOCUST ST</Address><City>DAVENPORT</City><State>IA</State><ZipCode></ZipCode><RetailGXGCutOffTime>5:10 PM</RetailGXGCutOffTime><SaturDayCutOffTime>1:10 PM</SaturDayCutOffTime></PostOffice></GXGLocations></Service><Service ID="1"><Pounds>0</Pounds><Ounces>6</Ounces><MailType>All</MailType><Container>RECTANGULAR</Container><Size>LARGE</Size><Width>2</Width><Length>10</Length><Height>6</Height><Girth>0</Girth><Country>AUSTRALIA</Country><Postage>52.00</Postage><CommercialPostage>49.92</CommercialPostage><ExtraServices><ExtraService><ServiceID>1</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><OnlineAvailable>True</OnlineAvailable><Price>2.35</Price><PriceOnline>2.35</PriceOnline><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService></ExtraServices><ValueOfContents>10.99</ValueOfContents><SvcCommitments>3 - 5 business days</SvcCommitments><SvcDescription>Priority Mail Express InternationalTM</SvcDescription><MaxDimensions>Max. length 36" max. length plus girth 79"</MaxDimensions><MaxWeight>44</MaxWeight></Service><Service ID="26"><Pounds>0</Pounds><Ounces>6</Ounces><MailType>All</MailType><Container>RECTANGULAR</Container><Size>LARGE</Size><Width>2</Width><Length>10</Length><Height>6</Height><Girth>0</Girth><Country>AUSTRALIA</Country><Postage>79.95</Postage><CommercialPostage>79.95</CommercialPostage><ExtraServices><ExtraService><ServiceID>1</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><OnlineAvailable>True</OnlineAvailable><Price>2.35</Price! <PriceOn! line>2.35</PriceOnline><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService></ExtraServices><ValueOfContents>10.99</ValueOfContents><SvcCommitments>3 - 5 business days</SvcCommitments><SvcDescription>Priority Mail Express InternationalTM Flat Rate Boxes</SvcDescription><MaxDimensions>USPS-Produced Box: 13-5/8",x 11-7/8",x 3-3/8",or 11",x 8-1/2",x 5-1/2"BREAKMaximum weight 20 pounds.</MaxDimensions><MaxWeight>20</MaxWeight></Service><Service ID="10"><Pounds>0</Pounds><Ounces>6</Ounces><MailType>All</MailType><Container>RECTANGULAR</Container><Size>LARGE</Size><Width>2</Width><Length>10</Length><Height>6</Height><Girth>0</Girth><Country>AUSTRALIA</Country><Postage>44.95</Postage><CommercialPostage>44.95</CommercialPostage><ExtraServices><ExtraService><ServiceID>1</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><OnlineAvailable>True</OnlineAvailable><Price>2.35</Price><PriceOnline>2.35</PriceOnline><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService></ExtraServices><ValueOfContents>10.99</ValueOfContents><SvcCommitments>3 - 5 business days</SvcCommitments><SvcDescription>Priority Mail Express InternationalTM Flat Rate Envelope</SvcDescription><MaxDimensions>USPS-Produced Envelope: 12-1/2",x 9-1/2"BREAKMaximum weight 4 pounds.</MaxDimensions><MaxWeight>4</MaxWeight></Service><Service ID="17"><Pounds>0</Pounds><Ounces>6</Ounces><MailType>All</MailType><Container>RECTANGULAR</Container><Size>LARGE</Size><Width>2</Width><Length>10</Length><Height>6</Height><Girth>0</Girth><Country>AUSTRALIA</Country><Postage>44.95</Postage><CommercialPostage>44.95</CommercialPostage><ExtraServices><ExtraService><ServiceID>1</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><OnlineAvailable>True</OnlineAvailable><Price>2.35</Price><PriceOnline>2.35</PriceOnline><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService></ExtraServices><ValueOfContents>10.99</ValueOfContents><SvcCommitments>3 - 5 business d! ays</SvcC! ommitments><SvcDescription>Priority Mail Express InternationalTM Legal Flat Rate Envelope</SvcDescription><MaxDimensions>USPS-Produced Envelope: 15",x 9-1/2"BREAKMaximum weight 4 pounds.</MaxDimensions><MaxWeight>4</MaxWeight></Service><Service ID="27"><Pounds>0</Pounds><Ounces>6</Ounces><MailType>All</MailType><Container>RECTANGULAR</Container><Size>LARGE</Size><Width>2</Width><Length>10</Length><Height>6</Height><Girth>0</Girth><Country>AUSTRALIA</Country><Postage>44.95</Postage><CommercialPostage>44.95</CommercialPostage><ExtraServices><ExtraService><ServiceID>1</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><OnlineAvailable>True</OnlineAvailable><Price>2.35</Price><PriceOnline>2.35</PriceOnline><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService></ExtraServices><ValueOfContents>10.99</ValueOfContents><SvcCommitments>3 - 5 business days</SvcCommitments><SvcDescription>Priority Mail Express InternationalTM Padded Flat Rate Envelope</SvcDescription><MaxDimensions>USPS-Produced Envelope: 12-1/2",x 9-1/2"BREAKMaximum weight 4 pounds.</MaxDimensions><MaxWeight>4</MaxWeight></Service><Service ID="2"><Pounds>0</Pounds><Ounces>6</Ounces><MailType>All</MailType><Container>RECTANGULAR</Container><Size>LARGE</Size><Width>2</Width><Length>10</Length><Height>6</Height><Girth>0</Girth><Country>AUSTRALIA</Country><Postage>39.95</Postage><CommercialPostage>38.75</CommercialPostage><ExtraServices><ExtraService><ServiceID>1</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><OnlineAvailable>True</OnlineAvailable><Price>2.45</Price><PriceOnline>2.45</PriceOnline><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService><ExtraService><ServiceID>6</ServiceID><ServiceName>Certificate of Mailing</ServiceName><Available>True</Available><OnlineAvailable>False</OnlineAvailable><Price>1.20</Price><PriceOnline>0</PriceOnline></ExtraService></ExtraServices><ValueOfContents>10.99</ValueOfContents><ParcelIndemnityCoverage>10.99</ParcelIndem! nityCover! age><SvcCommitments>6 - 10 business days</SvcCommitments><SvcDescription>Priority Mail InternationalRM</SvcDescription><MaxDimensions>Max. length 42" max. length plus girth combined 79"</MaxDimensions><MaxWeight>66</MaxWeight></Service><Service ID="11"><Pounds>0</Pounds><Ounces>6</Ounces><MailType>All</MailType><Container>RECTANGULAR</Container><Size>LARGE</Size><Width>2</Width><Length>10</Length><Height>6</Height><Girth>0</Girth><Country>AUSTRALIA</Country><Postage>77.95</Postage><CommercialPostage>77.95</CommercialPostage><ExtraServices><ExtraService><ServiceID>1</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><OnlineAvailable>True</OnlineAvailable><Price>2.45</Price><PriceOnline>2.45</PriceOnline><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService><ExtraService><ServiceID>6</ServiceID><ServiceName>Certificate of Mailing</ServiceName><Available>True</Available><OnlineAvailable>False</OnlineAvailable><Price>1.20</Price><PriceOnline>0</PriceOnline></ExtraService></ExtraServices><ValueOfContents>10.99</ValueOfContents><ParcelIndemnityCoverage>10.99</ParcelIndemnityCoverage><SvcCommitments>6 - 10 business days</SvcCommitments><SvcDescription>Priority Mail InternationalRM Large Flat Rate Box</SvcDescription><MaxDimensions>USPS-Produced Box: 23-11/16",x 11-3/4",x 3",or 12",x 12",x 5-1/2"BREAKMaximum weight 20 pounds.</MaxDimensions><MaxWeight>20</MaxWeight></Service><Service ID="9"><Pounds>0</Pounds><Ounces>6</Ounces><MailType>All</MailType><Container>RECTANGULAR</Container><Size>LARGE</Size><Width>2</Width><Length>10</Length><Height>6</Height><Girth>0</Girth><Country>AUSTRALIA</Country><Postage>59.95</Postage><CommercialPostage>59.95</CommercialPostage><ExtraServices><ExtraService><ServiceID>1</ServiceID><ServiceName>Insurance</ServiceName><Available>True</Available><OnlineAvailable>True</OnlineAvailable><Price>2.45</Price><PriceOnline>2.45</PriceOnline><DeclaredValueRequired>True</DeclaredValueRequired></ExtraService><ExtraService! <Service! ID>6</ServiceID><ServiceName>Certificate of Mailing</ServiceName><Available>True</Available><OnlineAvailable>False</OnlineAvailable><Price>1.20</Price><PriceOnline>0</PriceOnline></ExtraService></ExtraServices><ValueOfContents>10.99</ValueOfContents><ParcelIndemnityCoverage>10.99</ParcelIndemnityCoverage><SvcCommitments>6 - 10 business days</SvcCommitments><SvcDescription>Priority Mail InternationalRM Medium Flat Rate Box</SvcDescription><MaxDimensions>USPS-Produced Box: 13-5/8",x 11-7/8",x 3-3/8",or 11",x 8-1/2",x 5-1/2"BREAKMaximum weight 20 pounds.</MaxDimensions><MaxWeight>20</MaxWeight></Service><Service ID="8"><Pounds>0</Pounds><Ounces>6</Ounces><MailType>All</MailType><Container>RECTANGULAR</Container><Size>LARGE</Size><Width>2</Width><Length>10</Length><Height>6</Height><Girth>0</Girth><Country>AUSTRALIA</Country><Postage>23.95</Postage><CommercialPostage>23.95</CommercialPostage><ExtraServices><ExtraService><ServiceID>0</ServiceID><ServiceName>Registered Mail</ServiceName><Available>True</Available><OnlineAvailable>False</OnlineAvailable><Price>12.95</Price><PriceOnline>0</PriceOnline></ExtraService><ExtraService><ServiceID>2</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><OnlineAvailable>False</OnlineAvailable><Price>3.50</Price><PriceOnline>0</PriceOnline></ExtraService><ExtraService><ServiceID>9</ServiceID><ServiceName>Electronic USPS Delivery Confirmation International</ServiceName><Available>False</Available><OnlineAvailable>True</OnlineAvailable><Price>0</Price><PriceOnline>0.00</PriceOnline></ExtraService></ExtraServices><ValueOfContents>10.99</ValueOfContents><InsComment>SERVICE</InsComment><SvcCommitments>6 - 10 business days</SvcCommitments><SvcDescription>Priority Mail InternationalRM Flat Rate Envelope**</SvcDescription><MaxDimensions>USPS-Produced Envelope: 12-1/2",x 9-1/2"BREAKMaximum weight 4 pounds.</MaxDimensions><MaxWeight>4</MaxWeight></Service><Service ID="22"><Pounds>0</Pounds><Ounces>6</Ounces><MailTyp! e>All</Ma! ilType><Container>RECTANGULAR</Container><Size>LARGE</Size><Width>2</Width><Length>10</Length><Height>6</Height><Girth>0</Girth><Country>AUSTRALIA</Country><Postage>23.95</Postage><CommercialPostage>23.95</CommercialPostage><ExtraServices><ExtraService><ServiceID>0</ServiceID><ServiceName>Registered Mail</ServiceName><Available>True</Available><OnlineAvailable>False</OnlineAvailable><Price>12.95</Price><PriceOnline>0</PriceOnline></ExtraService><ExtraService><ServiceID>2</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><OnlineAvailable>False</OnlineAvailable><Price>3.50</Price><PriceOnline>0</PriceOnline></ExtraService><ExtraService><ServiceID>9</ServiceID><ServiceName>Electronic USPS Delivery Confirmation International</ServiceName><Available>False</Available><OnlineAvailable>True</OnlineAvailable><Price>0</Price><PriceOnline>0.00</PriceOnline></ExtraService></ExtraServices><ValueOfContents>10.99</ValueOfContents><InsComment>SERVICE</InsComment><SvcCommitments>6 - 10 business days</SvcCommitments><SvcDescription>Priority Mail InternationalRM Legal Flat Rate Envelope**</SvcDescription><MaxDimensions>USPS-Produced Envelope: 15",x 9-1/2"BREAKMaximum weight 4 pounds.</MaxDimensions><MaxWeight>4</MaxWeight></Service><Service ID="23"><Pounds>0</Pounds><Ounces>6</Ounces><MailType>All</MailType><Container>RECTANGULAR</Container><Size>LARGE</Size><Width>2</Width><Length>10</Length><Height>6</Height><Girth>0</Girth><Country>AUSTRALIA</Country><Postage>23.95</Postage><CommercialPostage>23.95</CommercialPostage><ExtraServices><ExtraService><ServiceID>0</ServiceID><ServiceName>Registered Mail</ServiceName><Available>True</Available><OnlineAvailable>False</OnlineAvailable><Price>12.95</Price><PriceOnline>0</PriceOnline></ExtraService><ExtraService><ServiceID>2</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><OnlineAvailable>False</OnlineAvailable><Price>3.50</Price><PriceOnline>0</PriceOnline></ExtraService><ExtraService><ServiceID>9</ServiceID><! ServiceNa! me>Electronic USPS Delivery Confirmation International</ServiceName><Available>False</Available><OnlineAvailable>True</OnlineAvailable><Price>0</Price><PriceOnline>0.00</PriceOnline></ExtraService></ExtraServices><ValueOfContents>10.99</ValueOfContents><InsComment>SERVICE</InsComment><SvcCommitments>6 - 10 business days</SvcCommitments><SvcDescription>Priority Mail InternationalRM Padded Flat Rate Envelope**</SvcDescription><MaxDimensions>USPS-Produced Envelope: 12-1/2",x 9-1/2"BREAKMaximum weight 4 pounds.</MaxDimensions><MaxWeight>4</MaxWeight></Service><Service ID="18"><Pounds>0</Pounds><Ounces>6</Ounces><MailType>All</MailType><Container>RECTANGULAR</Container><Size>LARGE</Size><Width>2</Width><Length>10</Length><Height>6</Height><Girth>0</Girth><Country>AUSTRALIA</Country><Postage>23.95</Postage><CommercialPostage>23.95</CommercialPostage><ExtraServices><ExtraService><ServiceID>0</ServiceID><ServiceName>Registered Mail</ServiceName><Available>True</Available><OnlineAvailable>False</OnlineAvailable><Price>12.95</Price><PriceOnline>0</PriceOnline></ExtraService><ExtraService><ServiceID>2</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><OnlineAvailable>False</OnlineAvailable><Price>3.50</Price><PriceOnline>0</PriceOnline></ExtraService></ExtraServices><ValueOfContents>10.99</ValueOfContents><InsComment>SERVICE</InsComment><SvcCommitments>6 - 10 business days</SvcCommitments><SvcDescription>Priority Mail InternationalRM Gift Card Flat Rate Envelope**</SvcDescription><MaxDimensions>USPS-Produced Envelope: 10",x 7"BREAKMaximum weight 4 pounds.</MaxDimensions><MaxWeight>4</MaxWeight></Service><Service ID="20"><Pounds>0</Pounds><Ounces>6</Ounces><MailType>All</MailType><Container>RECTANGULAR</Container><Size>LARGE</Size><Width>2</Width><Length>10</Length><Height>6</Height><Girth>0</Girth><Country>AUSTRALIA</Country><Postage>23.95</Postage><CommercialPostage>23.95</CommercialPostage><ExtraServices><ExtraService><ServiceID>0</ServiceID><ServiceName>Registere! d Mail</S! erviceName><Available>True</Available><OnlineAvailable>False</OnlineAvailable><Price>12.95</Price><PriceOnline>0</PriceOnline></ExtraService><ExtraService><ServiceID>2</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><OnlineAvailable>False</OnlineAvailable><Price>3.50</Price><PriceOnline>0</PriceOnline></ExtraService><ExtraService><ServiceID>9</ServiceID><ServiceName>Electronic USPS Delivery Confirmation International</ServiceName><Available>False</Available><OnlineAvailable>True</OnlineAvailable><Price>0</Price><PriceOnline>0.00</PriceOnline></ExtraService></ExtraServices><ValueOfContents>10.99</ValueOfContents><InsComment>SERVICE</InsComment><SvcCommitments>6 - 10 business days</SvcCommitments><SvcDescription>Priority Mail InternationalRM Small Flat Rate Envelope**</SvcDescription><MaxDimensions>USPS-Produced Envelope: 10",x 6"BREAKMaximum weight 4 pounds.</MaxDimensions><MaxWeight>4</MaxWeight></Service><Service ID="19"><Pounds>0</Pounds><Ounces>6</Ounces><MailType>All</MailType><Container>RECTANGULAR</Container><Size>LARGE</Size><Width>2</Width><Length>10</Length><Height>6</Height><Girth>0</Girth><Country>AUSTRALIA</Country><Postage>23.95</Postage><CommercialPostage>23.95</CommercialPostage><ExtraServices><ExtraService><ServiceID>0</ServiceID><ServiceName>Registered Mail</ServiceName><Available>True</Available><OnlineAvailable>False</OnlineAvailable><Price>12.95</Price><PriceOnline>0</PriceOnline></ExtraService><ExtraService><ServiceID>2</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><OnlineAvailable>False</OnlineAvailable><Price>3.50</Price><PriceOnline>0</PriceOnline></ExtraService><ExtraService><ServiceID>9</ServiceID><ServiceName>Electronic USPS Delivery Confirmation International</ServiceName><Available>False</Available><OnlineAvailable>True</OnlineAvailable><Price>0</Price><PriceOnline>0.00</PriceOnline></ExtraService></ExtraServices><ValueOfContents>10.99</ValueOfContents><InsComment>SERVICE</InsComment><SvcCommitments>6 ! - 10 busi! ness days</SvcCommitments><SvcDescription>Priority Mail InternationalRM Window Flat Rate Envelope**</SvcDescription><MaxDimensions>USPS-Produced Envelope: 10",x 5"BREAKMaximum weight 4 pounds.</MaxDimensions><MaxWeight>4</MaxWeight></Service><Service ID="15"><Pounds>0</Pounds><Ounces>6</Ounces><MailType>All</MailType><Container>RECTANGULAR</Container><Size>LARGE</Size><Width>2</Width><Length>10</Length><Height>6</Height><Girth>0</Girth><Country>AUSTRALIA</Country><Postage>12.75</Postage><CommercialPostage>11.48</CommercialPostage><ExtraServices><ExtraService><ServiceID>0</ServiceID><ServiceName>Registered Mail</ServiceName><Available>True</Available><OnlineAvailable>False</OnlineAvailable><Price>12.95</Price><PriceOnline>0</PriceOnline></ExtraService><ExtraService><ServiceID>2</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><OnlineAvailable>False</OnlineAvailable><Price>3.50</Price><PriceOnline>0</PriceOnline></ExtraService><ExtraService><ServiceID>9</ServiceID><ServiceName>Electronic USPS Delivery Confirmation International</ServiceName><Available>False</Available><OnlineAvailable>True</OnlineAvailable><Price>0</Price><PriceOnline>0.00</PriceOnline></ExtraService></ExtraServices><ValueOfContents>10.99</ValueOfContents><InsComment>SERVICE</InsComment><SvcCommitments>Varies by destination</SvcCommitments><SvcDescription>First-Class Package International ServiceTM**</SvcDescription><MaxDimensions>Other than rolls: Max. length 24" max length, height and depth (thickness) combined 36"BREAKRolls: Max. length 36". Max length and twice the diameter combined 42"</MaxDimensions><MaxWeight>4</MaxWeight></Service><Service ID="14"><Pounds>0</Pounds><Ounces>6</Ounces><MailType>All</MailType><Container>RECTANGULAR</Container><Size>LARGE</Size><Width>2</Width><Length>10</Length><Height>6</Height><Girth>0</Girth><Country>AUSTRALIA</Country><Postage>6.30</Postage><CommercialPostage></CommercialPostage><ExtraServices><ExtraService><ServiceID>0</ServiceID><ServiceName>Re! gistered ! Mail</ServiceName><Available>True</Available><OnlineAvailable>False</OnlineAvailable><Price>12.95</Price><PriceOnline>0</PriceOnline></ExtraService><ExtraService><ServiceID>2</ServiceID><ServiceName>Return Receipt</ServiceName><Available>True</Available><OnlineAvailable>False</OnlineAvailable><Price>3.50</Price><PriceOnline>0</PriceOnline></ExtraService></ExtraServices><ValueOfContents>10.99</ValueOfContents><InsComment>SERVICE</InsComment><SvcCommitments>Varies by destination</SvcCommitments><SvcDescription>First-Class MailRM International Large Envelope**</SvcDescription><MaxDimensions>Max. length 15" height 12",or thickness 3/4"</MaxDimensions><MaxWeight>4</MaxWeight></Service></Package></IntlRateV2Response>
  4. JeffroDH

    USPS Rate V4, Intl Rate V2 (official support thread)

    @@kymation Thanks very much. I'm running 2.3.(3?) and installed your modded file, and it's a HUGE step in the right direction. I'm also using Jetta's Simple Checkout (FYI) and the international rates are not displaying. I'm looking into the issue right now. I just got USPS working correctly on an opencart store, so I just have to translate that into OsC. Let me know if I can be of any assistance in getting this sorted. I'll post my results.
  5. @@zigzac FWIW, I'm running into the same problem as well. On my site, it doesn't kill the checkout process or anything, but I'm trying to get the whole site debugged and free of errors and notices. Need a stable environment before I can start optimizing queries and the like. Let me know how you fare. Another error I'm running into here is a 'Cannot redeclare function()' that is referenced from template_top.php. I've found the block of code responsible, but can't seem to do anything about it and keep the page actually working. Anyone willing to shed some light??
  6. JeffroDH

    [Contribution] U HTML Emails

    @@Duroniel I'm using 2.3.1 and this is what my code looks like for that (around line 70 of the UHTMLemails/checkout_process.php): <a href="' . HTTP_SERVER . DIR_WS_CATALOG . '" style="text-decoration:none; color:#141d2b;font-family:Verdana, Geneva, sans-serif;font-size:1.875em;">' . tep_image(HTTP_SERVER . DIR_WS_CATALOG . DIR_WS_IMAGES.'store_logo.png', STORE_NAME, '', '', '') . 'Some text goes here</a> @@RickyGraham Find a page in the checkout flow that displays this information, and then look in the code for the variables called. Succinctly, you can call those variables within the HTML email and display them however you like. I'm posting because I found the problem with PayPal IPN. Again, I'm using 2.3.1. Here's the relevant code from the checkout_process.php: require(DIR_WS_LANGUAGES . $language . '/modules/UHtmlEmails/Standard/checkout_process.php'); The issue seems to be that this variable is empty when coming from PayPal IPN, so it's giving a weird path like /includes/languages//modules/etc... rather than /includes/languages/english(or whatever)/modules/etc... and throwing a HTTP 500 error in my local development environment. I've patched the problem like this: if (empty($language)) $language = 'english'; /* effectively defaults to 'english' in order to prevent errors with Paypal Standard IPN*/ /* TODO: figure out why PayPal Standard IPN is clearing this and $sess_discount_id before the email is sent */ require(DIR_WS_LANGUAGES . $language . '/modules/UHtmlEmails/Standard/checkout_process.php'); If anyone has any ideas about why $language might be empty only when coming from the PayPal IPN, please let me know. It's also affecting some other variables that I've inserted into the email (to modify item cost reflecting discount codes used, etc.). Hope this was helpful.
  7. JeffroDH

    USPS Rate V4, Intl Rate V2 (official support thread)

    @@bcleather Thanks for the insight. I'll double check all the settings @ Paypal and in Admin. Might it have something to do with the auto return URL? I was under the impression that Paypal Express didn't use this setting, but I'm open to anything at this point. EDIT: I checked my settings in PayPal and noticed that the Payment Data Transfer option was OFF. From the description, it sounds related to IPN, but the documentation is unclear. My return URL is set to http://domain.com/shop/checkout_process.php.
  8. @@CrazyCarzCustoms You've commented out that line of code incorrectly. Looks like that snippet may be within an HTML block. You'll need to use <!-- --> to encapsulate it.
  9. JeffroDH

    USPS Rate V4, Intl Rate V2 (official support thread)

    Good day. Something about the USPS module is still breaking the Paypal Express transaction. Scenario 1: Paypal Express and Free Shipping -> Checkout completes perfectly. Scenario 2: Paypal Express and USPS Shipping -> Paypal returns to checkout.php, site returns "cannot redeclare class (shipping)" when the continue button is clicked. Anyone provide some additional insight into the issue? It's extremely frustrating. EDIT: I should add that Paypal should return to checkout_success.php in scenario 2, after processing the payment. Thanks in advance!
  10. Alright, in the absence of any outside insight, I've managed to come up with a solution. I echoed a few of the variables involved in the discount code process, and found that the POST('discount_code') was being erased every time the page updated. $sess_discount_code, on the other hand was persistent throughout the process. The solution was to simply ensure that it was in the global scope, and then call it into the function in USPS.php. The relevant code: global $order, $shipping_weight, $sess_discount_code; //call discount code input from global scope in checkout.php $discount_ship_id = strtoupper($sess_discount_code); //format string to uppercase for comparison if ($order->delivery['country']['iso_code_2'] == 'US') { $ZipDestination = substr(str_replace(' ', '', $order->delivery['postcode']), 0, 5); $request = '<RateV4Request USERID="' . MODULE_SHIPPING_USPS_USERID . '">' . '<Revision>2</Revision>'; $package_count = 0; foreach(explode(', ', MODULE_SHIPPING_USPS_TYPES) as $request_type) { if(is_numeric($request_type) || preg_match('#International#' , $request_type)) continue; $FirstClassMailType = ''; $Container = 'VARIABLE'; if (preg_match('#First\-Class#', $request_type)) { if ($discount_ship_id != 'CLINICAL') continue; //If NOT Clinical then RETURN TO BEGINNING OF LOOP (will not display unless clinical) if ($shipping_weight > 13/16) continue; //IF PACKAGE > 13 OUNCES, RETURN TO BEGINNING OF LOOP (will not display unless <= 13 ounces) else { $service = 'First-Class Mail'; if ($request_type == 'First-Class MailRM Large Envelope') $FirstClassMailType = 'FLAT'; else $FirstClassMailType = 'PARCEL'; } } elseif ($request_type == 'Media MailRM') $service = 'MEDIA'; //DISPLAY PARCEL POST ONLY WITH CLINICAL DISCOUNTS elseif (($request_type == 'Parcel PostRM') && ($discount_ship_id == 'CLINICAL')) $service = 'PARCEL'; //Call Priority Mail if enabled and either elseif ((preg_match('#Priority MailRM#', $request_type)) && (($shipping_weight <= 13/16) && ($discount_ship_id != 'CLINICAL'))) { STUFF GOES HERE } elseif ((preg_match('#Priority MailRM#', $request_type)) && ($discount_ship_id == 'CLINICAL')) { Essentially, when the _POST['discount_code'] disappeared, whichever shipping option had been selected, assuming its initial display was dependent on said variable, was now hidden and undefined. Hence the interesting output. Now that the logical statements can be evaluated consistently throughout the process, all the shipping methods stay defined and it works! It's now 1:40AM CST, and I've got class for 12 hours tomorrow. Hope this is helpful to some, and if anyone has any comments or insights to offer, please do.
  11. Update: Any change of option on checkout.php hides the shipping options, and selecting the shipping options displayed in this manner gives an invalid order total and an odd output on the shipping line. Is there something wrong with these if/else statements, or is something about the page refresh on checkout.php giving me the issues?
  12. Alright, I got it sorted. The form where the user inputs the discount code uses POST, so I simply called the relevant variable in usps.php: global $order, $shipping_weight, $_POST; //Added the global POST, so that I can call the variable from form input on checkout.php $discount_ship_id = strtoupper($_POST['discount_code']); //Set variable, and format -> uppercase if ($order->delivery['country']['iso_code_2'] == 'US') { $ZipDestination = substr(str_replace(' ', '', $order->delivery['postcode']), 0, 5); $request = '<RateV4Request USERID="' . MODULE_SHIPPING_USPS_USERID . '">' . '<Revision>2</Revision>'; $package_count = 0; foreach(explode(', ', MODULE_SHIPPING_USPS_TYPES) as $request_type) { if(is_numeric($request_type) || preg_match('#International#' , $request_type)) continue; $FirstClassMailType = ''; $Container = 'VARIABLE'; if (preg_match('#First\-Class#', $request_type)) { if ($shipping_weight > 13/16) continue; //IF PACKAGE > 13 OUNCES, RETURN TO BEGINNING OF LOOP elseif ($discount_ship_id == 'CLINICAL') //DISPLAY FIRST CLASS WITH CLINICAL DISCOUNTS OR IF WEIGHT < 13 OUNCES !!IMPORTANT!! { $service = 'First-Class Mail'; if ($request_type == 'First-Class MailRM Large Envelope') $FirstClassMailType = 'FLAT'; else $FirstClassMailType = 'PARCEL'; } } elseif ($request_type == 'Media MailRM') $service = 'MEDIA'; //DISPLAY PARCEL POST ONLY WITH CLINICAL DISCOUNTS elseif (($request_type == 'Parcel PostRM') && ($discount_ship_id == 'CLINICAL')) $service = 'PARCEL'; //Call Priority Mail if enabled and either (shipping weight < 13 ounces AND discount code != CLINICAL) or (discount code == CLINICAL) elseif ((preg_match('#Priority MailRM#', $request_type)) && ((($shipping_weight < 13/16) && ($discount_ship_id != 'CLINICAL')) xor ($discount_ship_id == 'CLINICAL'))) 2 things still remain: Is there a more elegant way to come up with the same logical expressions? This is pretty hideous. Second, while it's technically functional, I'm getting some odd behavior in the checkout.php. The operators are designed to: case 1: Normal Customers - Hide Priority Mail when the cart weight is above 13 ounces. case 2: Wholesale Customers (customers who have input the clinical discount code) - Show Priority Mail at all times (when the weight permits) - Show Parcel Post at all times (when the weight permits) If the wholesale customer changes the item quantity while in checkout.php and the weight threshold is reached, the module hides both Priority Mail and Parcel Post until the 'Apply Discount' button is pressed again. Is there some issue with how I've written these if/else statements? Thanks in advance for the input!
  13. JeffroDH

    USPS Rate V4, Intl Rate V2 (official support thread)

    Good day, everyone! Working on solving a perplexing problem: Not getting any error messages with USPS, rates are calculating fine, getting sent to payment methods correctly, etc. However, when I select a USPS shipping method and attempt to pay with PayPal Express, I get dumped back to checkout.php rather than going through checkout_process.php. The payment doesn't process through PayPal, and the order doesn't end up in the database. I see some code at the end of paypal_express.php that seems to indicate that it will behave like this when there is a warning: if (($response_array['ACK'] != 'Success') && ($response_array['ACK'] != 'SuccessWithWarning')) { tep_redirect(tep_href_link(FILENAME_SHOPPING_CART, 'error_message=' . stripslashes($response_array['L_LONGMESSAGE0']), 'SSL')); } This code also seems to indicate that I'd see an error message of some sort, which I'm absolutely not getting, either in the URL or displayed on the page. I can verify that this is only an issue between the USPS module and Paypal Express, as the payment processes just fine when I select 'FREE Shipping' or use Authorize.net.
  14. Ok, I've figured out where the code needs to be, I'm just stuck trying to pass the appropriate variable to usps.php. Here's some of the pertinent code: In checkout.php //Attempting to prepare global discount variable for use in shipping module $discount_ship_id = strtoupper(tep_db_input($sess_discount_code)); /*EXCLUDE CLINICAL DISCOUNTS FROM FREE SHIPPING!!IMPORTANT!!*/ if (($free_shipping == true) && ($discount_ship_id != 'CLINICAL')) in usps.php: if ($shipping_weight > 13/16) continue; //IF PACKAGE > 13 OUNCES, RETURN TO BEGINNING OF LOOP elseif ($discount_ship_id == 'CLINICAL'); //DISPLAY FIRST CLASS ONLY WITH CLINICAL DISCOUNTS { $service = 'First-Class Mail'; if ($request_type == 'First-Class MailRM Large Envelope') $FirstClassMailType = 'FLAT'; else $FirstClassMailType = 'PARCEL'; } } elseif ($request_type == 'Media MailRM') $service = 'MEDIA'; //DISPLAY PARCEL POST ONLY WITH CLINICAL DISCOUNTS elseif (($request_type == 'Parcel PostRM') && ($discount_ship_id == 'CLINICAL')) $service = 'PARCEL'; elseif (preg_match('#Priority MailRM#', $request_type) && ($discount_ship_id == 'CLINICAL')) //Call Priority Mail if enabled and the CLINICAL discount code is used So to clarify - I'm trying to store $discount_ship_id from checkout.php and call it in usps.php so I can use it there. I've tried tep_session_register and return session_register, but I'm either not using them right, or they aren't the right function. Any help here would be incredible.
  15. Hello all, Another perplexing issue. I'm working with 2.3.1, and am using a discount codes add-on with USPS shipping. The store has been set up to allow free shipping on all orders to the United States. Current behavior: Displays 'Free Shipping', Priority Mail and Express mail to domestic customers until weight is above 13 ounces, then Priority Mail is hidden. If a wholesale customer uses the discount code 'Clinical', then 'Free Shipping' is hidden. What I'm trying to accomplish: I'd like to continue to hide 'Free Shipping' for wholesale customers, AND display Parcel Post, First Class Mail and Priority Mail to these customers whenever the package weight allows this method. The line of code I'm using to hide 'Free Shipping' for customers using the 'Clinical' discount code in checkout.php: if (($free_shipping == true) && (tep_db_input($sess_discount_code) != 'Clinical')) This works great. I can't figure out how to call the data I need into either my checkout.php or the usps.php to restrict display of First Class Mail, Parcel Post and Priority Mail for normal customers. The logic I'm wanting to use is: Unless you use this discount code, always hide parcel post and first class mail AND hide Priority Mail if cart weight > 13 ounces. (The bit after the AND is part of the normal behavior of the cart at the moment, FYI) Any direction would be fantastic. Thank you in advance, I'll provide more details as needed.
×