diff --git a/website/server/libs/payments/apple.js b/website/server/libs/payments/apple.js index 6001f9ed91..8a8ab56ade 100644 --- a/website/server/libs/payments/apple.js +++ b/website/server/libs/payments/apple.js @@ -137,7 +137,7 @@ api.subscribe = async function subscribe (user, receipt, headers, nextPaymentPro throw new NotAuthorized(this.constants.RESPONSE_ALREADY_USED); } for (const existingUser of existingUsers) { - if (existingUser._id !== user._id) { + if (existingUser._id !== user._id && !existingUser.purchased.plan.dateTerminated) { throw new NotAuthorized(this.constants.RESPONSE_ALREADY_USED); } }