summaryrefslogtreecommitdiff
path: root/addons/payment_sips/controllers
AgeCommit message (Collapse)Author
2020-08-17[IMP] payment_sips: code improvementsDamien Bouvy
Extend support for all currencies listed in the SIPS documentation, including the decimal numbers per currency. Move this hardcoded data is a less annoying place. Remove unnecessary code (e.g. checking if there is more than one payment with the same reference, which can't happen due to a SQL unique constraint from the payment module). Code clarity while I'm at it. Task-2259942 closes odoo/odoo#51473 Related: odoo/upgrade#1216 Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
2020-04-09[FIX] payment_sips: stop log pollutionDamien Bouvy
SIPS sometimes send empty notifications. I have been unable to find out why or to reproduce the issue; it seems to be linked to a delay on their end since these notifications usually arrive after a customer is redirected back to Odoo (at least on their test account). I'd rather log a warning for those cases (since nothing is wrong on Odoo's side, there's just no info to act upon) instead of a full traceback. closes odoo/odoo#49335 X-original-commit: 100ef1bdb7b90edbeccfa6cd10297acb824b8083 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-02-24[FIX] payment_sips: correct automaticResponse URLDamien Bouvy
The automaticResponseURL should not be the same as the one the customer uses, as this might mess up with the payment processing page when the customer actually returns. Add some logging while I'm here, and remove a useless write on a non-existing field that generates log warnings (but nothing else). closes odoo/odoo#46047 X-original-commit: 2e25ff3b1114a222ae8cff76c2ce8d31adf599e4 Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
2019-07-04[FIX] *: use `auth='public'` in controllers that use `request.env`Raphael Collet
The following trick used to work, because `sudo()` was actually making an environment for the superuser to operate upon: request.env[...].sudo().method(...) It no longer works in general, since `sudo()` now makes an environment in superuser mode but with `uid=None`! It may still work by accident for operations that never use `env.uid`, but is broken in general. Using `auth='public'` fixes the problem by using the public user when no user is available. closes odoo/odoo#34297 Signed-off-by: Olivier Dony (odo) <odo@openerp.com>
2018-09-19[IMP] payment_*: payment acquirers error handlingToufik Benjaa
This commit aims to improve the user experience when using payment acquirers. There currently are no error feedback with some acquirers, which leaves the user wondering what is going on and what is the real status of its payment. In some cases, the user is currently being redirected to the home page even though the payment has failed. We want to make it more obvious to the user that something unexpected has happened by redirecting to an intermediate page that will provide good feedback on payments status. Another goal of this commit is to order acquirers by sequence instead of by flow and to select the first acquirer by default. This feature was already implmented in commit fe294fd43e521bd2d339e962f43acf46c3d4cb97, some UI adaptations were needed though. Related to task #36680 Closes #26958
2017-06-01[MERGE] Forward-port saas-15 up to 17b847c0f67e51279e4c6d53e847d9918b41b7f7Olivier Dony
2017-05-16[MERGE] Forward-port saas-11 up to 6490e652c3742e2752e4ee9f20af78f7e3fcbdbeOlivier Dony
2017-05-16[FIX] l10n_cn*, payment_sips: clarify obsolete licensing infoOlivier Dony
The license info for these modules was a leftover from previous versions. Once integrated in Odoo Community they share the same license as all other modules, as mentioned in the LICENSE notice at the top of the files. opw-743686
2017-04-28[FIX] Various P3-related import changesxmo-odoo
* LDAP import: python-ldap is not python3-compatible, pyldap is Warning: only supported from debian Stretch (current testing)? https://packages.debian.org/search?searchon=names&keywords=pyldap * implicitly relative imports * imports of moved or removed stdlib modules issue #8530
2016-09-09[MERGE] forward port branch saas-12 up to 9f28139Christophe Simonis
2016-09-09[MERGE] forward port branch saas-6 up to f98665fChristophe Simonis
2016-09-06[IMP] payment_*: avoid access error on provider modelRavi Gohil
As provider model is intended to be used internally restricting the read of some private fields to the employee group avoid creating access issues.
2016-07-06[CLN] payment_sips: cleaning and guidelinesThibault Delavallée
As this module is already in new API only small linting is performed.
2015-11-24[FIX] payment_adyen, payment_authorize, payment_buckaroo, payment_paypal, ↵Goffin Simon
payment_sips: Disable csrf on callbacks Inspired from 2099f15d67564ab153d48993cca0f80aee04bb09 opw:653341
2015-09-28[IMP] replace simplejson with stdlib jsonLeonardo Rochael Almeida
The stdlib version of the json library is more recent than the 3.5.3 version we are pinning in `requirements.txt` There is no reason to use it. Closes #6940
2015-07-24[ADD] payment_sipsAristobulo Meneses
contains acquirer definition to support Atos Wordline online payments Courtesy of Eezee-It Closes #6684