spree_vpago 2.0.6 → 2.0.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 +4 -4
- data/Gemfile.lock +1 -1
- data/app/models/spree/gateway/vattanac_mini_app.rb +2 -2
- data/app/services/vpago/payment_processor.rb +1 -1
- data/lib/spree_vpago/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb3a7b1fa94262546a09d03510144c9a923d7db5cb13e5bb33cd937f591b7ac9
|
4
|
+
data.tar.gz: 86a1ea9da9aaf8212fc03181ef1c2753fab9fc2f0472f667ef96d86a2043cf02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26fe7fe3afc893375ef4fd84a9c327d8031f62cc808dbb7e1b089a5f3364d8caac9658a9380d77088ecfc4d00cc920d1bf58b1cea28e09da05fd525e6a8b9d93
|
7
|
+
data.tar.gz: d385494623090fa259f2bd827f09be1fe4cf7be96ba19959d988b81f068253377e3c7461cc9868663731eafc5dbf64a8006e9ac89cc2b56a457c8b2c16f5586d
|
data/Gemfile.lock
CHANGED
@@ -59,12 +59,12 @@ module Spree
|
|
59
59
|
[refund_issuer.success?, refund_issuer.response]
|
60
60
|
end
|
61
61
|
|
62
|
-
def cancel(_response_code)
|
62
|
+
def cancel(_response_code, _payment)
|
63
63
|
# we can use this to send request to payment gateway api to cancel the payment ( void )
|
64
64
|
# currently Payway does not support to cancel the gateway
|
65
65
|
|
66
66
|
# in our case don't do anything
|
67
|
-
ActiveMerchant::Billing::Response.new(true, '
|
67
|
+
ActiveMerchant::Billing::Response.new(true, 'Vattanac order has been cancelled.')
|
68
68
|
end
|
69
69
|
end
|
70
70
|
end
|
@@ -55,7 +55,7 @@ module Vpago
|
|
55
55
|
|
56
56
|
def handle_order_process_completed
|
57
57
|
log_process('handle_order_process_completed') do
|
58
|
-
Vpago::PaymentCapturerJob.
|
58
|
+
Vpago::PaymentCapturerJob.perform_later(@payment.id) if @payment.pending?
|
59
59
|
user_informer.order_is_completed(processing: false)
|
60
60
|
end
|
61
61
|
end
|
data/lib/spree_vpago/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_vpago
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- You
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-07-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|