From 9348134afeb8af8805642ee452ff7b9b3a8ab945 Mon Sep 17 00:00:00 2001 From: Fabien O'Carroll Date: Tue, 9 Jun 2020 16:37:07 +0200 Subject: [PATCH] Added display_name & account_id to stripe connect no-issue This will allow us to display this information in the Admin to make it easier for the user to see what the current state is. --- core/server/services/members/stripe-connect.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/server/services/members/stripe-connect.js b/core/server/services/members/stripe-connect.js index 7fedc95a7a..b23fbb6f30 100644 --- a/core/server/services/members/stripe-connect.js +++ b/core/server/services/members/stripe-connect.js @@ -51,7 +51,9 @@ async function getStripeConnectTokenData(encodedData, getSessionProp) { return { public_key: data.p, secret_key: data.a, - livemode: data.l + livemode: data.l, + display_name: data.n, + account_id: data.i }; }