Is it possible to disable address validation upon ...
# suitecommerce
c
Is it possible to disable address validation upon
order.submit()
? This message comes back when submitting an order which works in the NetSuite UI but fails from the webcontext
Copy code
errorCode: "ERR_WS_INVALID_SHIPPING_METHOD"
errorMessage: "Please select a shipping method"
errorStatusCode: "400"
If it's not possible to disable address validation, is there a way to get the error thrown from the transaction creation attempt? This feels like a solvable problem but the error is really generic. This seems to be related to the real time rates being generated.
s
If you really wanted to, I would suggest you start by overwriting the
validation
properties of the front and backend models of the Address module, but this would apply in all scenario where address forms are used. You could probably write/configure your extension so it only executes in the checkout application to cover that base though.
c
Thank you, @Steve Goldberg. I appreciate your help.