[PP-1] Cannot have a post paid subscription

Created on 2 January 2021, almost 4 years ago
Updated 21 August 2024, 4 months ago

Post paid subscriptions never set up a subscription

If you set up a post-paid product + product variation and buy it, the initial product will go through the checkout with price of zero, so no payment information (e.g. card details) will be taken, and no subscription will be set up. Consequently no draft, no close and renew.

Steps to reproduce

  1. Set up a billing schedule - I made mine short because I was testing: 1 hour, post-paid, fixed interval, not pro-rated. Do not allow free trials.
  2. Set up a product variation type which is for a recurring product
  3. Set up a product type with that variation type.
  4. Set up a payment gateway. Do not use manual gateway. I used Stripe and Example on-site gateway. It would be useful to test a different gateway in case this is a gateway bug.
  5. Set up a product of the product type and add a variation. For the variation choose a price larger than your minimum gateway price, if there is one - say £10 or $10 - and choose the post paid billing schedule you previously set up.
  6. Go to your new product and add it to your cart
  7. Go to your cart. You will see Subtotal = £10.00, Pay later = -£10.00, Total = £0.00
  8. Click checkout
  9. If you used the defaults for the gateway, you will be asked for billing details, but not for card details.
  10. Review and complete the order
  11. Check the list of orders - this order will be placed
  12. Check the list of subscriptions - there will be no subscription for this order.
  13. For bonus points, set up a pre-paid billing schedule and follow all the steps. You will find an order and a subscription.

My guess is that this is caused by the zero price which is not a trial.

🐛 Bug report
Status

Postponed

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom Jeff Veit

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024