solidus_mp_dois 0.0.9 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5ebef0dcf722dda6977b818295e2e6c75800a331541350ce6c429a0ed8cdff39
4
- data.tar.gz: 00c49dc7f47be4986e9d434b728a6a39573e9469b3bd1d4d1ca8dc1de21b4648
3
+ metadata.gz: af7af0b0eec5b6f732de7697f0360f83fb4cf74cf3319614b0bafeeef7f56f9e
4
+ data.tar.gz: e31162734417a48bcfe0c23dd5ba42c1093e7c08a62f8c71fb4ed6ffa9b4119c
5
5
  SHA512:
6
- metadata.gz: 1189962e09a95c85ab5b710c4a1006ccdf14cdc445d187dde3d77393d9a3f7d86fd1829de9cb43bf2aa40c00018a7e17fc62b30b847e021247fe2a164b38d063
7
- data.tar.gz: 47611302eb6cbbd2a3c4c607caf6ca716eb2250fda0d8cf724f393e88afd08f456598ae35c8416c8d7a4aa83a878c6d38448f8475f628700ef33db5ea20df8ea
6
+ metadata.gz: 9880712583da0d8d2076b5310cf7c6741452562544c2fbbffcfffac7f0b5bf2c42fd0f45ce32850f240503f551decea1887f0f47cdbcf220785d8393818b4360
7
+ data.tar.gz: e0c84eec90aa3c64bab0d72ac943053033d60037542c0c4fd050095790d36430ff8dfa4f43199b2a0acf135b0d2684ad9488f4ee0f65027c48447493c49ff80c
@@ -135,7 +135,7 @@ module SolidusMpDois
135
135
  three_ds_creq: mp_payment.three_ds_info_creq,
136
136
  last_four_digits: mp_payment.last_four_digits
137
137
  )
138
- if mp_payment.error || mp_payment.internal_error
138
+ if mp_payment.id.blank? || mp_payment.error || mp_payment.internal_error
139
139
  handle_payment_error(payment, mp_payment)
140
140
  else
141
141
  payment.order.update(email: payment.source.email)
@@ -0,0 +1,5 @@
1
+ pt-BR:
2
+ activerecord:
3
+ models:
4
+ solidus_mp_dois/mp_pix: Pix (Mercado Pago 2)
5
+ solidus_mp_dois/mp_card: Cartão de Crédito (Mercado Pago 2)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_mp_dois
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Todas Essas Coisas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-12 00:00:00.000000000 Z
11
+ date: 2024-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: solidus_brazilian_adaptations
@@ -58,6 +58,7 @@ files:
58
58
  - app/views/spree/admin/payments/source_views/_mercado_pago_pix.html.erb
59
59
  - app/views/spree/api/payments/source_views/_mercado_pago_card.json.jbuilder
60
60
  - app/views/spree/api/payments/source_views/_mercado_pago_pix.json.jbuilder
61
+ - config/locales/pt-BR.yml
61
62
  - db/migrate/20241119165521_create_solidus_mp_dois_credit_card_sources.rb
62
63
  - db/migrate/20241125135226_create_solidus_mp_dois_customers.rb
63
64
  - db/migrate/20241125201926_create_solidus_mp_dois_cards.rb