Skip to content

X402 pretix#56

Merged
didierkrux merged 104 commits into
devfrom
x402-pretix
May 14, 2026
Merged

X402 pretix#56
didierkrux merged 104 commits into
devfrom
x402-pretix

Conversation

@didierkrux
Copy link
Copy Markdown
Member

No description provided.

lassejaco and others added 30 commits April 21, 2026 15:15
… email. Introduce PendingEthQuoteCell component for displaying ETH quotes across chains. Remove unnecessary ETH payer signature input from manual verification modal.
…r transaction replacement and cancellation. Update hooks to use mined transaction hashes for verification, improving accuracy in payment status updates.
This update introduces a support email field in the ticketing configuration, allowing users to contact support directly through a pre-filled email link in the checkout UI. The support email is displayed in the "Need help?" section, enhancing user experience during the ticket purchase process.
…nce. Adjusted the minimum and maximum polling cadence to ensure efficient payment verification without overloading the network.
…pto discount. Enhanced checkout UI to reflect payment method options based on configuration, including dynamic display of enabled tokens.
didierkrux and others added 22 commits May 8, 2026 15:46
… data integrity. Updated claim handler to enforce session ID matching with URL ID, preventing unauthorized voucher claims. Modified validation endpoint to strip unnecessary index fields from response data, ensuring only relevant discount information is returned to the frontend.
…nagement

- Introduced a new script for cloning Pretix events, allowing synchronization from production to development environments.
- Implemented snapshot management for event resources, including categories, items, discounts, and settings.
- Enhanced state management to track source-target mappings and ensure data integrity during cloning operations.
- Added CLI options for flexible execution, including dry-run capabilities and selective resource cloning.
- Updated .gitignore to exclude sensitive snapshot and state files from version control.
- Modified ticketing configuration to reflect the new event ID structure.
- Added a setting to prevent the order email from being asked twice during testing, facilitating smoother development workflows.
- Made question fields optional in the development environment to avoid blocking testers with required production fields, enhancing the testing experience.
- Set default crypto discount percentage to 0 in the ticketing configuration to prevent unintended discounts in new environments.
- Updated paymentInfo type to allow for null discount values, indicating when discounts are disabled.
- Enhanced UI components to conditionally display crypto discount information based on the availability and value of the discount.
- Adjusted FAQ responses and checkout summaries to reflect the current state of the crypto discount, ensuring accurate user information.
- Introduced a visual substitution for the ENS name, changing `d.krux.eth` to `d.devcon.eth` for demo visibility.
- Ensured that the actual address is still displayed on hover, maintaining transparency while enhancing the demo experience.
…g sign-in

- Added a function to read NextAuth's CSRF token from the request's cookie, ensuring proper validation of sign-in attempts.
- Updated the authorization logic to use the server-issued CSRF token as the nonce for SIWE verification, preventing replay attacks.
- Enhanced session ID validation in the discount claim handler to enforce strict identity checks, preventing unauthorized voucher claims.
- Added `getPluginSettings` function to retrieve plugin settings, enabling or disabling the external API purchase path based on the `fiat_purchase_enabled` flag.
- Updated the `/api/x402/tickets/fiat-purchase` endpoint to return a 404 error when fiat purchases are not enabled for the event.
- Enhanced the checkout component to handle the 404 response, providing users with a clear notice and a button to redirect to the Pretix shop when card payments are unavailable.
- Introduced state management for fiat payment availability, ensuring users receive accurate feedback during the checkout process.
- Removed hardcoded FAQ items and integrated dynamic loading of FAQs based on the checkout page context.
- Updated `getStaticProps` to fetch and filter FAQ data, ensuring only relevant items are displayed.
- Modified `CheckoutContent` component to accept and render FAQ items, enhancing maintainability and flexibility.
…updates

- Added a warning for users attempting to use Coinbase / Base Smart Wallet on mobile Safari, indicating that checkout is not supported on this platform.
- Updated `checkout.tsx` to include logic for displaying the warning and prevent checkout if the warning condition is met.
- Introduced new styles in `checkout.module.scss` for the mobile warning message to improve visibility.
- Adjusted wallet connection classification in `walletConnection.ts` to treat `baseAccount` as equivalent to `coinbaseWallet` for consistent UI behavior.
@netlify
Copy link
Copy Markdown

netlify Bot commented May 14, 2026

Deploy Preview for devcon-social canceled.

Name Link
🔨 Latest commit 6a83b24
🔍 Latest deploy log https://app.netlify.com/projects/devcon-social/deploys/6a057f1c148d5a0008f52b0d

@netlify
Copy link
Copy Markdown

netlify Bot commented May 14, 2026

Deploy Preview for devcon-event-app canceled.

Name Link
🔨 Latest commit 6a83b24
🔍 Latest deploy log https://app.netlify.com/projects/devcon-event-app/deploys/6a057f1c53e446000820a314

@netlify
Copy link
Copy Markdown

netlify Bot commented May 14, 2026

Deploy Preview for devcon-app canceled.

Name Link
🔨 Latest commit 6a83b24
🔍 Latest deploy log https://app.netlify.com/projects/devcon-app/deploys/6a057f1c0bad3d0008824dc3

@netlify
Copy link
Copy Markdown

netlify Bot commented May 14, 2026

Deploy Preview for devconnect-dev-branch ready!

Name Link
🔨 Latest commit 6a83b24
🔍 Latest deploy log https://app.netlify.com/projects/devconnect-dev-branch/deploys/6a057f1c1bd2280008ca737f
😎 Deploy Preview https://deploy-preview-56--devconnect-dev-branch.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 14, 2026

Deploy Preview for devcon-monorepo ready!

Name Link
🔨 Latest commit 6a83b24
🔍 Latest deploy log https://app.netlify.com/projects/devcon-monorepo/deploys/6a057f1cc25cf800081022f0
😎 Deploy Preview https://deploy-preview-56--devcon-monorepo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@socket-security
Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​radix-ui/​react-checkbox@​1.3.3991007191100

View full report

@didierkrux didierkrux merged commit ca92588 into dev May 14, 2026
22 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants