Merge pull request #27800 from overleaf/ls-support-create-stripe-customer-from-admin-panel

Support creating Stripe customer from admin panel

GitOrigin-RevId: 3e23008e1f4690e6f3737b5689e20958bf468f82
This commit is contained in:
Liangjun Song
2025-08-15 08:05:34 +00:00
committed by Copybot
parent e9bbc113a0
commit b9fc80f503
6 changed files with 17 additions and 11 deletions
@@ -603,7 +603,7 @@ class PaymentProviderAccount {
* @param {object} props
* @param {string} props.code
* @param {string} props.email
* @param {boolean} props.hasPastDueInvoice
* @param {boolean} [props.hasPastDueInvoice]
*/
constructor(props) {
this.code = props.code
@@ -90,7 +90,7 @@ async function createAccountForUserId(userId) {
}
const account = await client.createAccount(accountCreate)
logger.debug({ userId, account }, 'created recurly account')
return account
return accountFromApi(account)
}
/**