There are 3 discount types for Recurly coupons:

  • Fixed Amount
  • Percentage
  • Free Trial

Currently free trial coupons fail the "Check that the coupon is available in the specified currency" validation. However, free trial coupons should not be validated against this logic at all. Simple edit to the if statement solves it. Patch to follow...

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dsbrianwebster created an issue. See original summary.

dsbrianwebster’s picture

bonked’s picture

Confirming this fixes a major issue for those of us that have come to find out that unless you do manual checking, Recurly allows users to re-use trial periods over and over and over again. Had a single customer (thankfully only one) reuse our free 7 day trial for 26 weeks in a row.

The solution is to use Free Trial coupon codes - which we pre-populate for users that have never subscribed - this was broken by upgrading to 7.3.

markdorison’s picture

Version: 7.x-3.x-dev » 8.x-1.x-dev
Assigned: dsbrianwebster » Unassigned
Status: Needs review » Patch (to be ported)

Thank you for the patch! Committed to 7.x-3.x. This should be ported to the 8.x-1.x branch.

walangitan’s picture

Assigned: Unassigned » walangitan
markdorison’s picture

Assigned: walangitan » Unassigned
Status: Patch (to be ported) » Needs review
FileSize
1.67 KB
walangitan’s picture

#7 applied cleanly and works well. Ran into a related bug that was incorrectly setting an error on the form during testing. This patch includes a resolution to that as well.

markdorison’s picture

Status: Needs review » Reviewed & tested by the community

  • markdorison committed 7053076 on 8.x-1.x authored by walangitan
    Issue #2816917 by walangitan, markdorison, dsbrianwebster, bonked: Free...
markdorison’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.