Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] payment_authorize: Handle cc_expiry autocomplete
Issue - Save a credit card in chrome - Install "Ecommerce" module - Activate/Publish "Authorize.net" payment acquirer - Set the "Payment Flow" field to "Payment from Odoo" - Save and go to front end shop - Add any product to cart and go to checkout process - Chose Authorize.net as payment mode - Fill with autocompletition the credit card form Error message: "e.g. Your credit card details are wrong. Please verify." Cause It will not validate the expiry date if it has 4 digits number as year. Solution Handle year date with datetime library: it allows to set 2 or 4 digits number as year. opw-2239065 closes #52037 X-original-commit: e99044a Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@odoo.com> Signed-off-by: bon-odoo <nboulif@users.noreply.github.com>
- Loading branch information