solidus_mp_dois 0.0.9 → 0.0.10

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: 178259d38b6413449dc7d4f0df785f248e9ac579fcdbf428cc56882a00a20e6f
4
+ data.tar.gz: fecdeef3e4935aef13b13e15a888068c87c6bb6748643087a7b031ccbb7e2cb2
5
5
  SHA512:
6
- metadata.gz: 1189962e09a95c85ab5b710c4a1006ccdf14cdc445d187dde3d77393d9a3f7d86fd1829de9cb43bf2aa40c00018a7e17fc62b30b847e021247fe2a164b38d063
7
- data.tar.gz: 47611302eb6cbbd2a3c4c607caf6ca716eb2250fda0d8cf724f393e88afd08f456598ae35c8416c8d7a4aa83a878c6d38448f8475f628700ef33db5ea20df8ea
6
+ metadata.gz: 85b065cda5275d9cce69b05a549c5ab4433b141632b490839e6df32936bdbe2d65cc7c5cfd2cb0e1567cc5051d883c759a9bbbde94505308b741b835ab4e6453
7
+ data.tar.gz: c3d92e0d9eee8ccede549f39584487c2d7742227ec65225db701b7d2b5d5c257ae5e4b2c660426549cc6479a6b3a7a12dfd7d7c3fb427d4cd580937dbe69735b
@@ -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)
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.10
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-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: solidus_brazilian_adaptations