diff options
author | Nicolò€ Rebughini <nicolo.rebughini@gmail.com> | 2020-11-16 14:43:58 +0100 |
---|---|---|
committer | Nicolò€ Rebughini <nicolo.rebughini@gmail.com> | 2020-11-16 17:29:06 +0100 |
commit | 2043e4777eba02bc48692d6d45c78c8c99d3dd5c (patch) | |
tree | e477a3e11a3665167d7e9c951bf3631e6e12765b /.circleci | |
parent | 6180dacde705b8cfb30229c0653df80202c58159 (diff) |
Add config to ignore past unfulfilled installments
This implements a configuration to ignore past unfulfilled installments
for subscriptions upon installments creations. Since failed installments
(e.g. because of an expired credit card) are retried indefinitely, they
can overlap and also be retried after another subscription cycle began.
In this particular case, a customer who fixes their payment method after
a new cycle, would be charged for double (or X times as much based on
how long it passed) and sent double the quantity of the same product.
Because in some cases this is not desirable, this adds a switch to skip
any failed past installment when a new installment gets created under
the same subscription.
Diffstat (limited to '.circleci')
0 files changed, 0 insertions, 0 deletions