Project

General

Profile

Actions

Bug #8030

open

Discounting a recurring subscription for more than the price of the plan causes error

Added by krileon about 2 years ago. Updated 4 months ago.

Status:
Assigned
Priority:
Normal
Assignee:
Target version:
Start date:
29 May 2020
Due date:
% Done:

10%

Estimated time:

Description

If you discount a $20 recurring subscription by $30 value that comes from a field it causes the payment to fail.

https://www.joomlapolis.com/forum/277-cb-paid-subscriptions-support/242556-cb-subs-promotion-for-a-subscription-plan#318802

Awaiting further details regarding error, but possible math issue or gateway may not like free plans.

Actions #1

Updated by krileon about 2 years ago

Looks like this is due to the gateway not allowing a recurring subscription of $0, but no gateway does. Should we block this from happening somehow?

Actions #2

Updated by krileon about 2 years ago

This might be fixable with #8033 for Stripe at least if individual line numbers are used combined with usage of invoices in #7537

Actions #3

Updated by beat about 2 years ago

  • Target version changed from 4.4.0 to 4.5.0
Actions #4

Updated by beat over 1 year ago

  • Target version changed from 4.5.0 to 4.5.1
Actions #5

Updated by beat over 1 year ago

  • Target version changed from 4.5.1 to 4.5.2
Actions #6

Updated by beat about 1 year ago

  • Priority changed from High to Normal
Actions #7

Updated by beat about 1 year ago

  • Target version changed from 4.5.2 to 4.5.3
Actions #8

Updated by beat 8 months ago

  • Target version changed from 4.5.3 to 4.6.0
Actions #9

Updated by beat 7 months ago

  • Status changed from New to Assigned
  • Assignee set to beat
  • % Done changed from 0 to 10

Started work on this in stash fix-8030-almost-done.

Actions #10

Updated by beat 4 months ago

  • Target version changed from 4.6.0 to 4.6.1
Actions #11

Updated by beat 4 months ago

  • Target version changed from 4.6.1 to 4.6.2
Actions

Also available in: Atom PDF