web-next: change-race/faction/level-up/gold por SumUp + rastreador de misiones

- /change-race-character (3€), /change-faction-character (5€, valida condiciones:
  sin hermandad/correo/subastas/capitán-arena y oro <= cap por nivel),
  /level-up-character (10€), /gold-character (oro por correo SOAP). Cada uno borra
  su ruta antigua y actualiza el link del panel.
- SumUp: hook precheck en PaidServiceConfig (condiciones cambio de facción);
  columna home_stripelog.metadata para campos extra (gold_amount).
- /quest-character: rastreador de estado de misiones/cadenas (clase, Hijos de
  Hodir, misión por ID) en personaje offline; cooldowns por categoría, Turnstile,
  IDs de misión verificados en wotlkdb 3.3.5a. Tabla home_questsearchhistory.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-14 12:39:28 +00:00
parent f7a376bd7c
commit eaae16e33a
24 changed files with 1154 additions and 112 deletions
+3 -3
View File
@@ -33,11 +33,11 @@ export function PaidServiceForm({ characters, checkoutEndpoint, payLabel, button
credentials: 'same-origin',
body: JSON.stringify({ character, ...(provider ? { provider } : {}) }),
})
const data: { success?: boolean; url?: string } = await res.json()
const data: { success?: boolean; url?: string; message?: string } = await res.json()
if (data.success && data.url) {
window.location.href = data.url // Checkout de Stripe
window.location.href = data.url // Checkout (Stripe o SumUp)
} else {
setError(t('genericError'))
setError(data.message || t('genericError'))
setBusy(false)
}
} catch {