Currently when using the extension with another module there is a potential problem.
When another module is also making changes to extension_attributes payload it gets overridden by Klaviyo.
Magento made an effort on that part and gave possibility to extend the payload by utilising mixins. This is after version 2.2.2
I replaced the current shipping-save-processor override with new mixin approach on the mage/storage so it will work prior version 2.2.2.
And implemented the new way of extending the shipping payload on checkout.
I was unable to find good solution to feature switch based on magento version.
Currently when using the extension with another module there is a potential problem. When another module is also making changes to
extension_attributes
payload it gets overridden by Klaviyo.Magento made an effort on that part and gave possibility to extend the payload by utilising mixins. This is after version 2.2.2 I replaced the current shipping-save-processor override with new mixin approach on the mage/storage so it will work prior version 2.2.2.
And implemented the new way of extending the shipping payload on checkout.
I was unable to find good solution to feature switch based on magento version.
Any ideas and comments are quite welcome.