Thursday, August 29, 2024
1 change · 17.0
Resolved issues and error corrections
Odoo now verifies the actual Mercado Pago payment result before accepting a terminal payment. This prevents rejected card payments from being mistakenly recorded as successful, improving payment accuracy at checkout.
Original PR description
There is an issue where the Mercado Pago terminal rejects a card payment, but Odoo accepts the payment. This is caused by a quirk in the Mercado Pago API, where the payment intent status is "FINISHED" despite the payment status being "rejected". This PR fixes the issue by checking the payment status explicitly by calling the API. task-4097968 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr