Commit Graph

128 Commits

Author SHA1 Message Date
Benjamin Dauvergne 832b8188fb lingo: allow item payment by any user (#41837) 2020-06-26 11:44:28 +02:00
Valentin Deniaud bda15dbcef lingo: handle empty payload in ReturnView (#42581) 2020-06-15 12:13:31 +02:00
Valentin Deniaud ea0657f565 lingo: catch PaymentException on backend response (#42581) 2020-06-15 12:13:31 +02:00
Valentin Deniaud 1c0c36583e lingo: pass extra item info to eopayment backend (#42992) 2020-06-15 12:13:04 +02:00
Valentin Deniaud 1bdc236839 lingo: allow passing extra basket item info (#42992) 2020-06-15 12:13:04 +02:00
Valentin Deniaud fca2a33b33 lingo: remove user retrieval from email in basket api (#42992) 2020-06-15 12:13:04 +02:00
Lauréline Guérin 2723604596
lingo: return json error response (#42512) 2020-05-15 14:11:21 +02:00
Lauréline Guérin ee1b833ef4
lingo: fix add basket item view when display_name is missing (#42621) 2020-05-15 11:50:21 +02:00
Benjamin Dauvergne af97ab9ec8 lingo: fix typo on Transaction.bank_transaction_date (#42565) 2020-05-07 09:30:13 +02:00
Benjamin Dauvergne 4afe8c930c lingo: store received transaction_date (#41323) 2020-05-04 15:24:10 +02:00
Frédéric Péters 16cd985be2 trivial: import reverse from django.urls (#41285) 2020-04-02 20:42:23 +02:00
Thomas NOËL 95d761ebcf lingo: detect more errors in remove payload (#40708) 2020-03-13 10:09:47 +01:00
Valentin Deniaud 271e13b680 lingo: handle exceptions raised by backend.request (#40244) 2020-03-03 16:58:42 +01:00
Lauréline Guérin c78ba2936c
lingo: raise a 404 if regie or payment backend is not found (#39846) 2020-02-14 10:21:33 +01:00
Benjamin Dauvergne 5412f0a58c lingo: use query string when request body is empty (#39491)
Some backends (PayFiP WS) put the response in the query string of a
POST.
2020-02-03 17:16:54 +01:00
Lauréline Guérin a188512c5b
lingo: return HttpResponseBadRequest instead of Exception (#39277) 2020-02-03 14:47:59 +01:00
Lauréline Guérin f2807ce2ec
misc: RemovedInDjango20Warning is_authenticated and is_anonymous (#39438)
RemovedInDjango20Warning: Using user.is_authenticated() and user.is_anonymous()
as a method is deprecated. Remove the parentheses to use it as an attribute.
2020-01-31 11:30:13 +01:00
Benjamin Dauvergne 6ab914d714 lingo: remove ':' character from return url (#39256) 2020-01-27 14:29:38 +01:00
Emmanuel Cazenave 3177f5067d lingo: move transaction identifier to URL path (#39074) 2020-01-20 17:59:01 +01:00
Emmanuel Cazenave 36588dd357 lingo: support anonymous and no basket payment (#36876) 2020-01-16 11:44:23 +01:00
Emmanuel Cazenave 266b37db6f lingo: check response signature later (#36876) 2020-01-16 11:44:23 +01:00
Lauréline Guérin fbfeb64a83
lingo: do not add a basket item to a remote regie (#27854) 2019-11-03 17:27:10 +01:00
Lauréline Guérin a7417488eb
dj2: use set and/or clear method for M2M (#36895)
remove RemovedInDjango20Warning:
Direct assignment to the forward side of a many-to-many set is deprecated due
to the implicit save() that happens.
Use items.set() instead.
2019-10-29 08:35:53 +01:00
Lauréline Guérin ccf99d908f
dj2: is_anonymous and is_authenticated are now properties (#36895)
remove RemovedInDjango20Warning:
Using user.is_authenticated() and user.is_anonymous() as a method is deprecated.
Remove the parentheses to use it as an attribute.
2019-10-29 08:35:46 +01:00
Frédéric Péters 3be27ce16b lingo: make sure eopayment is given a string (#37214) 2019-10-25 10:15:37 +02:00
Frédéric Péters 0f0353266e lingo: redirect to homepage if there's no basket page (#37210) 2019-10-25 09:55:29 +02:00
Frédéric Péters 841d338970 lingo: force json request to be read as text (#35425) 2019-08-18 14:46:57 +02:00
Thomas NOËL ff6878c39d lingo: accept french amount format (#35052) 2019-08-15 10:53:49 +02:00
Emmanuel Cazenave 23f13059d0 lingo: start transaction options (#32967)
Based on the backend capabilities.
2019-05-16 17:53:49 +02:00
Emmanuel Cazenave 1deb29c3bf lingo: make payment related views compliant with PaymentBackend (#32441) 2019-05-15 17:53:26 +02:00
Emmanuel Cazenave 38ba9004eb lingo: don't recompute fees after payment (it was for partial payments) (#32441) 2019-05-15 17:53:26 +02:00
Frédéric Péters cfbf038356 general: use a fake proxy object for unknown local NameIDs (#30723) 2019-03-04 13:42:56 +01:00
Frédéric Péters b5a8e0cda4 misc: monkeypatch user model with a method to get name id (#30723) 2019-03-04 13:42:56 +01:00
Emmanuel Cazenave d40cb57e27 lingo: allow arbitrary date for deferred payment (#27045) 2018-11-05 17:35:06 +01:00
Serghei Mihai a7076e6e18 lingo: handle single basket item payment (#25725) 2018-10-04 11:51:30 +02:00
Serghei Mihai 13bbfa8bf1 lingo: refactor payment view (#25725) 2018-10-04 11:51:30 +02:00
Frédéric Péters 67931d2d78 add compatibility with python 3 (#25486) 2018-07-28 09:55:59 +02:00
Frédéric Péters ff9610ff0d lingo: bail out early if payment return url is called naked (#23652) 2018-05-31 08:55:12 +02:00
Serghei Mihai dbd744e3d2 lingo: add active invoices page url in invoice payment form (#22607) 2018-04-05 10:55:30 +02:00
Frédéric Péters 9d896b4188 lingo: make sure session is saved after lingo_next_url is set (#22933) 2018-04-04 17:19:28 +02:00
Frédéric Péters 3becfdcc87 lingo: always log payment service responses (#22023) 2018-02-21 09:16:33 +01:00
Frédéric Péters de65efc33b lingo: return early if transaction status didn't change (#22022) 2018-02-21 09:12:44 +01:00
Frédéric Péters f860a552c2 lingo: handled signed responses on the return URL (#19709) 2018-02-19 14:36:40 +01:00
Frédéric Péters 60915c7d6d lingo: add support for payment services returning 'WAITING' as status (#19362) 2018-02-01 11:50:24 +01:00
Frédéric Péters dccca6effc lingo: don't crash on anonymous access to cancel view (#20796) 2017-12-20 16:00:26 +01:00
Frédéric Péters 9cc28f57be lingo: check user is logged in before paying basket items (#18267) 2017-11-15 17:21:53 +04:00
Frédéric Péters 9697bc9c7c lingo: handle ACCEPTED payments as being paid (#19934) 2017-11-15 17:21:53 +04:00
Frédéric Péters 79992303d6 lingo: fix logging of known payment response (#19933) 2017-11-07 11:31:29 +01:00
Frédéric Péters 9798ff4259 lingo: do not use assert to check important things (#19929) 2017-11-07 11:31:29 +01:00
Frédéric Péters 055151fc8b lingo: factor items to be paid queryset in a classmethod (#19383) 2017-10-30 14:02:14 +01:00