Skip to content

Commit

Permalink
[IMP] Update manifest version
Browse files Browse the repository at this point in the history
  • Loading branch information
filoquin committed Jan 24, 2023
1 parent 1ee6818 commit f8ad5a6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion payment_mercadopago/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'name': 'Mercado Pago Payment Acquirer',
'category': 'Accounting/Payment Acquirers',
'summary': 'Payment Acquirer: MercadoPago',
'version': "15.0.1.4.1",
'version': "15.0.2.0.0",
'description': """
Mercado pago Payment
===================
Expand Down
2 changes: 0 additions & 2 deletions payment_mercadopago/models/mercadopago_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,6 @@ def payment(self, tx, token=None, form_data={}, cvv=True):

capture, validation_capture_method = self.validation_capture_method(tx, form_data, token)

capture, validation_capture_method = self.validation_capture_method(tx, form_data, token)

values = {
"token": payment_token,
"installments": form_data['installments'] if 'installments' in form_data and form_data['installments'] else 1,
Expand Down
2 changes: 1 addition & 1 deletion payment_mercadopago/models/payment_transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def _mercadopago_tokenize_from_feedback_data(self, data):
card = mercadopago_API.create_customer_card(customer_id, self.mercadopago_tmp_token)
token = self.env['payment.token'].create({
'acquirer_id': self.acquirer_id.id,
'name': payment_utils. (card['last_four_digits']),
'name': payment_utils.build_token_name(card['last_four_digits']),
'acquirer_ref': data['payment_method_id'],
'bin': card['first_six_digits'],
'partner_id': self.partner_id.id,
Expand Down

0 comments on commit f8ad5a6

Please sign in to comment.