If I test with non logged in customer works fine and each log is appearing in Partners portal
If i test with a logged NON B2B customer works fine as not logged in.
If i test with a logged B2B customer minicart seems to fail when reloading with the added product, no log appears in Partners, discount is not applied.
Seems that the issue is when trying to obtain buyerIdentity in B2B customers, tests were made in same store, with same products but different customers.
Thanks in advance, if need some more info please tell me
Hello, problem seems to be inside Shopify, i was only advising of the issue for knowing if any other DEV is having the same problem. In summary: automatic app created discounts seems were not working with B2B customers (no log in partners, no discount applied and minicart does not update nicely after adding the product that should apply the discount), i will give a try again when i get a gap, maybe Shopify has fixed the issue in latest changes of Winter2024.
Hello, I am having the same problem, I am developing an app that creates an automatic discount for volume and when I test it logged in as b2b no discount appears, I would like to know if you found a way to make the discount apply