I have a question regarding a plugin I wrote to add custom extenstionAttributes to a magento Order. I created a afterGet plugin on a Magento\Sales\Api\OrderRepositoryInterface that adds two custom extensionAttribute fields. If I debug in the plugin the extensionAttributes are set, but once I debug my order after all the plugins had their way with it, the keys for the extensionAttributes are set, but the data is removed.
Anyone experienced this before?
I followed a simular tutorial https://m.academy/blog/programmatically-add-column-magento-2-sales-order-database-table/ to implement the fields