G'day Rod,
I've just installed your latest version 4.2.6 (fresh install), but I seem to be having a problem with Sendle.
I don't want to use sendle, so I selected 'disabled' from the list. When I do an update to check the postage estimate, I get an error -
"Sendle : unprocessable_entity"
With debugging on, it's shown in the array of quotes (along with the error text)
I traced to this part of the code at about line 725...
Code:
$tmp = explode(", ", MODULE_SHIPPING_OZPOST_TYPE_SDL);
$sdl = substr(strtoupper( MODULE_SHIPPING_OZPOST_SDL ),0,3) ;
if($sdl == "DIS") {$sdl = NULL ; } else {
$vars .= "&sendle=".MODULE_SHIPPING_OZPOST_TYPE_SDL ;
$this->allowed_methods[] = 'Sendle';
...where $tmp variable is "disabled", $sdl is "MOD" and when the code steps through, "Sendle" is added to the allowable methods array because MOD will never equal DIS.
If I change "DIS" to "MOD" in the code it doesn't get added, so for me... it's a workaround that gets me by.
Maybe I've set it up wrong, but I thought I'd just to let you know that there might be a problem
John
Bookmarks