Deceased
- Join Date:
- Jan 2007
- Location:
- Australia
- Posts:
- 6,263
- Plugin Contributions:
- 4
Post #981 by rodg
ALiepinieks:
the above code possibly should have read...
$qu = $this->_getAPdata($SERVER, "/postage.php?fromcode=" . MODULE_SHIPPING_OZPOST_SPCODE ."&destcode=$dcode&weight=$parcelweight&height=$parcelheight&width=$parcelwidth&length=$parcellength&value=$ordervalue&flags=$flags&[B]$[/B]host=$HOST&version=$VERSION") ;
The "$" you added needs to be removed.
There was an error there, in that a space character crept in, IOW, remove the '$' and close the space.
That'll take care of one issue.
The other issue.... Ensure you have cURL *enabled*. The XML is a bit flakey without it (due to 'chunking') . The latest version forces the use of cURL to avoid this problem.
Cheers
Rod