summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_view.js
diff options
context:
space:
mode:
authorJoren Van Onder <jov@odoo.com>2018-02-27 13:49:04 -0800
committerJoren Van Onder <jov@odoo.com>2018-02-28 10:42:18 -0800
commit0060e8685835837959c468185240f68546e40eef (patch)
tree801354002f4489a158c91aff01b2deedb9a9445b /addons/web/static/src/js/views/basic/basic_view.js
parent9049e53d21daf47379471c39504ec1889710fb61 (diff)
[FIX] pos_mercury: don't attempt negative transactions
Normally Vantiv should return an 'Invalid Purchase Amount' error. But sometimes they will process the transaction anyway as if it had a positive amount. We're sure the amount we send is negative. After communicating with Vantiv it's unclear why that sometimes happens. They recommend to explicitly prevent negative charges and to not rely on them throwing an error. Since we have to display an error message to the user anyway we take the opportunity to explain the correct full flow to handle refunds. opw-805302
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_view.js')
0 files changed, 0 insertions, 0 deletions