mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02: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 StripeClientIdempotencyKeyInUseError extends OError {
|
||||
constructor() {
|
||||
super('Stripe idempotency key was already in use')
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @typedef {Object} PaymentActionRequiredInfo
|
||||
* @property {string} PaymentActionRequiredInfo.clientSecret
|
||||
@@ -75,4 +81,5 @@ module.exports = {
|
||||
HasPastDueInvoiceError,
|
||||
HasNoAdditionalLicenseWhenManuallyCollectedError,
|
||||
InvalidTaxIdError,
|
||||
StripeClientIdempotencyKeyInUseError,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user