We’re in the last steps in trying to get our site up, and discovered something in testing.
There’s a mis-match between WooCommerce coupons and AffiliatesPro on case-sensitivity.
Woo coupons are case-insensitive.
Our coupons, as imported from our previous solution, contain mixed cases.
The affiliate-coupon attributes were likewise imported identically.
So far, so good.
Affiliates got properly credited with test orders.
Now, any time anything is updated for a given coupon, the entire coupon name string gets converted to lower case.
Coupon still works for the customer, but affiliate no longer gets credited with the sale.
This is a major issue since we’re talking about pre-existing long standing coupons.
If a customer enters the code in any case(s), it looks fully successful but the affiliates credit falls into an invisible crack.
The safest way for us to make, both, our customers and affiliates happy would be to just have the affiliate-coupon association case-insensitive.
PLEASE help ASAP
UPDATE: I’ve sifted through some of the code, and I believe the culprit is
Affiliates_Attributes_WordPress::get_affiliate_for_coupon(). I’ll go on the hunt for that class, but PLEASE give any direction you can. Time is of the essence.