diff options
| author | Martin Trigaux <mat@odoo.com> | 2016-01-01 00:00:00 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2015-12-31 15:54:35 +0100 |
| commit | e63cf3c13cedb735627792ea21e4f28edb0591fc (patch) | |
| tree | 3aaca4af2a3af9bc7fc54a136be203952a57b4f8 /addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js | |
| parent | 94a1536ae146a7b3fa2129672665978a4842c5ef (diff) | |
[FIX] payment_buckaroo: handle return data
Fixing several issues in the computation of the sha1 signature:
- Removing BRQ_SIGNATURE parameter was only tested in uppercase.
The parameters returned by Buckaroo are case insensitive and we can not ensure
it will be uppercase. Check all keys instead.
- Sorting should be done case insensitive (e.g. 'AA' before 'bb') but the case
must be preserved in the final string to sign.
- The values returned should be URL decoded before being signed.
The value "J.+de+Tester" should be decoded to "J. de Tester"
- The final string may contain unicode and fail to be used by sha1() method.
Based on Buckaroo Payment Engine 3.0
http://pronamic.nl/wp-content/uploads/2013/04/BPE-3.0-Gateway-HTML.1.02.pdf
Happy New Year Odoo! :tada: :fireworks: :postal_horn:
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions
