Commit Graph

100 Commits

Author SHA1 Message Date
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
Frédéric Péters 1e87c3b437 lingo: increase timeout of payment notifications (#18577) 2017-09-12 12:02:40 +02:00
Frédéric Péters 4961ac6bd1 lingo: add management command to retry payment notifications (#6638) 2017-08-18 10:08:05 +02:00
Frédéric Péters 86eaab46d9 lingo: do not hardcode a test key (#17260) 2017-06-29 19:08:02 +02:00
Benjamin Dauvergne 0665cb8bbd lingo: notify remote_item of payments asynchronously (#14627)
In case the remote_item cannot be notified synchronously of a payment, we keep
around a list of items to notify in the Transaction.to_be_paid_remote_items
field. They will be notified by the update_transactions command launched by
cron.
2017-06-18 11:00:46 +02:00
Frédéric Péters a5b4dd37f1 lingo: refactor payment view to make sure extra fees are computed (#16885) 2017-06-18 10:57:53 +02:00
Frédéric Péters 6e616c19fb lingo: fix amount calculation when no regie is specified (#16824) 2017-06-11 16:55:02 +02:00
Frédéric Péters 23b7b294eb lingo: add possibility to compute extra fees (#16065) 2017-05-30 16:38:42 +02:00
Frédéric Péters a013add9ec lingo: remove support for partial payment (#10177) 2017-05-30 16:38:42 +02:00
Frédéric Péters 3668ef26f7 lingo: do not log 404 getting invoice with self declared invoices (#15832) 2017-05-29 13:23:04 +02:00
Frédéric Péters cdd5d6f92b lingo: allow addition of basket items without a source url (#16530) 2017-05-29 13:23:04 +02:00
Frédéric Péters 693e6155cc lingo: change "remove basket item" API to notify on "notify=true" arg (#15798) 2017-04-14 14:36:28 +02:00
Thomas NOËL 8f412c5373 import mellon only if in INSTALLED_APPS (#14474) 2017-01-19 16:28:57 +01:00
Frédéric Péters 14f620a8c3 lingo: include a nice label but no ugly URL for paid invoices (#14323) 2016-12-15 16:22:44 +01:00
Jean-Baptiste Jaillet 578c763a83 lingo: attached BasketItem to transaction (#14023) 2016-12-08 16:46:53 +01:00
Frédéric Péters cd5fb35060 lingo: improve error handling of basket item removal view (#14112) 2016-11-28 19:00:24 +01:00
Jean-Baptiste Jaillet 8e948a6ab3 lingo: allow regie's slug in AddItemBasket regie_id parameter (#13541) 2016-11-14 11:03:23 +01:00
Thomas NOËL 2205f08716 move check_request_signature from lingo to utils (#13912) 2016-11-09 09:47:27 +01:00
Frédéric Péters d107771bba lingo: add cell to self declare and pay invoices (#13492) 2016-10-21 17:19:12 +02:00
Thomas NOËL 005d003292 lingo: get name id from user object instead of session (#13124) 2016-10-21 15:03:30 +02:00
Benjamin Dauvergne 5b86500c5e lingo: use shared service keys for signature checks (#10935) 2016-10-19 16:10:44 +02:00
Jean-Baptiste Jaillet 9779837cb4 lingo: allow invoices anonymous payment (#12637) 2016-10-17 18:01:59 +02:00
Frédéric Péters 699e24f1f4 lingo: make it possible to mark a regie as default (#12758) 2016-09-30 15:13:54 +02:00
Serghei Mihai 11a3fb32fa lingo: pass user first and last names to payment backend (#12451) 2016-09-13 17:48:38 +02:00
Frédéric Péters e7e5da510d lingo: return a 404 in case invoice id can't be decrypted (#12669) 2016-08-29 11:21:28 +02:00
Serghei Mihai 1770833410 lingo: fix downloaded item filename (#12907) 2016-08-24 10:22:02 +02:00
Frédéric Péters 1b6ac4c4b2 lingo: add validation/cancellation endpoints (#12766) 2016-08-23 07:49:19 +02:00
Jean-Baptiste Jaillet af34561673 lingo: encrypt invoice id in URLs (#12669) 2016-07-26 22:40:23 +02:00
Benjamin Dauvergne cb5d94861c lingo: return to homepage in ReturnView when there is no user (fixes #11594) 2016-06-27 15:59:22 +02:00