solidus_inter 1.4.0 → 1.4.2

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: 957754646243516550899ecf9188af8861397cabc81ead4de232a30fc8fae356
4
- data.tar.gz: 1f66bfb313ac868989c798b6fb40be5a93ba5a26991172a3f380ece3e7389687
3
+ metadata.gz: 7d342a577ee7011cff6562506fe07a74aa76eeee37a979b8e5d7240a987598c4
4
+ data.tar.gz: 79f2616643b8aa21851ecd214cf488cc5b99557958316f35ad6b9e9c5a4edd45
5
5
  SHA512:
6
- metadata.gz: f8f297a6e54665c27d67f930cb4c42298c20ee7053cf6a0214aeb0cbb3fbd53bbb5ebf1523e16ada85d95af5fe381d97b2acb011fe3c3758d6c031bd8b88038c
7
- data.tar.gz: 7409e9d3f619b59a8c08fe367502772002a97d1da92f323dc703c5980ab3e8c17be0822c7ba5e3b4aac2ca98f034e0bd6da99fa5bb0839ed8d3536dc385deade
6
+ metadata.gz: a38568c8a99046bd53cd4b2d9faee7bbbf97ab38f08757f58c7d052100b951d8d58bce70b29121d8885010f11050edfb6a357e8da9b483fa8edbf47bb3c3b261
7
+ data.tar.gz: ee3069b31d4e10bf52fe62eb3a4339c50a7c0261f871cdfb4491ec622486979d6d73c305e92b1a80053d0fa9a7c4d2a2acb57ce7e6f294046ea839c0c15eade8
@@ -23,5 +23,9 @@ module SolidusInter
23
23
  def expired?
24
24
  expiration.past?
25
25
  end
26
+
27
+ def retrieve_from_api
28
+ payment_method.find_payment(txid)
29
+ end
26
30
  end
27
31
  end
@@ -0,0 +1 @@
1
+ json.call(payment_source, :id, :txid, :status, :amount, :payer_name, :payer_tax_id)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidusInter
4
- VERSION = "1.4.0"
4
+ VERSION = "1.4.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_inter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - ulysses
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-10-14 00:00:00.000000000 Z
11
+ date: 2024-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: solidus_core