Add event addon purchase success page with confetti
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
tests / ui (push) Has been cancelled

This commit is contained in:
Codex Agent
2026-02-07 17:04:14 +01:00
parent 64b3bf3ed4
commit c0c082975e
15 changed files with 837 additions and 7 deletions

View File

@@ -186,7 +186,7 @@ describe('MobileEventAddonsPage', () => {
await waitFor(() => {
expect(checkoutMock).toHaveBeenCalledWith(fixtures.event.slug, {
addon_key: 'extra_photos_500',
success_url: `${window.location.origin}/event-admin/mobile/events/demo-event/addons?addon_success=1`,
success_url: `${window.location.origin}/event-admin/mobile/events/demo-event/addons/success?addon_key=extra_photos_500`,
cancel_url: `${window.location.origin}/event-admin/mobile/events/demo-event/addons`,
accepted_terms: true,
accepted_waiver: true,