solidus_nexio 0.7.12 → 1.0.0

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: 9f6e80bf97eb02449f87d05da3a00741f120486a911bca4a34304cd2e2270b09
4
- data.tar.gz: 5a68104ae630c8d101018be41462065cf5ba801203a9aee4670b245d73ac221e
3
+ metadata.gz: 98630a0f7ed2bb92152256f89009ba7e0b8ad1acd4f55a7f8d96427613ce96e5
4
+ data.tar.gz: 39ab880ca2a173bf07edeeba6210e07a1bf48e645050a44d2d15405059bdc25e
5
5
  SHA512:
6
- metadata.gz: b056ee92c5971e541cee4e23bb4a3e3df978251994a96096c5e91eadc9b8c302d2329b6ddfa6038925200c753ed37d612439505223bfe5753dd3447bd3ba5849
7
- data.tar.gz: f28c99e54d01f113bd65c8e2c31dfd75f252c680ef69893476d9542013e5208c7369164cfb4d05a9880ed89610696fa4f62d9065e2383a2ff65335a5672e0366
6
+ metadata.gz: 2bf7e1b3ada52ccd2a919fe582c370aa7c297e4ba607849292c34e77a79d1c1298b1cc2cfca04569012d08e4e3d8f814010c4d7f346d95865f2c44de5584ec27
7
+ data.tar.gz: a042039792615938cf38afd62c5eb7eea6d72f4cb88fce7ddd69af5c7089243474c0a555e6c3cc22745271d0366b70eb78e1b39a5c4fe70f58888535090b4c47
@@ -24,7 +24,7 @@ module SolidusNexio
24
24
  return unless response_code.present?
25
25
 
26
26
  transaction = payment_method.gateway.get_transaction(response_code)
27
- unless transaction
27
+ unless transaction&.data.present? && transaction.status.present?
28
28
  error_message = "#{action}: The transaction is not found."
29
29
  record_response(build_response(false, error_message))
30
30
  return
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidusNexio
4
- VERSION = '0.7.12'
4
+ VERSION = '1.0.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_nexio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.12
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Whitespectre
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-05-25 00:00:00.000000000 Z
11
+ date: 2023-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nexio_activemerchant