Add PaymentService integration to enhance ticket purchasing and lightning payment functionality

- Introduce PAYMENT_SERVICE token in di-container for dependency injection.
- Update base module to register and initialize PaymentService, ensuring it is available for use.
- Refactor useTicketPurchase and useLightningPayment composables to utilize PaymentService for wallet management, payment processing, and QR code generation.
- Delegate payment handling and error management to PaymentService, streamlining the payment workflow and improving user experience.
This commit is contained in:
padreug 2025-09-05 15:17:51 +02:00
parent adf32c0dca
commit 0bced11623
5 changed files with 372 additions and 137 deletions

View file

@ -114,6 +114,9 @@ export const SERVICE_TOKENS = {
// Auth services
AUTH_SERVICE: Symbol('authService'),
// Payment services
PAYMENT_SERVICE: Symbol('paymentService'),
// Market services
MARKET_STORE: Symbol('marketStore'),
PAYMENT_MONITOR: Symbol('paymentMonitor'),