Discussions
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Join us
Setting Custom Field using Commerce API - throws Unrelated Error
I'm at wits end. Does anyone know of issues using the order methods to set custom fields throwing errors? I am in the checkout process (logged in) and trying to set a main body custom field on the order. The custom field is set up for web store, is hidden (though also tried displaying normal to no avail), and is set to the main section (not that it should matter).
Is there only certain points in the checkout process when setting custom fields works? When I load the checkout page (step 1), I can read the custom fields fine in the cart.ss service however if I attempt to set a custom field, it throws an 'Unexpected Failure' (which is absolutely useless for me to troubleshoot). The error code is completely unrelated and seems to refer to the Terms and Conditions setting issue which has no relevance at the beginning of the checkout process.