diff --git a/ghost/members-api/lib/repositories/member/index.js b/ghost/members-api/lib/repositories/member/index.js index c8a834e572..0b69732d91 100644 --- a/ghost/members-api/lib/repositories/member/index.js +++ b/ghost/members-api/lib/repositories/member/index.js @@ -216,7 +216,9 @@ module.exports = class MemberRepository { if (!this._stripeAPIService.configured) { throw new Error('Cannot link Stripe Customer with no Stripe Connection'); } - const customer = await this._stripeAPIService.getCustomer(data.customer_id); + const customer = await this._stripeAPIService.getCustomer(data.customer_id, { + expand: ['subscriptions'] + }); if (!customer) { return;