solidus_nexio 0.7.6 → 0.7.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ffd2c5106817fdccfa214e79b00cb52b71d128cc9ca2dcae270046d53449cf82
4
- data.tar.gz: b562a66001b27de487da7397ada3731d076d653c374ca4099f63da6e828428d5
3
+ metadata.gz: 84d7f24e77ad02681f03100f5ba6a1c5158f2ea1f6896ca86985dc5337b63b7e
4
+ data.tar.gz: 8d2835c43a435267a96b47a25b432557ad355dbc23e895c6e94a2870ac74fbb0
5
5
  SHA512:
6
- metadata.gz: 3973900e3f51764391283f8eb153b1a5347733c5d8ea1a0403f19130c0a46ee20557ddd5f5ab455dc77acca97915476b547c91566d510d479296d541b1193a8a
7
- data.tar.gz: c0e2538c1affd58bb71f9e67bf9c572b5305b900889305d84def6502ba135d6d5b6c743c32d080ba28b081a1e20a8176dcca1e081fb32f99c3caf778bec9383d
6
+ metadata.gz: 324f3ce97218b60403bc66d63a5fac9c2d7367fb37afd5d5eb64c134a55382191b12c27d13124bac93e53bb11e3411fc52e7d2cbca507e5eba12c8fc4d2f4117
7
+ data.tar.gz: 9479d807c03118b282bce63348a385848a42913624909c45f4a3fb653e27fc6c177f45b8579e72d01b4d2cb4df019b18093072fe42254853306b382ad6e71cbd
@@ -22,11 +22,15 @@ module SolidusNexio
22
22
 
23
23
  if payment_method.is_a?(AlternativePaymentMethod)
24
24
  result[:callback_url] ||= capture_payment_method_alternative_payments_url(payment_method)
25
- result[:request_domain] ||= request.domain
25
+ result[:request_domain] ||= request_domain
26
26
  else
27
27
  result.delete(:callback_url)
28
28
  end
29
29
  result
30
30
  end
31
+
32
+ def request_domain
33
+ request.domain(7)
34
+ end
31
35
  end
32
36
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidusNexio
4
- VERSION = '0.7.6'
4
+ VERSION = '0.7.7'
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.6
4
+ version: 0.7.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Whitespectre
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-04-17 00:00:00.000000000 Z
11
+ date: 2023-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nexio_activemerchant