Commit 5add7f5
committed
fix(payments-next): Upgrading subscription set to cancel does not unset cancelled_for_customer_at
Because:
* When upgrading a subscription that has previously been set to cancel but has not cancelled yet, the metadata field cancelled_for_customer_at is not unset even though we uncancel the subscription as part of the upgrade process.
This commit:
* Removes cancelled_for_customer_at on subscription upgrade.
Closes #[PAY-3586](https://mozilla-hub.atlassian.net/browse/PAY-3586)1 parent f21207b commit 5add7f5
2 files changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2234 | 2234 | | |
2235 | 2235 | | |
2236 | 2236 | | |
| 2237 | + | |
| 2238 | + | |
| 2239 | + | |
| 2240 | + | |
| 2241 | + | |
| 2242 | + | |
| 2243 | + | |
| 2244 | + | |
| 2245 | + | |
| 2246 | + | |
2237 | 2247 | | |
2238 | 2248 | | |
2239 | 2249 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
812 | 812 | | |
813 | 813 | | |
814 | 814 | | |
| 815 | + | |
815 | 816 | | |
816 | 817 | | |
817 | 818 | | |
| |||
0 commit comments