mozilla / payments

The root repository for all things Payments at Mozilla.
Other
9 stars 9 forks source link

Cancelled subscription email #77

Closed andymckay-limited-access closed 9 years ago

andymckay-limited-access commented 9 years ago

In http://payments.readthedocs.org/en/latest/design/api/provider.html#subscription-cancelled, it says "I think this is a job that can be accomplished using a really good subscription cancellation UI".

The problem is that a cancellation can happen when the user isn't there and there is no UI.

Examples:

We could theoretically say "if it was done by a user, don't send email" but I'm not sure yet if we can tell that. I think certainly there is enough cases where an email is warranted.

andymckay-limited-access commented 9 years ago

For mozilla/payments#64

kumar303 commented 9 years ago

Subscription charge failures will be handled in https://github.com/mozilla/payments-service/issues/71

kumar303 commented 9 years ago

In any case I can think of for cancelling a subscription, I think we should keep the subscription active up to the end date of their last payment. For example, if their last payment was for a period of June 1st - June 30th and the subscription is cancelled on June 15th then it should remain active until June 30th.

kumar303 commented 9 years ago

Hey Bram, while waiting for the HTML mock up, I proposed a simple text version here: https://github.com/mozilla/payments-service/pull/74/files#diff-9696f21085a2fbaacd9e3fbc76d4ecc5R7 It's not specific about subscription end dates because we may need more data for that. See https://github.com/mozilla/payments-service/issues/75