Allow plans to be added to the cart to start a subscription #2327
Replies: 4 comments
-
@lukeholder In our scenario with the current craft commerce version we need to bill the customer for 1 base product + 1 instalment of a 6 instalment service cost. Currently we would only be able to bill for the base product. So to work around this we're going to setup up products for the subscriptions for the value of 1 of the instalment costs. This will allow us to bill for the base product cost and 1 instalment via stripe and for the value of the cart to reflect this. To avoid stripe billing the subscription off the back of this straight away, we'll then offset the subscription by using trialDays=30 and the plan will only have 5 instalments. I hope this helps you to understand what we are trying to achieve and might help you see where potential functionality could lie. I was thinking you could have it so that certain products were 'subscription' products and would trigger a subscription on purchase. This would cater for our scenario quite well. |
Beta Was this translation helpful? Give feedback.
-
@jlawrence-yellostudio currently the best way to achieve this (one-off payment + subscription) is close to what you're planning to do - you would set up the plan to be 6 months, of which the first 30 days are trial. There are two ways to avoid creating an order (subscriptions and orders are going to play along nicely only once we make plans to be elements/purchasables). Add a charge as the first invoice is generated
- OR - Add a charge before subscribing
Does this sound like something that would fulfill your needs for the project? |
Beta Was this translation helpful? Give feedback.
-
@andris-sevcenko Thanks for the input here, I added input as requested from @lukeholder who was conversing with my colleague. I'll consider your points further, however it is important to us that the customer pays for both base product + subscription in same payment, which is why I'm removing 1 instalment from the subscription. So say 6 month subscription £10 / month: I can achieve this very easily by adding 1 'Subscription' Product worth £10 and reducing the number of instalments on Stripe to 5 (5 x £10) and delaying using trialDays, if i'm not mistaken. |
Beta Was this translation helpful? Give feedback.
-
@jlawrence-yellostudio right, the point of my post above is about adding the item to the invoice that the Stripe will charge for. In this scenario let's assume that you have a fixed cost of 100 and a monthly cost of 10. You would set up a subscription plan to last for 6 months, 10 pounds apiece.
The only deviation from your scenario here is that a Commerce Order is never created, as they are not connected to subscriptions in any way yet. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
All reactions