Merchants can specify that they want the sign-up checkbox at checkout to be preselected.
This is done in the Checkout settings (admin/settings/checkout):
These settings are respected when:
- using a standard checkout
- using a checkout generated by the Checkout API
However, when using the Draft Order API, only the first option is respected. The 'Preselect the sign-up option' is not.
The result is that the checkbox at checkout is never checked:
This issue can be reproduced in the 2020-10 and 2020-07 versions of the API.