- 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. |
||
|---|---|---|
| .. | ||
| base | ||
| composables | ||
| services | ||
| di-container.ts | ||
| event-bus.ts | ||
| plugin-manager.ts | ||
| types.ts | ||