django-payments icon indicating copy to clipboard operation
django-payments copied to clipboard

Fix not refunding the total amount by default

Open radekholy24 opened this issue 9 months ago • 0 comments

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:

radekholy24 avatar Apr 25 '24 17:04 radekholy24