Australia Post Shipping Issue

edited February 2014 in Shopping Cart plugin
Hi there,

I have been trying to get Australia Post shipping set up with the Shopping Cart pluggin for a few days now, trying various settings and themes to see if I could work out what the issue is.

But whenever I fill out all the shipping information, Australia Post gives me the following screen:

image

Where it says to select the preferred shipping, there are no options, even with all, some, or individual options checked.

image

Domain: himaa2.org.au/store
Plugin: Shopping Cart V1.8
WP: 3.8

I have gone through all of the settings in the configurations and settings, changing one option at a time, as well as changing the theme several times just to make sure it wasn't a display issue.

I have also just created a generic shipping option, which is usable so it seems to just be Australia Post.

If possible, can anyone help?

Comments

  • 8 Comments sorted by
  • Vote Up0Vote Down
    Thank you for your message, Andrew.

    Please go to Checkout > Shipping Methods and edit the Australia Post shipping method and turn on the debugging setting and save the shipping method.

    It should then give you errors on the shipping step of checkout instead of just not displaying any shipping services/rates.

    Let me know what error messages you get, please.

    I look forward to your response.

    All the best,
    Antonie
  • Vote Up0Vote Down
    Sorry for the delay in response Antonie, too many other projects at work took lead. 

    The error messages I am getting in the shipping part of the page are: 

    Warning: Creating default object from empty value in/usr/home/himaao/www/htdocs/store/wp-content/plugins/wp-checkout/helpers/html.php on line 966

    Warning: file(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /usr/home/himaao/www/htdocs/store/wp-content/plugins/wp-checkout/vendors/shipping/class.auspost.php on line 162

    Warning: file(http://drc.edeliver.com.au/ratecalc.asp?Pickup_Postcode=2113&Destination_Postcode=2148&Country=AU&Weight=525000&Service_Type=STANDARD&Length=200&Width=200&Height=200&Quantity=1): failed to open stream: no suitable wrapper could be found in /usr/home/himaao/www/htdocs/store/wp-content/plugins/wp-checkout/vendors/shipping/class.auspost.php on line 162

    Warning: Invalid argument supplied for foreach() in/usr/home/himaao/www/htdocs/store/wp-content/plugins/wp-checkout/vendors/shipping/class.auspost.php on line 103

    Thank you,
    Andrew
  • Vote Up0Vote Down
    Thank you for your response, Andrew.

    The issue is the 2nd warning message you're getting:

    "file(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 "

    It would seem like allow_url_fopen is turned off on your hosting.

    You can ask your hosting provider to enable it for you by setting allow_url_fopen = On or alternatively you can try to do it in your .htaccess file like this: http://stackoverflow.com/questions/3694240/add-allow-url-fopen-to-my-php-ini-using-htaccess

    The Shopping Cart plugin uses PHP file() function to fetch the Australia Post results.
  • Vote Up0Vote Down
    Thank you again for the reply.

    We will try and see if we can change it, or get our host to change it. 

    Hopefully it will be able to resolve the issue. 

    Thank you for your responses so far.

    Andrew
  • Vote Up0Vote Down
    Thank you for your response, Andrew.

    That's great, please post back here with the conclusion.

    I look forward to hearing from you.

    Best,
    Antonie
  • Vote Up0Vote Down
    Hi there,

    We have been able to turn "allow_url_fopen" on, and the message ""file(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0" has now disappeared.

    Now we are met with this message: 

    Deprecated: Function split() is deprecated in /usr/home/himaao/www/htdocs/store/wp-content/plugins/wp-checkout/vendors/shipping/class.auspost.php on line 104
  • Vote Up0Vote Down
    Thank you for your response, Andrew.

    The message is just a PHP deprecated warning. It is harmless.
    It won't prevent the shipping services/rates from showing.

    Are they still not showing?
    If not, please submit a ticket with WordPress and FTP login details.
    You can do that here: http://tribulant.com/support/

    I look forward to your response.
  • Vote Up0Vote Down
    I hope you are doing well, Andrew.

    Did you manage with this and is the problem resolved?
Sign In or Register to comment.