django-payments
django-payments copied to clipboard
Fix not refunding the total amount by default
Fixes https://github.com/jazzband/django-payments/issues/401
It also takes into account that for various reasons the local copy of the payment (BasePayment.captured_amount
) may get easily desynchronized with the payment gateway (e.g. bugs like this https://github.com/jazzband/django-payments/issues/309 (see https://github.com/jazzband/django-payments/pull/412)).
Feel free to request any necessary changes :pray: