Page 159 of 226 FirstFirst ... 59109149157158159160161169209 ... LastLast
Results 1,581 to 1,590 of 2252
  1. #1581
    Join Date
    Feb 2010
    Posts
    26
    Plugin Contributions
    0

    Default Re: ozpost shipping module

    Hi Rod,

    Sorry I've been away for a week.
    Ok I added that line of code reuploaded it and went to estimate shipping in my shopping cart (is that right?)

    I've added a screen shot of the shipping estimation as well as the final checkout screen again. I also tried the localisation currency setting. I had code AUS in there for australian dollar I tried changing that to AUD but got a message when I hit update saying Warning: The primary exchange rate server (oanda) failed for Australian (AUD) - trying the secondary exchange rate server.
    Error Error: The exchange rate for Australian (AUD) was not updated via xe. Is it a valid currency code?

    However changing it back to AUS it updates fine. I've alse included a screen shot of that.

    https://donohues.com.au/images/est.png
    https://donohues.com.au/images/est2.png
    https://donohues.com.au/images/est3.png
    https://donohues.com.au/images/est4.png
    https://donohues.com.au/images/est5.png

    cheers mate

  2. #1582
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: ozpost shipping module

    Quote Originally Posted by makatak88 View Post
    currency setting. I had code AUS in there for australian dollar I tried changing that to AUD but got a message when I hit update saying Warning: The primary exchange rate server (oanda) failed for Australian (AUD) - trying the secondary exchange rate server.
    Ignore this warning. This is your base currency. It is always going to be 1.00000

    Besides that, your screenshot shows that this is the only currency that you offer, so there is no point in updating the exchange rates anyway.

    If you wish the ozpost module to work with the AUS code
    please re-edit the file
    /includes/modules/shipping/ozpost.php and change line #188
    from:
    $aus_rate = (float)$currencies->get_value(AUD) ;
    to
    $aus_rate = (float)$currencies->get_value(AUS) ;

    Resave, and all should be fine.

    AUS is the ISO-3 country code for Australia, but both xe.com and oanda both seem to prefer AUD (although xe.com does work with either these days).
    Both of these exchange servers appear to be terribly unreliable, with oander a lot worse than xe.com - In fact I've not had a succesful response from oander all afternoon.

    Although both codes appear to be acceptable, the zencart install scripts always initialise the code to 'AUD' (which is also why the ozpost module also expects AUD), and I further suspect very few people (if any) have had good reason to change it, as you have done.

    I'll add code to the next ozpost release so that it will accept either format... in fact I'm going to take it one step further and if neither of these codes are found it will automatically default to "1.00000", that'll prevent problems if/when someone ever decided to enter 'AU' or 'aus' or 'aud', or any similar variant (that may or may not work with the exchange servers). It will prevent ozpost from giving $0.00 quotes though.

    Cheers
    Rod

  3. #1583
    Join Date
    Feb 2010
    Posts
    26
    Plugin Contributions
    0

    Default Re: ozpost shipping module

    rod ,

    im so close now. that almost completly worked as all the correct money now shows for postage. except when i try to checkout i get a blank page with this :
    http://www.donohues.com.au/images/err.png

    as soon as i hit refresh its all everything shows up correctly.

    soooooo close

    sorry to keep bugging you.

    mak

  4. #1584
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: ozpost shipping module

    Quote Originally Posted by makatak88 View Post
    when i try to checkout i get a blank page with this :
    http://www.donohues.com.au/images/err.png
    as soon as i hit refresh its all everything shows up correctly.
    Try disabling the debug output, it is probably messing with things at this point.

    Also, what web-browser are you using? (It may or may not be relevant/important).

    Cheers
    Rod

  5. #1585
    Join Date
    Feb 2010
    Posts
    26
    Plugin Contributions
    0

    Default Re: ozpost shipping module

    disabled debug and tested in both firefox and safari. still no luck

  6. #1586
    Join Date
    Feb 2010
    Posts
    26
    Plugin Contributions
    0

    Default Re: ozpost shipping module

    until i hit refresh then its great! lol....sigh

  7. #1587
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: ozpost shipping module

    Quote Originally Posted by makatak88 View Post
    until i hit refresh then its great! lol....sigh
    Also, if you haven't already done so, you will need to undo the line of code that I asked you to add a few messages ago.


    -------------------------------------------------
    $_SESSION['ozpostQuotes'] = $this->quotes ; // save as session to avoid reprocessing when single method required
    print_r($this->quotes) ; exit ;
    return $this->quotes; // all done //
    -----------------------------------------------------

    Just delete the line
    print_r($this->quotes) ; exit ;


    Cheers
    Rod

  8. #1588
    Join Date
    Feb 2010
    Posts
    26
    Plugin Contributions
    0

    Default Re: ozpost shipping module

    brilliant 100%. thnx rod youre an absoulute gem mate

  9. #1589
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: ozpost shipping module

    Quote Originally Posted by makatak88 View Post
    thnx rod youre an absoulute gem mate
    http://www.thefreedictionary.com/GEM

    gem (jm)
    n.

    * A pearl or mineral that has been cut and polished for use as an ornament.

    * A type of muffin.

    Hmmmm.. okaaayyyy
    Cheers
    Rod

  10. #1590
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: ozpost shipping module

    There is also; "A person who is as brilliant and precious as a piece of jewellery."

    Gotta take those kind of compliments when the come as they are usually far and few between. A nice perk for your day, Rod, don't you think?

 

 

Similar Threads

  1. v151 Product dimensions revert to 0 - using ozpost module
    By mpforum in forum General Questions
    Replies: 8
    Last Post: 18 Apr 2014, 09:49 AM
  2. Ozpost and module help
    By janelle in forum Addon Shipping Modules
    Replies: 2
    Last Post: 15 Jun 2012, 09:19 AM
  3. Ozpost Combine shipping !! Possible ?
    By toytemple in forum Addon Shipping Modules
    Replies: 7
    Last Post: 21 Jan 2010, 02:22 PM
  4. ozpost module problems
    By hspark in forum Addon Shipping Modules
    Replies: 19
    Last Post: 7 Dec 2009, 12:44 PM
  5. store pick-ip in ozpost shipping module
    By lazerweb in forum Addon Shipping Modules
    Replies: 2
    Last Post: 29 Jul 2008, 05:04 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