diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2019-06-03 12:56:50 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2019-06-03 13:23:15 +0000 |
| commit | 25155aa47244aa6e8216598be94a4acdfe1f1c07 (patch) | |
| tree | b0c2cacd4ee65d45ed9ef2ff49e96e2875105db0 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | b27077bb0c3977c29597054d6206cea5e4d70265 (diff) | |
[FIX] payment_adyen: empty field
- Activate Adyen
- In the eCommerce, purchase an item
- Change the delivery address
- Pay with Adyen
A internal error is raised.
It is caused by `val.replace(...)` where `val` is `False` ( due to
`shopperEmail`).
We make the code more robust by fallbacking on the billing email, then
on an empty string.
opw-2002974
[1] https://docs.adyen.com/classic-integration/hosted-payment-pages/hpp-payment-response/payment-response-merchantsig-sha-256/
closes odoo/odoo#33840
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
