Thread: AUSTPost module

Page 13 of 33 FirstFirst ... 3111213141523 ... LastLast
Results 121 to 130 of 321
  1. #121
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: AUSTPost module

    Quote Originally Posted by marknew View Post
    changed that. Now for one product I get;
    <snip>
    Excellent. Just what I was hoping for. :-)

    If not immediately obvious to you, when using the austpost.vcsweb.com server you are only getting the 'fixed price' quotations (prepaid satchels, etc). When using the drc.edeliver server you are only getting the variable rate items (parcel post).

    Normal operation is for the austpost.vcsweb.com server perform a redirect for the parcel post calculations, and apparently your host/server is restricting this action.

    You can get around this rather easily.

    Firstly, modifying the same file as before, put the
    SERVER = line back to how it was (http://austpost.vcsweb.com).

    Next: Scroll down about a page until you see a rather large block of code commented out.
    Either immediately before or immediately after this block (not really important) add another line of code to redefine the server to be used.
    Namely, a copy of the currently modified line.

    In short, you'll end up with two "SERVER =" definition lines.
    The 1st pointing to vcsweb.com (for the prepaid satchels, insurance rates, etc), the second pointing to the drc.edeliver server for the costings.

    Cheers
    Rod

  2. #122
    Join Date
    Oct 2005
    Posts
    286
    Plugin Contributions
    0

    Default Re: AUSTPost module

    I've put that in but seem to be back the the start. Myabe I've put the 2nd server in the wrong place.

    1 prod:

    Australia Post 5 - Incl $0.00 P&H. $5.30
    Australia Post 2 - Incl $0.00 P&H. $7.40


    4 products:

    Australia PostERROR:Unable to obtain a valid quote from the Australia Post Server.
    You may still checkout using this method and we will contact you with postage costs as soon as possible. $0.00

    line 137 -

    foreach($Fees as $key => $value) {
    $x = split('=', $value) ;
    $$x[0] = $x[1] ;
    }

    //new server coed fix


    $SERVER = "http://drc.edeliver.com.au" ;






    // Uncomment the lines below to override values from the vcsweb.com server
    // Fees as of December 2007
    // $costPrePaid3k=9.30 ;
    // $costPrePaid500g=5.30 ;
    // $costPrePaidExp3k=10.50 ;
    // $costPrePaidExp500g=7.40 ;
    // $costCOD=9.30 ;
    // $costREGaus=2.70 ;
    // $costREGints=10.85 ;
    // $costREGintl=17.50 ;
    // $costLETaus=50,1.00,1.45,2.45 ;
    // $costLETint=1.95,3.85,5.80,11.60 ;
    // $costINS=1.20,1.20,5.50,2.00 ;
    //
    // If reguired you can also adjust the server given fixed prices. eg:
    // $costCOD=$costCOD+2.50 ; // add $2.50 to the cost of COD charge.


    $aus_rate = $currencies->get_value(AUD) ;
    $xchange = $currencies->get_value($_SESSION['currency']) ;

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

    Default Re: AUSTPost module

    Quote Originally Posted by marknew View Post
    I've put that in but seem to be back the the start. Myabe I've put the 2nd server in the wrong place.
    Well, you *did* put it where I told you, but I do tend to agree, it must be in the wrong place.

    Further down in the code (around line 400-500) you should find another line that reads"

    $SERVER = $SERVER."ratecalc.asp........"

    Try adding the new server definition immediately before this line.

    Oh, may not need to do that... I just noticed that as it stands it'll be missing the "/", so please ensure that BOTH your server definitions end with this slash (if it appears to be working without it it is probably using cached data).

    ie: $SERVER = "http://drc.edeliver.com.au/" ; and
    $SERVER = "http://austpost.vcsweb.com/" ;

    Cheers
    Rod

  4. #124
    Join Date
    Oct 2005
    Posts
    286
    Plugin Contributions
    0

    Default Re: AUSTPost module

    It's working! I have checked it against Aust Post and it's almost right.
    It still seems to be a little under.

    500gm satchel estimator says $5.30 Australia Post site says $5.50.

    I can easily add a handling cost to cover that unless you have an idea why it's undercharging slightly?

    thanks Rod

    Cheers,
    Mark.

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

    Default Re: AUSTPost module

    Quote Originally Posted by marknew View Post
    It's working!
    I can easily add a handling cost to cover that unless you have an idea why it's undercharging slightly?
    That's now fixed. :-)

    Cheers
    Rod

  6. #126
    Join Date
    Apr 2008
    Posts
    129
    Plugin Contributions
    0

    Default Re: AUSTPost module

    Hey Rod,
    Would the above work with the problem I have had with the regular parcels?

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

    Default Re: AUSTPost module

    Quote Originally Posted by imperialis View Post
    Hey Rod,
    Would the above work with the problem I have had with the regular parcels?
    I had to go back through this thread to see exactly what your problem is/was, and from the looks of things, yes, you do seem to be having the same problem as mark, in that your isp/server is dissallowing scripted redirects. Therefore the 'cure' will be the same for you as it was for mark, namely, add a new $SERVER definition that points directly to the drc server.

    Cheers
    Rod.

  8. #128
    Join Date
    Jul 2008
    Location
    Sydney, Australia
    Posts
    171
    Plugin Contributions
    0

    Default Re: AUSTPost module

    Originally Posted by IanP
    Well, the best laid plans of men and mice. I calculated the ratio of the difference to the zancart/austpost answer and came up with a nearly constant 24%. Funny, then I realized, Currency!!!. Made the Aussie $ the default currency and did a currency update and BINGO it works. I hope this helps others who may be puzzled by this.

    Cheers,

    Ian

    What a great find. Well done. This particular problem really did have me stumped. Currency was the one thing I hadn't thought of. <duh>

    Hopefully if annav is still following this thread she can confirm that hers is also the same problem.

    Cheers
    Rod



    Hi, yes I'm still watching this thread! I changed the default currency to AUD in my admin (still not calculating right though) but what is a currency update (obviously this is not done yet, so maybe that's why it's not right yet). How do you do the currency update and where?

    Thanks
    Anna

  9. #129
    Join Date
    Jul 2008
    Location
    Sydney, Australia
    Posts
    171
    Plugin Contributions
    0

    Default Re: AUSTPost module

    Oops, I also forgot. I want to have bank deposit as an option as well and I downloaded the mod for it a couple of weeks ago, but in what file do you upload it?

    And also when it has been uploaded, once a customer goes through checkout they will obviously get the option whether to pay by paypal or bank deposit?

    Thanks
    Anna

  10. #130
    Join Date
    Jul 2008
    Location
    Sydney, Australia
    Posts
    171
    Plugin Contributions
    0

    Default Re: AUSTPost module

    WOOHOO!! Aust Post calculator is working perfectly!!

    Thanks for the info regarding changing the default currency.

    BTW I found the the currency update button (duh! I'm so blind lol).


    Cheers
    Anna

 

 
Page 13 of 33 FirstFirst ... 3111213141523 ... LastLast

Similar Threads

  1. Austpost module v 3.02
    By pchappy in forum Addon Shipping Modules
    Replies: 1
    Last Post: 23 Feb 2009, 02:41 PM
  2. Austpost module
    By crankyvirgo in forum Addon Shipping Modules
    Replies: 1
    Last Post: 15 Apr 2008, 05:51 AM
  3. AustPost Module Logos
    By tannersports in forum Built-in Shipping and Payment Modules
    Replies: 11
    Last Post: 20 Mar 2008, 07:25 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