Skip to content

Single use coupon will not show correct discount for plans with free trial. #975

@jswhetstone

Description

@jswhetstone

This issue mirrors the problems in #572 , except we are using recurly.Pricing.Checkout rather than using recurly.Pricing directly.

Problem:
When a plan is configured with a free trial and a customer enters a single-use coupon, the pricing rendering does not reflect the discount on the price.next value as it should, because price.next is unconditionally skipped if the coupon.single_use is true.

I've submitted a PR #974 to resolve this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions