https://netsuiteprofessionals.com logo
n

NS Expert

04/11/2022, 10:34 PM
When using PHP toolkit to create an Estimate, I got this error: "Could not calculate cost for the selected Realtime rate. Missing/Illegal ShipTo/Address/StateProvinceCode" How to remove address validation in the php script? I set preferences
$service->setPreferences(false, true, true, true);
b

battk

04/11/2022, 10:53 PM
choose a different shipping method
or set an actual shipping cost
n

NS Expert

04/12/2022, 3:19 AM
I know it's because illegal shipping address. So I need to ignore the verification by using php code itself.
3 Views