Open styrken opened 2 years ago
Not sure if thats the issue, but it seems like the decorators in lib folder is not loaded
I was able to make it work when copying the content from https://github.com/solidusio-contrib/solidus_subscriptions/blob/master/lib/decorators/frontend/controllers/solidus_subscriptions/spree/orders_controller/create_subscription_line_items.rb into my app/controllers/spree/orders_controller.rb
file.
Thanks for reporting. It's still WIP how to behave for this kind of decorators. What would it be the expected behavior here in your opinion?
I actually made a piece of code that required the decorators but to my surprise it was still not working. So there is something weird going on.
When copying the code it worked fine.
This issue has been automatically marked as stale because it has not had recent activity. It might be closed if no further activity occurs. Thank you for your contributions.
Hi great people,
I have added this gem to a newly created store. The store uses https://github.com/solidusio/solidus_starter_frontend
So i had to add the form manually, but that's ok.
My issue is now, that the subscription is not created when user purchases a variant. Here the log of data posted to populate.
Installed solidus gems:
subscription_line_item
is present with the required params. Do i need to do something extra inOrdersController
?