{"repo":"solidusio/solidus_subscriptions","free":true,"listed":false,"github":"https://github.com/solidusio/solidus_subscriptions","clone":"git clone https://github.com/solidusio/solidus_subscriptions.git","description":"An extension to add subscriptions to your Solidus store.","language":"Ruby","stars":49,"topics":["solidus","extensions","subscriptions","ecommerce","hacktoberfest"],"license":"BSD-3-Clause","category":"auth-billing-email","readme_excerpt":"solidus subscriptions A Solidus extension to add subscriptions to your store. Installation Add solidus subscriptions to your Gemfile: Starter Frontend Bundle your dependencies and run the installation generator: Please, be aware that the installation only works with the default implementation of the starter frontend. Any customization to the files that will be modified by the installer might break the installation procedure. If that happens, try to adapt the installed code on top of the customizations of the store. Legacy Frontend If you are using the legacy solidus frontend gem, please run this command instead: Guest checkout Subscriptions require a user to be present to allow them to be managed after they are purchased. Because of this, you must disable guest checkout for orders which contain subscription line items . An example would be adding this to the registration page: This allows guests to add subscriptions to their carts as guests, but forces them to login or create an account before purchasing them. Usage Purchasing subscriptions By default, only Spree::Variants can be subscribed to. To subscribe to a variant, it must have the subscribable attribute set to true. To subscribe to a variant, include the following parameters when posting to /orders/populate : This will associate a SolidusSubscriptions::LineItem to the line item being added to the cart. The customer will not be charged for the subscription until it is processed. The subscription line items should be sho","default_branch":null,"files":null,"tree":[],"storefront":"/r/solidusio","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/solidusio/solidus_subscriptions/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}