weixin_39840111 2020-11-21 17:26
浏览 0

Discount code usage not recorded

Devin Price has reported that discount codes are not having their uses recorded correctly.

该提问来源于开源项目:easydigitaldownloads/easy-digital-downloads

  • 写回答

6条回答 默认 最新

  • weixin_39840111 2020-11-21 17:26
    关注

    I've determined that the bug has to do with the edd_get_discount_id_by_code() function. For some reason, the foreach() loop never finds a code that matches. The $code parameter that is passed definitely contains the correct code, and all discounts are retrieved correctly. I've manually compared the passed $code to all retrieved codes, and as far as I can tell, there should be a match, but it's failing.

    评论

报告相同问题?