solidus_nexio 0.6.1 → 0.6.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: 2213377672f3f17feec2941a41286ecc363aafa6e42ec975ca1a14eaee2bdb81
4
- data.tar.gz: 05e52353b5a8c5610632b299fa68a5110722112f77f36d820e74bc6ba2cd3765
3
+ metadata.gz: 54a749f074f00d2e99eb7450cf4e7f4f6fb781a8213820460f7e5a42fb4fac61
4
+ data.tar.gz: 2073407682278cb6cb3eca521e813ec0773b1bb27619020845b9e2b12ec87b85
5
5
  SHA512:
6
- metadata.gz: e563e4eeade044b8d68ce57f7f49d480e28c65a6cada15704654ac972af35da7042d41a8d2142115a87d2f511635c0c360a902c55a1c024d355ec57db814688a
7
- data.tar.gz: 27148b10ec9868223c17d4d85c8ca0852da32b6eea219449b561f6af318ab151d34b82e86867fb53ac27b7d97e94c86e7084b2fb8a1af523be642df29bb30a43
6
+ metadata.gz: 15a197c05be7eb345918b80abaa3301370299d6d62ec732d631c3c66778751d14aa3d7db01b480128405b16bdd2c0081cfca62a0ce2738de03c6e2ef53a3fc69
7
+ data.tar.gz: a3c212b8846b6136587faf4d9476e71337dfc7e499115b29551525b4534dca7a6f873cacbc7f1552017d3555b13c4872094317086704b65f674229aac1abd963
@@ -8,7 +8,8 @@ module SolidusNexio
8
8
  end
9
9
 
10
10
  def capture
11
- payment = payments_scope.find_by(number: params[:payment_id])
11
+ # TODO: figure out how get current order as capture runs in iframe which doesn't have cookie session
12
+ payment = payment_method.payments.find_by(number: params[:payment_id])
12
13
  if payment
13
14
  @result = payment_method.capture_order_payment(payment, params[:id], params[:status])
14
15
  render :capture, layout: false
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidusNexio
4
- VERSION = '0.6.1'
4
+ VERSION = '0.6.2'
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.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Whitespectre
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-11-16 00:00:00.000000000 Z
11
+ date: 2021-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nexio_activemerchant