Add tool to flag completed Trustly refunds
authorMagnus Hagander <magnus@hagander.net>
Sat, 14 Apr 2018 18:30:52 +0000 (20:30 +0200)
committerMagnus Hagander <magnus@hagander.net>
Sat, 14 Apr 2018 18:30:52 +0000 (20:30 +0200)
commit2a95252981735c5123f972f6d3d7384661999fc5
tree3555cd4f1a6e33aafd3ac06ef6d06516d116033a
parent846e29598f913bb9248609251e20bab14dd9b8b1
Add tool to flag completed Trustly refunds

For Trustly we don't get separate notificatoins when refunds complete.
So instead, add this tool that polls the status of any pending refunds,
and completes the process when they are listed as refunded.

This has been missing functionality since we added Trustly payments, but
we haven't had any refunds to process yet..
postgresqleu/trustlypayment/api.py
postgresqleu/trustlypayment/management/commands/trustly_match_refunds.py [new file with mode: 0644]