Daily updates from Odoo
Thursday, July 18, 2019
2 changes
New functionality added to Odoo
SMS features are improved across contacts, calendar, and CRM, with better sending behavior, clearer failure messages, and automatic SMS support from server actions. This helps teams communicate with customers more reliably while keeping useful records on related business documents.
Original PR description
PURPOSE Provide fixes to SMS behavior, notably in composer. Better integration in various applications: contacts, calendar, crm. Allow to automatically send SMS from server actions. SPECIFICATIONS See sub commits for more details. Linked to task 1925950 and 1935280
Enhancements to existing features
Stripe payments now use newer checkout and card setup flows to support Strong Customer Authentication required by PSD2. This helps keep online card payments compliant and improves reliability for customers paying through Stripe, with redirection payments recommended as the best-supported flow.
Original PR description
With the PSD2 directive coming into effect on September 14th, it was time to switch our Stripe integration to use newer APIs that support Strong Customer Authentication (SCA for short). This meant…
With the PSD2 directive coming into effect on September 14th, it was time to switch our Stripe integration to use newer APIs that support Strong Customer Authentication (SCA for short). This meant switching from the old stripe.js implementation for 'redirection' flow to the Stripe Checkout API and from the Charge API to the newer SetupIntent API for s2s flows. This feature branch introduce these changes as well as some slight changes in the payment module (mainly functional improvement that were noticed when developing this, nothing major and no change in the flow/model of the basic payment models). Note that the way our checkout flow is built for s2s transactions prevents us from using the PaymentIntent API (which would be a better fit that the SetupIntent in some cases) - to use that API, we would need the payment transaction to be created before the token, which is not the case in our current flows. This will probably be changed in a future task with a more flexible checkout flow. In the mean time, the downside of using SetupIntent instead of PaymentIntent means that from the bank's point of view, the authorization of the card and the payment are 2 different requests - this could lead to a higher rejection rate in SCA flows and possibly to payments that stay 'pending'. There is no way to know for sure before PSD2 goes into full effect though, and this implementation should normally suffice.I would advise using the 'redirection' flow most of the time though, since it is clearly the best fit between Odoo and the Stripe APIs at the moment. Task 1986267