Commit 51d67426 authored by Your Name's avatar Your Name

fix: correct RenewalProcessor constructor arguments

- RenewalProcessor expects 5 args: db_manager, stripe_handler, paypal_handler, crypto_wallet_manager, price_service
- service.py was only passing 2 args: db_manager, subscription_manager
- Fixed to pass all required arguments
- Fixes 'missing 3 required positional arguments' error
parent d2327db4
......@@ -41,7 +41,10 @@ class PaymentService:
self.renewal_processor = SubscriptionRenewalProcessor(
db_manager,
self.subscription_manager
self.stripe_handler,
self.paypal_handler,
self.wallet_manager,
self.price_service
)
async def initialize(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment