[web] fix Stripe concurrent idempotency error (#29007)

GitOrigin-RevId: 458f712452241771dff99977e638a3f4d2c113fa
This commit is contained in:
Kristina
2025-10-13 10:01:53 +02:00
committed by Copybot
parent b03b1e3bfc
commit d6f2dfd8b1

View File

@@ -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,
}