diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2018-03-29 17:17:11 +0200 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2018-03-30 09:17:53 +0200 |
| commit | bf2e541c27b613e17b5303d580a70c250d94b3ee (patch) | |
| tree | 790fc6ac18fad1e45d7637f15c64446e725b7e0d /addons/web/static/lib/bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js | |
| parent | b2299fb4ff3ddcd1700535e009429394e2123cf3 (diff) | |
[FIX] payment_stripe: partner info is not mandatory
Before this commit, when accessing the payment page with arbitrary amount
(/website_payment/pay?reference=Testinvoice&amount=150.0¤cy_id=6&country_id=)
A traceback was thrown because the keys concerning the partner were not present in the dictionary
that prepares the values for the form that we send to Stripe
Considering that those info are not mandatory for stripe (although not very good practice -- the more info the better to verify an identity)
we ignore them if not present
After this commit, the public route works fine
OPW 1832164
closes #23948
Diffstat (limited to 'addons/web/static/lib/bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js')
0 files changed, 0 insertions, 0 deletions
