coupon code disallowed for product - no error shown

Discussion in 'Payments processing' started by jamiefiedler, Oct 1, 2007.

  1. jamiefiedler

    jamiefiedler New Member

    Joined:
    Apr 20, 2007
    Messages:
    5
    some background info:

    product 1
    yearly billed - $350
    nonrecurring

    product 2
    monthly billed - $35
    recurring

    coupon ABC
    $60 off
    only product 1 is selected for allowed in the products list (in edit coupon batch screen)

    coupon DEF does not exist


    scenarios
    user1 signs up using product 1, coupon code ABC enterd. (works)
    coupon code is accepted and discount applied, no errors.
    ABC coupon used count reflects usage.
    user1 shows up in coupon statistics when searching for coupon code ABC

    user2 signs up for product 2, no coupon code used (works)
    no discount applied, no errors.
    ABC coupon used count does not change.
    user2 does not show up in coupon statistics when searching for coupon code ABC

    user3 signs up using product 2, invalid coupon code DEF entered. (works)
    coupon code is not accepted, invalid coupon error is displayed.

    user4 signs up for product 2, coupon code ABC entered. (problem!)
    coupon code is accepted (no error) but discount is not applied.
    ABC coupon used count reflects that coupon was used.
    user4 does not show up in coupon statistics when searching for coupon code ABC
    viewing the edit subscription page debug info for user4 shows coupon ABC attached to the account.
    expected result: error is displayed stating coupon code is invalid

    my question is: why was there no error when user4 tried to use a coupon that is not accepted for product2? user4 should not be allowed to use coupon ABC since it's is not approved for product2, an invalid coupon code error should be displayed, and they should not be allowed to continue the signup process until removing the code or changing product. instead, the discount was silently not applied and now we get an email 20 days later when they checked their statement.

    any ideas? i could have sworn amember used to throw an error when using a coupon code that isn't approved for a product, but it's not doing this anymore. no custom changes have been made to the payment system, and this problem occurs on both our test server and live server.

    thanks!

Share This Page