Hey there! We noticed after the recent upgrade that we stopped receiving commerce events for "Add to Cart" from Android only (iOS still works).
I'm thinking perhaps it had to do with the changes recently during the port to kotlin? It seems like in the new version, TransactionAttributes are defaulted with a empty TransactionAttributes and a '' for transactionId:
|
transactionAttributes: TransactionAttributes = new TransactionAttributes('') |
In the old code as near as I can tell, it used to be initialized with transactionAttributes = {}, which I guess may have worked better with whatever Android is doing?
|
static createProductActionEvent (productActionType, products, transactionAttributes = {}) { |
Is transactionId now required for all commerce events? Should we just set it to a random string? We don't have a "cart" exactly so there's no meaningful transactionId for us to track before an actual purchase.
Thanks for any help on this!