Issues with discount codes since Sep 24

Hello everyone,

We have been using discount codes in combination with customer segments (using tags) to give automatic discounts to certain customers. The “automatic” part is taken care of by adding some code in our cart page to append the discount code at the end of the url for the checkout page when we detect that a customer has the required tag.

The system had been working without issue until recently (around September 24th) when we started to see some orders that were missing the appropriate discount.

The concerned customers are in the correct segment, the discount are still valid (start and end date) and the orders contain the products targeted by the discount.

Weirdly enough, the discount still works for some customers but not others.

At first, i thought i distinguished a pattern that the error was for customers using Shop Pay (maybe Shop Pay would redirect customers to a different checkout page that does not take discount code as parameters?) but then i also found the same issues with customers who had not used Shop Pay for payment.

Any hint would be greatly appreciated.

Of course, Shopify Support refuses to look into the issue since to make the discounts automatic, the code of our cart page had to be modified.

1 Like

There was a related post link that was marked as solved but the issue has been appearing again in the last week.

It seems that the issue is coming from a new checkout url Shopify has been basically alpha testing on their customers. No matter how many times we report the issues, Shopify refuses to acknowledge it.

1 Like

We have the same problem, using discount codes in combination with customer segments (using tags) to give automatic discounts to certain customers, HOWEVER the discount code is working for all customers. We found this out as customers are telling other customers by word of mouth our discount code for wholesalers. But guests are able to use our wholesale code…

1 Like

We are having the same issue; though the code we applied to have the discount code applied automatically was the issue at first. Would you mind sharing the code on your cart page that you use to have the discount code automatically applied at the checkout?

We are having the same issue - was it fixed for you?