mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
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:
@@ -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)
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user