mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01:00
[web] fix Stripe concurrent idempotency error (#29007)
GitOrigin-RevId: 458f712452241771dff99977e638a3f4d2c113fa
This commit is contained in:
@@ -32,6 +32,12 @@ class HasNoAdditionalLicenseWhenManuallyCollectedError extends OError {}
|
|||||||
|
|
||||||
class InvalidTaxIdError extends OError {}
|
class InvalidTaxIdError extends OError {}
|
||||||
|
|
||||||
|
class StripeClientIdempotencyKeyInUseError extends OError {
|
||||||
|
constructor() {
|
||||||
|
super('Stripe idempotency key was already in use')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {Object} PaymentActionRequiredInfo
|
* @typedef {Object} PaymentActionRequiredInfo
|
||||||
* @property {string} PaymentActionRequiredInfo.clientSecret
|
* @property {string} PaymentActionRequiredInfo.clientSecret
|
||||||
@@ -75,4 +81,5 @@ module.exports = {
|
|||||||
HasPastDueInvoiceError,
|
HasPastDueInvoiceError,
|
||||||
HasNoAdditionalLicenseWhenManuallyCollectedError,
|
HasNoAdditionalLicenseWhenManuallyCollectedError,
|
||||||
InvalidTaxIdError,
|
InvalidTaxIdError,
|
||||||
|
StripeClientIdempotencyKeyInUseError,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user