solidus_mp 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/solidus_mp/mp_card.rb +1 -1
- data/lib/solidus_mp/version.rb +1 -1
- data/solidus_mp.gemspec +3 -3
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cef0f755b4ab80066b91807e811ed579ea52bb59745616a478bef4d20814fcfb
|
4
|
+
data.tar.gz: 826957755087e298309cc41aaef64b9d3bb7085804feb08d1cd67ecab2e65a69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6e79043acd0699682e1feba07d2d39a5fbcf22259b9acacf54698eb26efa89163fce7f1a531090adea6eb64ff4bcc05db388443e7f66d51beda9757ccd2425e
|
7
|
+
data.tar.gz: d2f58ca88360e1b9d74003c826d7808e0cabb16eaa550377d76d473370ba7c15df4776a9ce9edd8dad36ebb7a6952deb5168042e67e54d6ccfa347dba9618989
|
@@ -22,7 +22,7 @@ module SolidusMp
|
|
22
22
|
payment.source.update(external_id: mp_payment.id, three_ds_url: mp_payment.three_ds_info_external_resource_url, three_ds_creq: mp_payment.three_ds_info_creq)
|
23
23
|
if mp_payment.error || mp_payment.internal_error
|
24
24
|
payment.invalidate
|
25
|
-
error_message = mp_payment.error || mp_payment.internal_error
|
25
|
+
error_message = "#{mp_payment.error || mp_payment.internal_error} (#{mp_payment.status_detail})"
|
26
26
|
response = failure_response(error_message)
|
27
27
|
payment.log_entries.create!(parsed_payment_response_details_with_fallback: response)
|
28
28
|
payment.source.update(error_message: mp_payment.error || "Ocorreu um erro ao criar o pagamento.", status: "error")
|
data/lib/solidus_mp/version.rb
CHANGED
data/solidus_mp.gemspec
CHANGED
@@ -10,12 +10,12 @@ Gem::Specification.new do |spec|
|
|
10
10
|
|
11
11
|
spec.summary = ''
|
12
12
|
spec.description = ''
|
13
|
-
spec.homepage = 'https://github.com/CaioGarcia1/'
|
13
|
+
spec.homepage = 'https://github.com/CaioGarcia1/solidus_mp'
|
14
14
|
spec.license = 'BSD-3-Clause'
|
15
15
|
|
16
16
|
spec.metadata['homepage_uri'] = spec.homepage
|
17
|
-
spec.metadata['source_code_uri'] = 'https://github.com/CaioGarcia1/'
|
18
|
-
spec.metadata['changelog_uri'] = 'https://github.com/CaioGarcia1/'
|
17
|
+
spec.metadata['source_code_uri'] = 'https://github.com/CaioGarcia1/solidus_mp'
|
18
|
+
spec.metadata['changelog_uri'] = 'https://github.com/CaioGarcia1/solidus_mp'
|
19
19
|
|
20
20
|
spec.required_ruby_version = Gem::Requirement.new('>= 2.5', '< 4')
|
21
21
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: solidus_mp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- caio
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01-
|
11
|
+
date: 2024-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: solidus_core
|
@@ -132,13 +132,13 @@ files:
|
|
132
132
|
- spec/models/solidus_mp/card_payment_source_spec.rb
|
133
133
|
- spec/models/solidus_mp/pix_payment_source_spec.rb
|
134
134
|
- spec/spec_helper.rb
|
135
|
-
homepage: https://github.com/CaioGarcia1/
|
135
|
+
homepage: https://github.com/CaioGarcia1/solidus_mp
|
136
136
|
licenses:
|
137
137
|
- BSD-3-Clause
|
138
138
|
metadata:
|
139
|
-
homepage_uri: https://github.com/CaioGarcia1/
|
140
|
-
source_code_uri: https://github.com/CaioGarcia1/
|
141
|
-
changelog_uri: https://github.com/CaioGarcia1/
|
139
|
+
homepage_uri: https://github.com/CaioGarcia1/solidus_mp
|
140
|
+
source_code_uri: https://github.com/CaioGarcia1/solidus_mp
|
141
|
+
changelog_uri: https://github.com/CaioGarcia1/solidus_mp
|
142
142
|
post_install_message:
|
143
143
|
rdoc_options: []
|
144
144
|
require_paths:
|