summaryrefslogtreecommitdiff
path: root/addons/payment_authorize/static/src
AgeCommit message (Collapse)Author
2020-10-27[FIX] payment_authorize: make it possible to pay after closing popupJoren Van Onder
Closing the Authorize.net popup with the little "x" doesn't call the responseHandler. Looking at the documentation (and source) of AcceptUI.js it seems there's no clean way to detect this. Because of this the "Pay & Confirm" button remains disabled, requiring the user to refresh the page. To solve this don't disable the button at all. Presumably it was added to avoid issues when spamming the button with clicks on a slow connection. But simulating this with a slow connection doesn't cause any issues. When AcceptJS is not yet loaded it's loaded with web.ajax.loadJS(). It correctly handles parallel calls before loading is finished and returns the same promise. AcceptJS correctly ignores subsequent click events on the button, because it immediately blocks all clicks on the body (and grays it out). Using a MutationObserver was also considered but this approach is much less messy. opw-2367166 closes odoo/odoo#60869 X-original-commit: 63f759b63284efc5fb9f5dc7dfbe4e2aed982ad0 Signed-off-by: jorenvo <jorenvo@users.noreply.github.com>
2020-09-15[FIX] payment_authorize: make it possible to customize AcceptJS paramsJoren Van Onder
Without this you have to overwrite the entire function. closes odoo/odoo#57695 X-original-commit: c2e980c3798c3cf75e4f96b71c7bc81dbad6b78c Signed-off-by: jorenvo <jorenvo@users.noreply.github.com>
2019-08-26[FIX] payment: fix error management in payment formThibault Delavallée
PURPOSE Test frontend and UI tools of eLearning. SPECIFICATIONS Recent commit 5193f0d010f5cd3bf4ccc5c7e39aff3fdacdd111 introduced a tool method to parse errors and ease their management. A variable typo was done by mistake, fixed in this commit. LINKS Task ID 1937768 closes odoo/odoo#36085 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2019-08-16[IMP] payment*: better handling of error messageDamien Bouvy
Sometimes there's a title + content, sometimes not; reading the message itself usually yields a None somewhere which is fugly.
2019-08-12[REF] payment* : state based publishingVictor Feyens
Replace website_published and environment by a generic state on payment.acquirer Payment acquirers aren't enabled by default. When setting their state to 'enabled' or 'test', it is verified the required fields for the provider are set.
2019-08-07[IMP] payment_authorize: integration with accept jsNikunj Ladava
add accept js of authorize.net to make s2s flow pci compliance after clicking on pay now button, one popup display with card inputs popup is provided by a authorize with all validation facilities After submitting details, payment flow is - get the temp token information from authorize - create a token with that temp token information in odoo - make a request to authorize for charge - after successful request, payment will be charged for that card task- 2025821
2015-01-16[ADD] New payment acquirer Authorize.net.Ajay javiya